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

Re: set index of folder


  • Subject: Re: set index of folder
  • From: Michelle Steiner <email@hidden>
  • Date: Tue, 06 Sep 2011 10:47:21 -0700

Hey there, on Tue Sep 6 09:58:00 2011, Axel Luttgens wrote the following interesting missive:

> That's because you are trying to set the label index of a string...
>
> Going further with Yvan's proposal:
>
> 	set f to ((path to desktop as text ) & "Scans ƒ") as alias
> 	tell application "Finder"
> 		set the label index of f to 3
> 	end tell
>
> or, making use of the Finder's way to refer disk items:
>
> 	tell application "Finder"
> 		set label index of folder "Scans ƒ" of desktop to 3
> 	end tell

None of that will work.

label n : (NOT AVAILABLE YET) A Finder label (name and color)
properties
name (text) : the name associated with the label
index (integer) : the index in the front-to-back ordering within its container
color (RGB color) : the color associated with the label

-- Michelle

--
"That boy ain't got no culture. You talk about Dylan, and he think you're talking about Dylan Thomas."

 _______________________________________________
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: set index of folder
      • From: Robert Poland <email@hidden>
References: 
 >set index of folder (From: Robert Poland <email@hidden>)
 >Re: set index of folder (From: KOENIG Yvan <email@hidden>)
 >Re: set index of folder (From: Robert Poland <email@hidden>)
 >Re: set index of folder (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: set index of folder
  • Next by Date: Re: set index of folder
  • Previous by thread: Re: set index of folder
  • Next by thread: Re: set index of folder
  • Index(es):
    • Date
    • Thread