Re: [AS] Getting some Finder windows properties under 10.4.6...
Re: [AS] Getting some Finder windows properties under 10.4.6...
- Subject: Re: [AS] Getting some Finder windows properties under 10.4.6...
- From: Emmanuel <email@hidden>
- Date: Fri, 21 Apr 2006 17:14:22 +0200
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.
Emmanuel
_______________________________________________
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