[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] macperl::DoAppleScript Doesn't



On 09 Feb 2000 10:38:52 -0500, Eric Rainey wrote:

> I have a DoAppleScript call (see code below) which does not execute at all.  Neither does it generate any errors.  When I step through the code using the debugger, it comes to the call just fine, but all it does in terms of execution is a brief pause and a touch of disk access.  The script works just dandy from script editor.

I suspect this line:
>	tell application "CodeWarrior IDE 4.0"

If CodeWarrior isn't running, or it is running but the name isn't exact,
then AS won't find it. So compilation fails.

You'll have to launch CodeWarrior in a reliable way, perhaps using pure
AppleEvents. Chris?

-- 
	Bart.

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org