Re: Newbies Question...
Re: Newbies Question...
- Subject: Re: Newbies Question...
- From: Ivan <email@hidden>
- Date: Mon, 25 Feb 2002 11:29:13 -0700
>
we? my husband and I use Akua :)...
>
set aWind to (choose from list (get name of windows of application
>
"Finder"))
>
--don't try "Desktop" @home %)
>
if result = false then return
>
tell application "Finder"
>
activate
>
set {oldTitle, oldBounds} to {aWind, reposition window aWind}
>
set {x, y, xx, yy} to oldBounds
>
repeat 80 times
>
set {x, xx} to {x + 10, xx + 10}
>
reposition window aWind to {x, y, xx, yy} titled "choo"
>
set aWind to "choo"
>
reposition window aWind to oldBounds titled "woo"
>
set aWind to "woo"
>
end repeat
>
reposition window aWind to oldBounds titled oldTitle
>
set popup of window named oldTitle to true
>
end tell
Thanks much. It works great except that after I restore them I am unable
to reposition them normally. Some times they are allowed to overlap. I
guess it comes from the Finder not recognizing where they are now, but
where they were. I'll have to see what I can do. Perhaps if I make them
non-popup first and then popup again... (unfortunately I'm on campus and
can't test my hypothesis).
Ivan
Where does the Akua fanclub meet?
_______________________________________________
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.