• 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: Newbies Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Newbies Question... (From: Jon Pugh <email@hidden>)
 >Re: Newbies Question... (From: Andy Wylie <email@hidden>)

  • Prev by Date: Re: Activating Satimage SA; WAS: AppleScript bug
  • Next by Date: Scripting audio feedback?
  • Previous by thread: Re: Newbies Question...
  • Next by thread: reposition popup window [was Newbies Question...]
  • Index(es):
    • Date
    • Thread