At 23:04 +0100 12/13/08, Maarten Sneep wrote:
>On 13 dec 2008, at 22:56, Doug McNutt wrote:
>
>>  2) It is possible to send AppleEvents to BBEdit from a running shell
>>  script. The tool is osascript along with its cousin osacompile.
>>  Using osascript with a here document ( << redirection) you can ask
>>  BBEdit to "find" and "copy" or report selected stuff for access by
>>  the running shell script.
>
>Yes, from a shell script, that isn't run from BBEdit itself. BBedit
>will not process AppleEvents it receives while it is busy with a shell
>script (invoked as a unix filter or unix shell script. Be careful with
>this method.

I use the method regularly but I execute the shell scripts, often 
perl, from a BBEdit worksheet. The unix filter and unix script menu 
options are different and it's likely that my BBEdit 8.1 or so 
differs from current versions. I suppose the underlying shell process 
associated with a worksheet is not "run from BBEdit itself".
-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
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 specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[email protected]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to