Hi Chris,

You are definitely in for a bit of a learning curve, but ultimately the 
> switch is quite worthwhile in my opinion.
>
> Actually, most of what I see isn't that different (so far).  Just a few 
critical items that were relocated/missing and I couldn't find them.

The deal-killer at this point is going to be the inability to quickly (one 
key combo) switch betweens source and output.  I haven't found any way to 
get the Unix output window to "play nice" by joining its fellow pages in 
the base page group - though as a NEW window, with the preferences I've 
set, it *should* [bug??]. It keep opening its own group, and that just 
won't do.

AppleScripts are probably not an option.  Since using them involves, 1) a 
key combo 2) loading an applescript 3) causing it to be interpreted 4) 
sending messages to BBEdit and getting BBEdit to respond, I suspect they're 
probably too slow and are probably easily confused.  Under 9.6.3, if I 
cmd-option (left or right) bracket, I step through each of the active pages 
in the page group.  I usually start on the source page, edit some code, hit 
cmd-R to run the perl script, then see the output in the Unix output 
window.  If there's something I need to change, cmd-opt-[ gets me back to 
source for a quick rinse-and-repeat.  Need a quick look at the output 
again?  cmd-opt-] and I'm there.  Anything longer than 250mS is probably 
too long - and whatever method I use should allow me to simply continue to 
step through all the pages in the page group.

Looking at this script, for example, Suppose my source is window 2 and 
window 1 is the newly opened script output.  I toggle to get them reversed 
and realize the error isn't in the source file, but in a lib file... so I 
click to open that, now when I go back... oops!  I can't get back to my 
source any more because now it's window 3, or the output is.  So 
effectively, I need a circular queue... which is what I already have with 
9.6.3.  In other words, 9.6.3 *works*, but I can't tell whether 10.x 
*doesn't* or if there's some setting I've missed.

By the way, I did try this script, and while I don't know what went wrong, 
it worked... and then it crashed BBEdit.  And then it didn't work. (And I 
don' see anything in the script that explains that - just one of the 
mysteries of Applescript!)  I do sometimes use Applescript, I've never 
considered it "ready for prime time" (which is really too bad because the 
idea of built-in scripting for all apps is a nobel one!)

Thanks for the effort!

>
> -------------------------------------------------------------------------------------------
> # Toggle between windows 1 and 2
>
> -------------------------------------------------------------------------------------------
> tell *application* "BBEdit"
>   if (*count* of *windows*) ≥ 2 then
>     set index of *window* 2 to 1
>   else
>     *beep*
>   end if
> end tell
>
> -------------------------------------------------------------------------------------------
>
>

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to