• 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: 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

  • Follow-Ups:
    • Re: Plist entry
      • From: Michael Ghilissen <email@hidden>
References: 
 >Re: Plist entry (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Editing Lists of LISTS
  • Next by Date: Re: INDESIGN: Object Style Preference Not Holding Between Launches
  • Previous by thread: Re: Plist entry
  • Next by thread: Re: Plist entry
  • Index(es):
    • Date
    • Thread