Is there a way to attach an applescript to a menu-item that checks to see 
if there's a selection?

I imagine it would go:
- Is there a selection?
+ if yes: trigger the menu item
+ if no: select the current word/line - then trigger the menu item.

Perhaps there's no need to attach it to the menu-item… maybe it's just a 
script that checks-for/makes a selection, then calls a specified menu-item.

Any help would be appreciated.

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to