At 04:42p -0400 07/23/2006, Gregory Ramsperger didst inscribe upon an electronic papyrus:

You should be able to set the window size via a script. You can either access the script via the script menu or bind it to a keyboard sequence (look at the Scripts pallette). The script is really this simple:


tell application "BBEdit"
    activate
    set bounds of window 1 to {0, 0, 700, 600}
end tell

The numbers are {left, top, width, height}. This will set the front-most window size (regardless of type--text, search results, etc).

actually that's left, top, right, bottom.

I think the real issue is how best to save/restore two sets of bounds for each document. Thus the script will start to get rather long. I just started writing something, but since I have no use for it myself I'm not inclined to spend the time to finish it. (Unless someone wanted to pay me to do so...;)

-W

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to