Rich F <[email protected]> sez:
>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
>
>It says can't get the file. I know it's there. I've tried how to
>change the syntax on the open and I just can't get it. Any ideas?
The path format doesn't match; assuming you want to use Unix paths:
====
set myF to POSIX file "/Users/pwoolsey/Desktop/foo.txt"
tell application "BBEdit"
open myF
end tell
====
Regards,
Patrick Woolsey
==
Bare Bones Software, Inc. <http://www.barebones.com>
P.O. Box 1048, Bedford, MA 01730-1048
--
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>