Thank you for your help, Christopher. I couldn't get the Mail part of this 
script to work however, if I use the clipboard contents (I am only using a 
selection fromf the email anyway) it works fine. Thanks for the tip about 
FastScripts too, I hadn't come across this one before. 

On Wednesday, May 14, 2014 1:20:53 PM UTC+1, jgill wrote:
>
> I have an Applescript that finds a placeholder comment in a web page and 
> replaces it with a chunk of HTML. It works fine in Script Debugger, it 
> works in AppleScript Editor and it works when I make an app from it placed 
> on the desktop.
>
> If I place the .scrp file into the BBEdit script folder, it shows up in 
> the Script menu and runs when I select it but the HTML chunk is truncated 
> with the first two lines missing and all the HTML tags stripped out.
>
> What's going on here?
>

-- 
This is the BBEdit Talk public discussion group. 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>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to