Thanks! That will be a useful script. On 9/22/06 7:08 PM, "Peter N Lewis" <[EMAIL PROTECTED]> wrote: > 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.
-- <[EMAIL PROTECTED]> Scripts for OE and Entourage: <http://homepage.mac.com/allen_a_watson/AppleScripts_For_You> Entourage questions: <http://www.entourage.mvps.org/> -- ------------------------------------------------------------------ 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]>
