• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 30 Apr 2001 08:22:30 -0700

On 4/29/01 11:46 PM, David Thorp <email@hidden> wrote:

>What I then want to do is get those two number separately. How do you
>reference separate items in a list like this? I thought that to get them I
>would then just type:
>
> 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 have the same problem. However, if I set a variable to position of
palette, I can get it to work properly.

tell application "Application Switcher"
--set x to (item 1 of (position of palette)) --generates error if not
commented out
--set y to item 2 of position of palette --generates error if not
commented out
set z to position of palette
set x to item 1 of z --may be done outside the tell block
end tell

>Even if I try:
>
> set x to item 1 of {1,999}
> set y to item 2 of {1,999}
>
>It gives me error messages.

I had no problem with that.

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: Finding default browser with AS
  • Next by Date: URL Access Scripting
  • Previous by thread: Re: App switcher in OS 9
  • Next by thread: Re: App switcher in OS 9
  • Index(es):
    • Date
    • Thread