• 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
GUI Scripting: clicking button in FM Pro dialog box
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GUI Scripting: clicking button in FM Pro dialog box


  • Subject: GUI Scripting: clicking button in FM Pro dialog box
  • From: Henrik Boes <email@hidden>
  • Date: Fri, 20 Jun 2003 12:02:26 -0600

Hello,

I am trying to automate an export from one FM database to another FM database and need to GUI script the clicking of the field export procedure, specifically which fields get exported. I want to have the AppleScript (see below) click the "move all" button and then do a return keystroke to allow the FM script to finish. The return keystroke is recognized, the clicking of the "Move all" button is not, leaving me with a dialog in FM saying that no fields were selected for export.

I imagine the problem is that I haven't properly identified the "Move All" button. Problem is, I'm not sure how to do that. Any help would be appreciated.

TIA,

Henrik Boes


tell application "FileMaker Pro"
go to window "Job_Book Test.fp5"
do script FileMaker script "Export"
end tell

delay 10

tell application "System Events"
tell process "FileMaker Pro"
window "Specify Field Order for Export"
click button "Move All"
delay 5
keystroke return
end tell
end tell
_______________________________________________
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.

  • Follow-Ups:
    • Re: GUI Scripting: clicking button in FM Pro dialog box
      • From: webguide <email@hidden>
  • Prev by Date: Re: Error -1 When Making and naming folders
  • Next by Date: Re: display dialog
  • Previous by thread: RE: Quark printing and choosing the filename for that,file
  • Next by thread: Re: GUI Scripting: clicking button in FM Pro dialog box
  • Index(es):
    • Date
    • Thread