A community of Frontier
and Radio Users


Meridian News


Community List


Regex Project

I have a little script attached to my custom menu, which I've found very useful many times.

Often I work in BBEdit drafting HTML code, that I later want to insert into a script as a string. Often I have to worry about carriage returns, and quotes. All these need to be escaped in Frontier.

But with this handy little script - I copy items from BBEdit, Eudora, whatever - switch to Frontier and then choose this menu item that I call "Paste escaped".

Here is the script

local (someText=clipboard.getValue('TEXT'))
someText=displayString(someText)
clipboard.putvalue(someText)
editMenu.paste()