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

Re: label index


  • Subject: Re: label index
  • From: KOENIG Yvan <email@hidden>
  • Date: Fri, 17 Feb 2012 18:47:25 +0100


Le 17 févr. 2012 à 17:52, Luther Fuller a écrit :

I've just noticed that this works ...

tell application "Finder"
make new folder at (path to desktop) with properties {name:"TEST FOLDER", label index:2, comment:"some text"}
set label index of the result to 2
end tell

But, this does NOT work ...

tell application "Finder"
make new folder at (path to desktop) with properties {name:"TEST FOLDER", label index:2, comment:"some text"}
end tell

It should work, but it fails to set the label index of the new folder to red.
Has anyone noticed this? Is there a bug here?

I don't know if it's a bug.

As I'm lazy, I code :

tell application "Finder"
make new folder at (path to desktop) with properties {name:"TEST FOLDER", comment:"some text"}
set label index of the result to 2
end tell

Yvan KOENIG (VALLAURIS, France) vendredi 17 février 2012 18:11:46


 _______________________________________________
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

References: 
 >label index (From: Luther Fuller <email@hidden>)

  • Prev by Date: label index
  • Next by Date: Re: label index
  • Previous by thread: label index
  • Next by thread: Re: label index
  • Index(es):
    • Date
    • Thread