• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Ultra Newbie question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ultra Newbie question


  • Subject: Re: Ultra Newbie question
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 1 Dec 2003 15:05:30 -0700

On Dec 1, 2003, at 2:32 PM, Lawrence Conley wrote:

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"
make new folder at desktop with properties {name:"My Amazing New Folder"}
end tell

"path to desktop" will return the current user's desktop. Also, there's no need to name it Untitled Folder and then rename it; you can name it directly.

--Michelle

--
"I'll do the best I can do because that's the best I can do!"
_______________________________________________
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.

References: 
 >Ultra Newbie question (From: Lawrence Conley <email@hidden>)

  • Prev by Date: Re: Ultra Newbie question
  • Next by Date: Re: Ultra Newbie question
  • Previous by thread: Re: Ultra Newbie question
  • Next by thread: Re: Ultra Newbie question
  • Index(es):
    • Date
    • Thread