Re: moving an application window from one display to another
Re: moving an application window from one display to another
- Subject: Re: moving an application window from one display to another
- From: David Crowe <email@hidden>
- Date: Fri, 13 May 2005 16:57:57 -0600
Title: Re: moving an application window from one display
to anoth
I've played around quite a bit with getting and setting the
bounds of windows, and my experience hasn't been terribly good. Some
of the anomalies I've found:
- Acrobat doesn't accept the class "window" you need to
use "PDF Window" instead.
- Adobe FrameMaker has the bounds backwards (and also uses a
non-standard class name).
- iTunes had a bug which meant you had to move the corner of the
window first, and then change the size.
- Explorer just doesn't support "bounds of window 1".
- Terminal gave an error if the size wasn't an even multiple of a
character/line.
My scripts are full of "try/end try" without an
"on error" because, if things fail, it's probably the
application. I dreamed of one script to set window bounds for any
application, but I've kind of given up on that.
So, my advice is to try lots of alternatives with MacGPS. Try
"document" or "application" or whatever else you
can think of. Try "position" (two coordinates) instead of
"bounds".
You just might get lucky.
- David Crowe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden