Hi,

On Oct 9, 3:15 pm, Steve Kalkwarf <[EMAIL PROTECTED]> wrote:
> If you drop a folder on BBEdit's icon (or open it any other way, like  
> with an AppleScript) it will open a disk browser pointed at that folder.
>
> I would probably write a series of AppleScripts of the form:
>
> tell app "BBEdit"
> open alias "path:to:folder"
> end
>
> and put those in BBEdit's scripts menu, or in a system-wide utility  
> like FastScripts.

Thanks, ended up with this:

tell application "BBEdit"
        activate
        set the myFolder to (choose folder with prompt "Select your Project
folder") as text
        -- alternatively
        -- set myFolder to alias "Macintosh HD:Users:MyProject" as text
        open myFolder
        --positioning the window
        set bounds of disk browser window 1 to {28, 50, 668, 903}
        tell application "Finder" to set projectName to name of alias
myFolder
        set name of disk browser window 1 to projectName
end tell

Richard Taubo


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