At 12:55 +0800 22/9/06, Peter N Lewis wrote:
I often use Interarchy's (Cmd-J) to open bbedit files remotely ...

I really wish that when i opened more than one file at a time, bbedit would know to open those files in a drawer. Only when i open a single file remotely do I want it to go in its own window. Is this currently possible to pull off with a setting somewhere?

See this blog posting:

<http://www.entropy.ch/blog/Mac%20OS%20X/2006/07/26/Interarchy-AppleScript-Edit-a-Group-of-Files-Together-in-a-New-BBEdit-Window.html>

for an AppleScript capable of doing this.

At 19:56 +0800 22/9/06, Matthew Drayton wrote:
Here is the script:

tell application "BBEdit"
        make new window
end tell

tell application "Interarchy"

        set selected to selection of window 1
        repeat with myfile in selected
                edit url (url of myfile)
        end repeat

end tell

tell application "BBEdit"
        repeat with doc in text documents of window 1
                if name of doc begins with "untitled text" then
                        close doc
                end if
        end repeat
end tell

Enjoy,
   Peter.

--
Check out Interarchy 8.2, just released, now with Growl support.
<http://www.stairways.com/>  <http://download.stairways.com/>

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