Re: reposition popup window [was Newbies Question...]
Re: reposition popup window [was Newbies Question...]
- Subject: Re: reposition popup window [was Newbies Question...]
- From: Andy Wylie <email@hidden>
- Date: Sun, 24 Feb 2002 00:44:55 +1300
on 23/2/02 7:34 PM, Jon Pugh at email@hidden wrote:
>
At 3:14 PM +1300 2/23/02, Andy Wylie wrote:
>
> set aWind to (choose from list (get name of windows of application
>
> "Finder"))
>
> tell application "Finder"
>
> activate
>
> set {x, y, xx, yy} to reposition window aWind
>
> set {x, xx} to {x + 10, xx + 10}
>
> reposition window aWind to {x, y, xx, yy}
>
> end tell
>
>
My choose from list returns a list, not a single reference. I'm running the
>
9.2.2 version here.
>
8.6 AS 1.3.7 here
>
Once I added a "set aWind to aWind as string" it works.
>
sorry, the omission was a result of my adding and removing 'as string',
marvelling as my concentration span allowed and returning to finder pong :)
I have no idea why it works for me.
>
Thanks.
you're most welcome
_____________________________ Andy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.