MACSCRPT Archives

May 2003

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 7 May 2003 08:56:49 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (48 lines)
On Wednesday, May 7, 2003, at 03:24  AM, John Baltutis wrote:

> On 5/6/03,  Mark Lively <[log in to unmask]> wrote:
>>
>> Finders dictionary in OS X (10.2.5) says I can say
>>
>> tell application "Finder"
>>         get label index of file (choose file)
>> end tell
>>
>
> Really?
>
> The OS X 10.2.5 Finder dictionary says:
>
> Class label: (NOT AVAILABLE YET) A Finder label (name and color)
> Properties:
>         name  Unicode 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
>
> Class preferences: (NOT AVAILABLE, SUBJECT TO CHANGE) The Finder
> Preferences
> Elements:
>         label by numeric index, by name
>
Ah but it also says...

Class item: An item
Plural form:
        items
Properties:
        name  Unicode text  -- the name of the item
[...]
        bounds  bounding rectangle  -- the bounding rectangle of the item (can
only be set for an item in a window viewed as icons or buttons)
        label index  integer  -- the label of the item
        locked  boolean  -- Is the file locked?
[...]

Maybe if I use the raw event code...

-Mark
Who thinks this conversation is starting to feel like an argument
between Jesuits or Rabbis

ATOM RSS1 RSS2