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 steps doesn't seem to work, from which I
gather that Open in Additional Window is not a scriptable command at
the moment; fine, but it seems that I ought to be able to do it some
other way. I've tried the following:

tell application "BBEdit"
        activate
        set docFile to file of text window 1
        open docFile opening in new_window
end tell

which seems straightforward enough, but this doesn't work; it simply
brings the existing window to the front. I've also tried

tell application "BBEdit"
        activate
        set docFile to file of text window 1
        make new text window
        open docFile opening in text window 1
end tell

but that doesn't work, either. Anyone have more patience and savvy
about this than I do?

--~--~---------~--~----~------------~-------~--~----~
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, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/bbedit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to