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="huntson" data-source="post: 1443464" data-attributes="member: 270980"><p>I am fairly new to AppleScript and need some help with the following line:</p><p></p><p></p><p>do shell script "diskutil unmount \"Volumes/" & bob</p><p></p><p></p><p>Bob is the variable of the name of the volume I want to pass to the shell script. No matter how I do it - I cannot get the end of the line correct in terms of quotes.* I get the following error in its current state </p><p></p><p>sh: -c: line 0: unexpected EOF while looking for matching `"'</p><p>sh: -c: line 1: syntax error: unexpected end of file</p></blockquote><p></p>
[QUOTE="huntson, post: 1443464, member: 270980"] I am fairly new to AppleScript and need some help with the following line: do shell script "diskutil unmount \"Volumes/" & bob Bob is the variable of the name of the volume I want to pass to the shell script. No matter how I do it - I cannot get the end of the line correct in terms of quotes.* I get the following error in its current state sh: -c: line 0: unexpected EOF while looking for matching `"' sh: -c: line 1: syntax error: unexpected end of file [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
AppleScript issue
Top