I try to do a PowerPlant Application.
I overwrite the LApplication.HandleAppleEvent method, but, when i send
e Script to my app a recive only a "ae_OpenApp" event and never
"ae_SetData".
This is my script
tell application "myApp"
set Par to "123"
end tell
Thanks in advance.
Tommaso.
> I try to do a PowerPlant Application.
> I overwrite the LApplication.HandleAppleEvent method, but, when i send
[quoted text clipped - 6 lines]
> set Par to "123"
> end tell
Have you added the file "PP AppleEvents.rsrc" (in "PowerPlant
Resources") to your project? (The 'aedt' resources map the 2 4-byte
codes from the O.S. into a single 4-byte code like: ae_SetData)
If you are using a .plc file, have you added the line:
key "NSAppleScriptEnabled" value boolean true
to it?
Tommaso - 29 Oct 2004 09:12 GMT
> > I try to do a PowerPlant Application.
> > I overwrite the LApplication.HandleAppleEvent method, but, when i send
[quoted text clipped - 16 lines]
>
> to it?
Yes I have alredy included the file "PP AppleEvents.rsrc" and in it
there are all the definitions of the standard events like set,
get.....etc.
I am using CodeWarrior V9 on MAC OSX and am developing a PowerPlant
Classic Basic application.
Please Help Me!!!
Thanks in advance.
Tommaso
David Phillip Oster - 29 Oct 2004 10:33 GMT
> Yes I have alredy included the file "PP AppleEvents.rsrc" and in it
> there are all the definitions of the standard events like set,
> get.....etc.
> I am using CodeWarrior V9 on MAC OSX and am developing a PowerPlant
> Classic Basic application.
Put a breakpoint inside the function:
LModelDirector::HandleAppleEvent(), and trace through what happens.