Previous versions of BBEdit came with an Applescript that would allow you 
to collect all the Windows into single window but it no longer works.
Ideally, what I'd like to do would be to collect all *Unsaved Documents*into 
the front Window although doing all windows would be good too.

If you do this manually then BBEdit 'uncollects' the unsaved windows upon 
reopening. Also the old Window palette allowed you to select multiple 
windows but now it only allows you to select one so I think a script is the 
only way to go about this. I like to paste temporary snippets as I work and 
it's annoying to have to recollect them every time I reopen BBEdit.

The script was something like this but 'move' throws an error. I tried 
doing a recording but collecting a window doesn't show a command on 
Applescript.

*tell application "BBEdit"*

* if (count of text windows) > 0 then*

* select text window 1*

* repeat while (count of text windows) > 1*

* set ct to count documents of text window 2*

* repeat with i from 1 to ct*

* move document 1 of text window 2 to text window 1*

* end repeat*

* end repeat*

* 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