The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
Foreground window Thread Tools Search this Thread Display Modes
I have a script + keyboard shortcuts I use to automate location and sizing of my windows. It works in every other application, except OmniGraffle.

tell application "System Events"
tell (first process whose frontmost is true)
set position of first window to {x_mid, y_top}
set size of first window to {width / 2, height}
end tell
end tell

In Omnigraffle this script peels off the bottom sheet of my inspector window and moves it around, rather than move the drawing window.

Any idea why?
 
I'm not an engineer, but it sounds like inspectors are windows, too.

You probably want to do something along the lines of
"first window whose document is true"
to make this work.
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Foreground pop-up tabs? Handycam OmniWeb Bug Reports 1 2009-08-25 03:52 PM
Keyboard Shorcut to move from the main window to inspector window geggyta516 OmniFocus 1 for Mac 0 2008-06-26 08:29 AM
Keep Inspector in the Foreground Dogsbreath OmniFocus 1 for Mac 2 2008-02-02 06:26 AM
How can I set New window to always be new tab. vamp07 OmniWeb General 2 2006-07-08 03:26 PM
SP15: Bringing window to foreground issue udecker OmniWeb Bug Reports 4 2006-06-23 05:36 AM


All times are GMT -8. The time now is 09:53 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.