Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
AppleScript issue
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1444767" data-attributes="member: 211556"><p>As vansmith has eluded too, you have three quotation marks, and also</p><p>a backslash before Volumes, that should be a forward slash.</p><p></p><p>Try something like this.</p><p></p><p>[CODE]</p><p>set myVolume to "bob"</p><p>do shell script "diskutil unmount /Volumes/" & myVolume</p><p>[/CODE]</p><p></p><p>Regards Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1444767, member: 211556"] As vansmith has eluded too, you have three quotation marks, and also a backslash before Volumes, that should be a forward slash. Try something like this. [CODE] set myVolume to "bob" do shell script "diskutil unmount /Volumes/" & myVolume [/CODE] Regards Mark [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
AppleScript issue
Top