I've got an AppleScript that I'm trying to run from a clipping but it 
doesn't seem to work.
The script does work from the script editor

#SCRIPT /Users/garyash/Library/Application 
Support/BBEdit/Scripts/line-of-asterisk.scpt #

line-of-asterisk.scpt

*tell* *application* "BBEdit"

*set* theLineNumber *to* ((*startLine* *of* *selection*) *of* *text window* 
1)

*set* theColumnNumber *to* ((*startColumn* *of* *selection*) *of* *text 
window* 1)

*set* txt *to* ""

*repeat* (90 - theColumnNumber) *times*

*set* txt *to* (txt & "*")

*end* *repeat*

*set* *selection* *to* txt

*tell* *text* 1 *of* *window* 1

*select* *insertion point* *after* *line* theLineNumber

*end* *tell*

*end* *tell*


i did a chmod +x in case that was it

thanks for any help

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or believe that the application isn't working correctly, please email 
"supp...@barebones.com" rather than posting here. Follow @bbedit on Mastodon: 
<https://mastodon.social/@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 bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/eabe5be9-84bb-41b3-ae05-db59199e083an%40googlegroups.com.

Reply via email to