Using an external Script, I am trying to select a pre-named BBEdit file in 
the left Pane, so that the selected file opens in the right Pane. 

Here is my small Script module:

tell application "BBEdit"
activate

tell application "Finder" to set theFile to "Macintosh 
HD:Users:johnlove:Sites:www.lovetoteach.dev:Web_Site_Storage:
lovesongforever.com
:coronavirus:Coronavirus_Support/Compiled_Output_scss=css:compiled_corona_virus.html"

open file theFile  -- select file theFile bombs with an error

end tell



It opens the file and shows it in your right Pane, but does not select it 
in your left Pane.

FWIW, I can go the choose File approach, but I still don't get the 
selection in the left Pane.

ASAMOF, what I’d really like to do is to use

select file theFile


but as noted, this bombs with an error.

John Love

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "[email protected]" rather than 
posting here. Follow @bbedit on Twitter: <https://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 view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/cb739f3d-bac9-4349-8f7a-81b9ca2b779e%40googlegroups.com.

Reply via email to