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
silly question from a newbie (AppleScript)
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="xstep" data-source="post: 803509" data-attributes="member: 11647"><p>A quick test showed that Applescript is set to the root ('/') directory. Well, at least when I post a 'do shell script ' command.</p><p></p><p>You either will have to use a full path, or set the path relative to something like your home directory. If relative to your home directory, then try placing '~/' before the directory like this; </p><p style="margin-left: 20px">save document 1 in "~/directory/name.html"</p></blockquote><p></p>
[QUOTE="xstep, post: 803509, member: 11647"] A quick test showed that Applescript is set to the root ('/') directory. Well, at least when I post a 'do shell script ' command. You either will have to use a full path, or set the path relative to something like your home directory. If relative to your home directory, then try placing '~/' before the directory like this; [INDENT]save document 1 in "~/directory/name.html"[/INDENT] [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
silly question from a newbie (AppleScript)
Top