[OSX-Users] Applescript help?
Julian Field
Jules at ecs.soton.ac.uk
Sun May 17 21:05:53 BST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am trying to add a folder action to automatically do the following
when I add a file to a folder:
tr -d '\\34' < added_item | cut -d, -f2,1,12 | tr ',' ' ' | grep -v
Timestamp
and append the result to a fixed filename in the directory.
I have found "do shell script" but I can't seem to get the filename of
the added_item. I started from the add_items.scpt file which uses
added_items but I cannot get the "POSIX path of" the first added_item in
the list.
Anyone out there who can help me please?
Thanks!
Jules
- --
Julian Field MEng MBCS CITP CEng
Jules at ecs.soton.ac.uk
Teaching Systems Manager
Electronics& Computer Science
University of Southampton
SO17 1BJ, UK
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
Follow me at twitter.com/JulesFM
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.10.0 (Build 500)
Comment: Use PGP or Thunderbird Enigmail to verify this message
Charset: ISO-8859-1
wj8DBQFKEG4yEfZZRxQVtlQRArU1AJoCyUS3zA6Z/yDOii7GMK8ZInvOsgCg+QON
T4rorxyFwko/eGRAYIFaesA=
=CLFx
-----END PGP SIGNATURE-----
More information about the Osx-users
mailing list