At 12:04 -0700 6/22/11, Rich F wrote:
>For the life of me I can't find a way of opening a file in a
>subdirectory in my webserver directory.
>
>
>set myF to file "/Library/WebServer/Documents/alpha/bravo/items.lasso"
>
>tell application "BBEdit 9.6"
>       open myF as alias
>end tell
>

I'm biased but the sooner one gets out of Applescript the better UNIX works.

Install the bbedit tool from Bare bones

do shell script  "bbedit " &  quoted form of  
"/Library/WebServer/Documents/alpha/bravo/items.lasso"

-- 

--> A fair tax is one that you pay but I don't <--

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
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 feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to