Re: Automating with Applescript!
Re: Automating with Applescript!
- Subject: Re: Automating with Applescript!
- From: Ben Waldie <email@hidden>
- Date: Wed, 28 Oct 2009 14:11:27 -0400
On Oct 28, 2009, at 1:59 PM, Cerciello wrote:
Yes I tryed and got the some error. I think the token can be " rm -
rf " as automator marked like a kind of wrong spelling but I can' t
see what wrong with them as they work in terminal.
Try escaping the \ character, i.e. \\
So, your script would look like this...
do shell script "cd " & this_path & "find . -exec unzip -o {} \\; & rm
-rf __MACOSX;"
Also, I know you're running this within Automator, but you can also
post AppleScript-related questions to the AppleScript Users Mailing
list <http://lists.apple.com/mailman/listinfo/applescript-users>.
Regards,
-Ben
Ben Waldie
President
Automated Workflows, LLC
484.744.1831
=============================================
AppleScript * Automator * Workflow Automation
Products, Training, Custom Development Services
<http://www.automatedworkflows.com>
<http://twitter.com/applescriptguru>
=============================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden