• 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: Unknown token in do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unknown token in do shell script


  • Subject: Re: Unknown token in do shell script
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 09 Mar 2012 10:11:12 +1100

On 09/03/2012, at 8:13 AM, Iurista GmbH wrote:

> But also Doug's solution (do shell script quoted form of "diskutil unmount /Volumes/myDisk Leo") does not work...

There's no point quoting the whole command. try this:

do shell script "diskutil unmount " & quoted form of "/Volumes/myDisk Leo"

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Follow-Ups:
    • Re: Unknown token in do shell script
      • From: Iurista GmbH <email@hidden>
    • Re: Unknown token in do shell script
      • From: Doug McNutt <email@hidden>
References: 
 >Re: Unknown token in do shell script (From: Iurista GmbH <email@hidden>)

  • Prev by Date: Re: Unknown token in do shell script
  • Next by Date: Re: Unknown token in do shell script
  • Previous by thread: Re: Unknown token in do shell script
  • Next by thread: Re: Unknown token in do shell script
  • Index(es):
    • Date
    • Thread