• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Automating with Applescript!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Automating with Applescript! (From: Cerciello <email@hidden>)
 >Re: Automating with Applescript! (From: Cerciello <email@hidden>)
 >Re: Automating with Applescript! (From: Cerciello <email@hidden>)

  • Prev by Date: Re: Automating with Applescript!
  • Next by Date: Re: Automator actions in C?
  • Previous by thread: Re: Automating with Applescript!
  • Next by thread: Automator actions in C?
  • Index(es):
    • Date
    • Thread