Re: Plist entry
Re: Plist entry
- Subject: Re: Plist entry
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 19 Jan 2008 14:39:51 -0800
- Thread-topic: Plist entry
On 1/19/08 12:45 PM, "KOENIG Yvan" <email@hidden> wrote:
> The script posted by Luther Fuller doesn't try to create a property
> list file.
> It just try to create a new folder on the desktop and it fails too
> under 10.5.1.
>
> Under 10.4.1:
>
> tell current application
> path to desktop
> alias "Macintosh HD:Users:yvankoenig:Desktop:"
> end tell
> tell application "System Events"
> make new folder at alias "Macintosh HD:Users:yvankoenig:Desktop:"
> with properties {name:"ATEST"}
> "Erreur dans System Events : NSArgumentsWrongScriptError"
>
> Under 10.5.1 the error message is slightly different (but the
> macIntel running 10.5 is already switched off).
At least in Tiger, you can't create folders by System Events. Do it by
telling the Finder. (I think System Events can do a lot more in Leopard -
perhaps make folders, too. I don't have Leopard yet, to test.)
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden