On 7/23/06 at 6:56 PM,  Walter Ian Kaye <[EMAIL PROTECTED]> wrote:

> At 04:42p -0400 07/23/2006, Gregory Ramsperger didst inscribe upon an 
> electronic papyrus:
> 
> >
> >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.
> 
You're correct. I was just thinking of it as always placing the top-left at 0,0.

> 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...;)
> 

I hadn't imagined going that far. I figured he just needed two scripts: one for 
when he was actually on the local machine (normal size) and one for when he was 
using VNC (smaller size). You just run one script or the other depending on 
where you are (like the browser scriptlet).

-g


--
------------------------------------------------------------------
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