Re:Re: [AS] Getting some Finder windows properties under 10.4.6
Re:Re: [AS] Getting some Finder windows properties under 10.4.6
- Subject: Re:Re: [AS] Getting some Finder windows properties under 10.4.6
- From: Emile Schwarz <email@hidden>
- Date: Sat, 22 Apr 2006 14:43:49 +0200
email@hidden wrote:
Subject: Re: [AS] Getting some Finder windows properties under 10.4.6...
To: AppleScript Users List <email@hidden>
Message-ID: <p06002001c06ea69ae667@[10.0.1.3]>
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
At 11:31 AM +0200 4/20/06, Emile Schwarz wrote:
get id of every window
{35, 16, 37, 5, 18, 14, 4, 3, 6, 7, 9, 10, 11, 12, 13}
I get an error for window id: 35, 16, 37, but not 5:
return name of window 5 -- returns me the name of an actually open
Finder folder...
Emile, I'm afraid you're the victim of a confusion. "id" is not
"index". "window 5" means "the fifth window", or "window whose index
is 5". For the window whose id is, say, 35, you have to write:
window id 35
ids are unique and persistent, it's the only way to store a
non-ambiguous representation of an object.
indexes may vary or not, depending on the application. Usually
"window 1" means the front window, obviously that's variant.
Thanks for the answer.
Sometimes (I feel that) I walk a mile beside (more or less outside of) my shoes ;)
Emile
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden