Re: App switcher in OS 9
Re: App switcher in OS 9
- Subject: Re: App switcher in OS 9
- From: "Arthur J Knapp" <email@hidden>
- Date: Mon, 30 Apr 2001 12:19:53 -0400
>
Date: Mon, 30 Apr 2001 16:46:24 +1000
>
Subject: App switcher in OS 9
>
From: David Thorp <email@hidden>
>
tell application "Application Switcher"
>
set position of palette to lower left
>
get position of palette
>
The result is two numbers separated by a comma and all that in curly
>
brackets. Eg's:
>
>
The result on my cinema display is {1,999}
>
The result on my powerbook G3 (firewire) is {1, 743}.
>
set x to item 1 of (position of palette)
>
set y to item 2 of (position of palette)
>
But it won't let me get the separate items.
I know from my brief QuarkXPress scripting days that sometimes
a list isn't actually a list. Try an explicit coercion:
set x to item 1 of ((position of palette) as list)
set y to item 2 of ((position of palette) as list)
Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden
Hey, check out:
http://home.earthlink.net/~eagrant/