The name should definitely match the name of your copy of BBEdit (without the ".app"). I change mine to reflect version numbers.

I'm not using BBEdit 11, since I'm still running 10.6.8, so I can't confirm if they changed the syntax, but I doubt that they'd have changed that.

Try running it from Script Editor.

If it's still not working, you might check to see if it's talking to BBEdit by something like:

tell application BBEdit
    activate
end tell

...which should bounce you back into BBEdit.

If you're running it from BBEdit, the script must be placed in ~/Library/Application Support/BBEdit/Scripts, right?

Rick Gordon

---------------------
On 12/16/14 5:41 PM, Vlad Ghitulescu wrote:
Hello!


Strange, that doesn’t work anymore…


Am 16.12.2014 um 08:09 schrieb Rick Gordon <[email protected] <mailto:[email protected]>>:

tell application "BBEdit 10" to set myText to contents of selection

… even after I replaced „BBEdit 10“ with „BBEdit“ in the line above.

After selecting the paragraph in BBEdit and calling the script from the script menu nothing happens :-(

Any idea?


Thanks!
Vlad (without the ".app")
___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com

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