At 13:50 -0700 27/10/2010, Paul Ingraham wrote:
I just don't seem to know how to convert the stuff on the scratchpad to ASCII.
on run {input, parameters}
tell application "BBEdit"
set wasVisible to visible of scratchpad window
set contents of scratchpad window to input
set w to open scratchpad window
CONVERT TO ASCII text of w ???
if not wasVisible then close w
return contents of scratchpad window
end tell
end run
Look at the dictionary.
convert to ASCII text of w with replacing target
JD
--
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>