|
Msg#2172 - Re: Frontier, BBEdit, guest databases, and Radio
|
|
In response to: 2171 | <<Back | Next>> | Top of Thread | View Full Thread | Reply | Edit
|
|
Posted: 1/28/2002 by Seth Dillingham
Modified: 1/28/2002 by Seth Dillingham
|
|
On 1/28/2002 at 6:53 PM, Duncan wrote:
>This looked promising when it was run from the Script Editor and
>actually worked. However, when invoked from the BBEdit script menu,
>BBEdit went deaf and eventually timed out with some sort of
>appleevent timeout. So, it was not looking good. Then in the dim
>recesses of my memory I seemed to recall that the call should be
>wrapped in a thread.easycall. I tried the obvious incantation but
>of course this didn't work. So if all else fails read 'the source'
>or RTFM ;-) So a quick jump to thread.easycall in Radio revealed
>all and would you believe the script:
The appleevents are non-reentrant. BBEdit makes the call to Frontier, and
can't accept any more input until Frontier has returned a result of some
sort.
Frontier receives the call, and tries to make a call to BBEdit to get the
text of the frontmost window... but it can't, because BBEdit is still
waiting for a response to the call that started the whole process.
Seth
|
|
Enclosures:
None.
Replies:
|
|
|
|