Re: Script to open document in additional window?

2008-09-11 Thread Mike Conley
The menu script idea works great. For anyone who's interested, here's my script, which is saved as 'View*Open in Additional Window' in the Menu Scripts folder: property windowRect : {0, 0, 0, 0} property windowGap : 5 on MenuSelect(menuName, itemName) tell application "BBEdit"

Re: Script to open document in additional window?

2008-09-11 Thread Carlton Gibson
2008/9/11 Charlie Garrison <[EMAIL PROTECTED]> > On 10/9/08 at 4:06 AM -0700, Mike Conley <[EMAIL PROTECTED]> wrote: > > >Nonetheless, it would still be nice to do an AppleScript, because I > >would have it create the new window and align it beside the original, > >with the same dimensions, since

Re: Script to open document in additional window?

2008-09-10 Thread Charlie Garrison
Good afternoon, On 10/9/08 at 4:06 AM -0700, Mike Conley <[EMAIL PROTECTED]> wrote: >Nonetheless, it would still be nice to do an AppleScript, because I >would have it create the new window and align it beside the original, >with the same dimensions, since that's what I would do every time >anyw

Re: Script to open document in additional window?

2008-09-10 Thread Mike Conley
That sounds promising. I'll take a look when I get a chance again. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to bbedit@googlegroups.com To unsubscrib

Re: Script to open document in additional window?

2008-09-10 Thread Oliver Boermans
2008/9/10 Mike Conley <[EMAIL PROTECTED]>: > > Nonetheless, it would still be nice to do an AppleScript, because I > would have it create the new window and align it beside the original, > with the same dimensions, since that's what I would do every time > anyway. So the question still stands. I

Re: Script to open document in additional window?

2008-09-10 Thread [EMAIL PROTECTED]
On 10-Sep-2008, at 09:14, Jim Correia wrote: > On Sep 10, 2008, at 8:13 AM, Mike Conley wrote: >> Then, once I do that, the script runs fine, but BBEdit just sits >> there >> until I actually click on a menu; then the new window suddenly >> appears. Not sure what's going on there, but it's alrea

Re: Script to open document in additional window?

2008-09-10 Thread Jim Correia
On Sep 10, 2008, at 8:13 AM, Mike Conley wrote: > Then, once I do that, the script runs fine, but BBEdit just sits there > until I actually click on a menu; then the new window suddenly > appears. Not sure what's going on there, but it's already sounding > suboptimal. I'm not a GUI scripting exp

Re: Script to open document in additional window?

2008-09-10 Thread Mike Conley
Hmm. Well, first of all, I have to turn on access for assistive devices in System Preferences, which I turned off because (if I recall correctly) it eats some of my BBEdit keyboard shortcuts. Then, once I do that, the script runs fine, but BBEdit just sits there until I actually click on a menu;

Re: Script to open document in additional window?

2008-09-10 Thread Mike Conley
That's really gross, but I'll give it a shot. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, s

Re: Script to open document in additional window?

2008-09-10 Thread Carlton Gibson
2008/9/10 Mike Conley <[EMAIL PROTECTED]> > > > If you're not committed to using AppleScript for this you could go to the > > Menus bit in Preferences and assign a key equivalent for this. > > Y'know, as it turns out, I had, in fact, assigned a key equivalent to > this already, but had forgotten.

Re: Script to open document in additional window?

2008-09-10 Thread Mike Conley
> If you're not committed to using AppleScript for this you could go to the > Menus bit in Preferences and assign a key equivalent for this. Y'know, as it turns out, I had, in fact, assigned a key equivalent to this already, but had forgotten. Thanks for reminding me. Nonetheless, it would still

Re: Script to open document in additional window?

2008-09-10 Thread Carlton Gibson
2008/9/10 Mike Conley <[EMAIL PROTECTED]> I want to write a script that [...] > > does the Open in Additional Window command, so that I can easily > create a second view into my document without having to open the > drawer, etc. Hi Mike, If you're not committed to using AppleScript for this y

Script to open document in additional window?

2008-09-10 Thread Mike Conley
Okay, as usual with AppleScript, I can't seem to figure out how to do something that should be simple enough: I want to write a script that does the Open in Additional Window command, so that I can easily create a second view into my document without having to open the drawer, etc. Recording the s