At 13:15 +0100 10/3/10, Maarten Sneep wrote:

The catch is that BBEdit does not process Apple Events while running Unix
scripts (including Perl, Python, Ruby, Shell, Tcl, ...). That means that if
you run a script from the BBEdit #! menu, you cannot send Apple Events to
BBEdit from that script. This includes calling osascript to make BBEdit do
something for you. If the script runs outside of BBEdit, this is not an
issue.

These inconveniences can be overcome if you write a stay-open daemon in AppleScript to handle things. This device is something you hear very little mention of in most AppleScript forums and it really deserves more attention. You can add handlers in the daemon for all sorts of things, not necessarily related to each other.

JD

--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 "[email protected]" rather than posting to the group.

Reply via email to