On May 14, 2014, at 07:20, jgill <[email protected]> wrote:
> 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?

______________________________________________________________________

Hey Joe,

Well.  BBEdit does occasionally do weird things when you run scripts from its 
script menu, but it's impossible to diagnose without seeing the script.

I can tell you that this script has been test-run from BBEdit's script menu and 
works.

-------------------------------------------------------------------------------------------
tell application "BBEdit"
  tell front text window
    replace "(some)_text)" using "\\1" options {search mode:grep, case 
sensitive:false, starting at top:true}
  end tell
end tell
-------------------------------------------------------------------------------------------


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