Re: App switcher in OS 9
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. |
----------------------------------------------------------------------