Ultra Newbie question
Ultra Newbie question
- Subject: Ultra Newbie question
- From: Lawrence Conley <email@hidden>
- Date: Mon, 01 Dec 2003 13:32:13 -0800
Hi, All:
I'm studying Applescript hard for the first time and am writing scripts to
get my hands dirty and just learn by doing. I wrote the following simple
script to create a folder on my desktop and then give it a name. The trouble
is, I want to modify the script so that it will perform the intended
functions on ANYONE'S desktop but am having a difficult time figuring out a
correct "set path" statement that will allow the script to create the folder
in the CURRENT USER'S Desktop folder on anyone's machine. Any ideas? All
feedback will be most appreciated.
tell application "Finder"
activate
make new folder at folder "Desktop" of folder "larry" of folder "Users"
of startup disk with properties {name:"untitled folder"}
set name of folder "untitled folder" of folder "Desktop" of folder
"larry" of folder "Users" of startup disk to "My Amazing New Folder"
end tell
Thanks,
Larry
_______________________________________________
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.