Re: FileMaker Send Apple Event to run stay open app
Re: FileMaker Send Apple Event to run stay open app
- Subject: Re: FileMaker Send Apple Event to run stay open app
- From: Paul Tuckey <email@hidden>
- Date: Thu, 05 Feb 2004 14:16:42 +0000
Hi Gary, thanks for the input.
I'm not using a handler I'm trying to get FMP's Send Apple Event script step
to emulate what can be done purely with AppleScript.
example
--My trigger application
Tell application "myStayOpenApp"
run
end tell
---
--myStayOpenApp
tell application "FileMaker Pro"
set fontName to "Arial Bold"
do menu menu item fontName of menu "font" of menu "Format"
end tell
If I run the trigger application all works fine as all its doing is to send
the run command to the stay open application.
I could be way of beam here but I was thinking if I can find the 4 character
event class and the event ID for the run command, and key that into the
'send event' script step that would do the trick?
FileMaker gives an example for the do script event ID but that's all. Is
there a way of getting event ID's out of a complied script?
Paul
------------------------------------------------------------------------
MetaClarity Ltd
e-mail: email@hidden
http://www.metaclarity.com/
Tel (00 44) (0) 1760 755 587 | Mobile (00 44) (0) 7974 783 569
>
>
Paul, the specific nature of the saved state of the applet should not matter
>
as for the sending of events from FM's 'send event' script step: run-only,
>
normal application, stay-open either one.
>
>
Perhaps you're sending the wrong event? Or your applet doesn't have an
>
appropriate handler...?
>
>
Are you using an 'on run' and 'on open' or which?
>
--
>
Gary
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.