Good day all,

In BBEdit's AppleScript dictionary , BBEdit suite, appears "found text
(text, r/o) : for a single-file search, the found text"  It is a
Property of the Result "--> Search Match : information about the text
string found by the search" of the verb "Find"

I would like to use "found text" in forming a string by concatenating
it with other string elements, for use as a filename. However, I
cannot find any way to refer to "found text" in an AppleScript that
does not result in an error.

The AppleScript log shows, after the successful search, the result '--
> {found:true, found object:characters 154 thru 158 of text document
1, found text:"abcde"}'.

"abcde" is the text that I want to use for my string. But, for
example, "get (found text)" results in 'error "BBEdit got an error:
Can’t make found text into type found text." number -1700 from found
text'. Different attempts to refer to "found text" get different
errors.

I've pored over all the help files I can find, and rooted around in
"AppleScript 1-2-3" (Apple Training Series, Sal Soghoian and Bill
Cheeseman) but can't find a hint.

Any ideas?

Thanks,
Bull
Blacksburg, VA
-- 
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.

Reply via email to