• 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: App switcher in OS 9
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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/


  • Prev by Date: Scheduling script execution
  • Next by Date: Re: App switcher in OS 9
  • Previous by thread: Re: App switcher in OS 9
  • Next by thread: Re: App switcher in OS 9
  • Index(es):
    • Date
    • Thread