Thank you for the script JD; works like a charm in disk browser
windows.

Disk browsers seem more flexible and transparent from a scripting
standpoint; less rigid folder and file hierarchy requirements; easier
to
call a selection (_list in the above) rather than calling individual
project items (folders or files).

If I may, BareBones folks, for some future release:

Would it be possible to include some basic bbproj scripts in the pre-
fab
scripts folder? Thanks.


On Nov 3, 11:32 am, [EMAIL PROTECTED] wrote:
> Try this, observing that 'selection' is always a list:
>
>          tell application "BBEdit"
>            if class of window 1 is disk browser window then
>              set _list to selection in window 1
>            else
>              set _list to {file of window 1}
>            end if
>          end tell
>          tell application "Finder"
>            activate
>            repeat with _item in _list
>              open _item
>            end repeat
>          end tell

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
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
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to