Re: do shell script error from within Filemaker
Re: do shell script error from within Filemaker
- Subject: Re: do shell script error from within Filemaker
- From: Jake Pietrykowski <email@hidden>
- Date: Thu, 09 Jun 2005 14:13:04 -0500
You must activate FileMaker to perform a keystroke. The following works
perfectly!
tell application "FileMaker Pro"
activate
tell application "System Events
tell application process "FileMaker" to keystroke (ASCII character 3)
end tell
end tell
Cheers,
Jake
On 6/9/05 12:49 PM, "janis rough" <email@hidden> wrote:
> I'm trying to simulate the "enter" key within Filemaker by the "perform
> applescript" step.
> I get an error when I run it that says "the application fmtest has
> unexpectedy quit"
>
>
> do shell script "osacompile -o /tmp/fmtest.app -e 'delay 10
> tell app \"System Events\" to tell application process
> \"FileMaker\" to keystroke (ASCII character 3)'"
> do shell script "open /tmp/fmtest.app"
> activate
>
> can you help me out?
> thanks,
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden