Re: getting the date, next question
Re: getting the date, next question
- Subject: Re: getting the date, next question
- From: Christopher Stone <email@hidden>
- Date: Wed, 31 Dec 2003 12:06:48 -0600
At 12:04 -0500 12/31/2003, Simon Kidd wrought:
make new folder at folder "Documents" of folder "Toby" of folder "Users"
of disk "PowerMac_HD" with properties {name:foldername}
...
I now want the script to move something into the new folder, but how do
I refer to the new folder if I dont know its name? Something like:
______________________________________________________________________
Hello Simon,
Okay, Michelle showed you how to turn the "make new folder" event into a
reference.
Now, since you're using the documents folder there is an easier way to
refer to it (and many other commonly used folders):
set fldrNameStr to "A_New_Folder"
tell application "Finder"
set nf to make new folder at (path to documents folder from user
domain) with properties {name:fldrNameStr}
end tell
Scope out "path to" in the Standard Additions osax dictionary.
Chris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.