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

label index integer values


  • Subject: label index integer values
  • From: "emile.a.schwarz" <email@hidden>
  • Date: Tue, 07 Aug 2012 09:55:50 +0200 (CEST)

Hi all,

 

since the dictionary / docuentation is scarce on the subject and because I needed them, here are the (current) 8 values for label index (far below) and the script I use to get them:

 

tell application "Finder"
    -- Keyboard shortcut
    set fw to front window
   
    -- set the label to orange (France / French)
    set label index of item 1 of fw to 1
   
    -- User report
    return properties of item 1 of fw
end tell

 

 

The color names are in French. I do not know if that matters.

label index values:
    Blanc:      0
    Orange:    1
    Rouge:     2
    Jaune:     3
    Bleu:       4
    Violet:     5
    Vert:       6
    Gris:       7
   
HTH,

 

Emile

 _______________________________________________
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

  • Prev by Date: make new folder … {…,label index}
  • Next by Date: Re: make new folder … {…,label index}
  • Previous by thread: Re: make new folder … {…,label index}
  • Next by thread: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Index(es):
    • Date
    • Thread