• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: do shell script error from within Filemaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >do shell script error from within Filemaker (From: janis rough <email@hidden>)

  • Prev by Date: RE: How to quit an applet?
  • Next by Date: Re: How to quit an applet?
  • Previous by thread: do shell script error from within Filemaker
  • Next by thread: Microsoft office question
  • Index(es):
    • Date
    • Thread