• 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: Plist entry
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Plist entry
      • From: Shane Stanley <email@hidden>
    • Re: Plist entry
      • From: KOENIG Yvan <email@hidden>
References: 
 >Plist entry (From: Michael Ghilissen <email@hidden>)
 >Re: Plist entry (From: Axel Luttgens <email@hidden>)
 >Re: Plist entry (From: Michael Ghilissen <email@hidden>)
 >Re: Plist entry (From: Axel Luttgens <email@hidden>)
 >Re: Plist entry (From: Michael Ghilissen <email@hidden>)
 >Re: Plist entry (From: Axel Luttgens <email@hidden>)
 >Re: Plist entry (From: Luther Fuller <email@hidden>)
 >Re: Plist entry (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: Editing Lists of LISTS
  • Next by Date: Re: Plist entry
  • Previous by thread: Re: Plist entry
  • Next by thread: Re: Plist entry
  • Index(es):
    • Date
    • Thread