What path does BBEdit assume for "'text document' by name"?

I recently wrote an Apple Script that told BBEdit to open a file,
specified as a full path name as generated by tell Finders to get, and
then to perform certain actions on that file. I found that subsequent
references to that file (in the "tell BBEdit" block) by its full path
name were not recognized by BBEdit. It wanted just the name of the
file (the stuff at the end of the path).

It took a few more lines of Script to fix this probelm ... But should
not a full path name always be more than sufficient to specify a file
in an Apple Script "tell BBEdit" block?

 Tnx,
Wayne Durham

On Aug 1, 12:05 pm, Rich Siegel <[email protected]> wrote:
> For a long time we have recommended against targeting windows
> for text operations, and beginning with BBEdit 10, it is no
> longer supported. However, targeting a "text document", by name,
> or by number ("text document 1" is the active one) is both
> correct and future-proof.

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