Re: Folder Action to create Archive
Re: Folder Action to create Archive
- Subject: Re: Folder Action to create Archive
- From: Eric Geoffroy <email@hidden>
- Date: Fri, 11 Mar 2005 10:43:12 -0800
Starting with one of the vanilla folder action scripts provided by Apple "Add new item alert", add a few lines like this:
on adding folder items to this_folder after receiving added_items
blah, blah
added_items
set pf to POSIX path of added_items
do shell script ("zip " & (quoted form of pf)
Do something with the results.
blah, blah
I'm sorry that's a little sloppy. I'm not all that great at scripting, but I didn't see any other replies so I figured I'd try to help.
On Mar 10, 2005, at 11:30 PM, Todd Geist wrote:
Hello,
I would like to create a Folder Action Script that takes what ever Folder or
file is dropped into the folder and creates a zip archive from it.
Can anybody point me at some examples of how this might be done?
Thanks
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden