• 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: Creating a folder on the desktop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a folder on the desktop


  • Subject: Re: Creating a folder on the desktop
  • From: Sander Tekelenburg <email@hidden>
  • Date: Wed, 7 Sep 2005 00:03:21 +0200

At 21:19 +0200 UTC, on 2005/09/06, Wayne Melrose wrote:

[...]

>Patrick, if you are comfortable with unix commands, why not..
>
> do shell script "mkdir ~/Desktop/newfolder/"

Because that doesn't return you a reference.

Compare:

set newFolder to do shell script "mkdir ~/Desktop/newfolder/"
log newFolder

with:

tell application "Finder"
	set newFolder to make new folder at desktop
end tell
log newFolder


--
Sander Tekelenburg, <http://www.euronet.nl/~tekelenb/>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Creating a folder on the desktop (From: Andrew Oliver <email@hidden>)
 >Re: Creating a folder on the desktop (From: patrick machielse <email@hidden>)
 >Re: Creating a folder on the desktop (From: Christopher Nebel <email@hidden>)
 >Re: Creating a folder on the desktop (From: Wayne Melrose <email@hidden>)

  • Prev by Date: Re: Creating a folder on the desktop
  • Next by Date: Re: Setting Mail's IMAP path prefix using AppleScript
  • Previous by thread: Re: Creating a folder on the desktop
  • Next by thread: Re: Creating a folder on the desktop
  • Index(es):
    • Date
    • Thread