Re: Plist entry
Re: Plist entry
- Subject: Re: Plist entry
- From: Luther Fuller <email@hidden>
- Date: Sat, 19 Jan 2008 12:42:08 -0600
On Jan 19, 2008, at 10:33 AM, Axel Luttgens wrote:
On 19/01/08 16:34, Luther Fuller wrote:
[...]
BTW, I've never used 'make new property list file ...'. Or, if I
did, I may have had a problem. I don't recall clearly. Does your
use work w/o error?
To be honest, I just changed Michael's code:
set this_plistfile to make new property list file with
properties {contents:parent_dictionary, name:plistfile_path}
into:
make new property list file with properties {name:"~/Desktop/
Cookies.plist", contents:NewPL}
without thinking further.
Indeed, it worked here with Leopard.
But just tried now on Tiger, and it doesn't work very well...
When I tried the following code in Tiger telling the Finder, it
worked as expected, but ...
set deskAlias to (path to desktop folder) as alias
tell application "System Events"
make new folder at deskAlias with properties {name:"ATEST"}
end tell
resulted in ... System Events got an error: NSArgumentsWrongScriptError
Something seems to be wrong with System Event's 'make' command in Tiger.
_______________________________________________
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