Re: GUI Scripting Issue
Re: GUI Scripting Issue
- Subject: Re: GUI Scripting Issue
- From: Carlos Ysunza <email@hidden>
- Date: Thu, 11 May 2006 15:23:12 -0500
- Thread-topic: GUI Scripting Issue
Todd Geist wrote
> Hello,
>
> I have been trying to use GUI scripting to manipulate some dialogs but I can't
> get it to work.
>
> This is the script
>
> activate application "FileMaker Pro Advanced"
> tell application "System Events"
> tell process "FileMaker Pro Advanced"
> click menu item "Copy" of menu 1 of menu bar item "Edit" of menu bar 1
> end tell
> end tell
> --> The result is that the applescript times out waiting for FileMaker to
> activate.
>
> Is there some way other then "Activate application" that will bring FileMaker
> to the front so system events can act on it?
>
> Thanks
>
> Todd
I don't know what you're trying to do but to copy some data from some cell
or field in FileMaker pro you don't need the annoying GUI scripting.
You can use just a simple variable inside your script to store the data
Set MyData to cell "NameOfCell" of database "DatabaseName' or similar
or you can use
Tell application "FileMaker Pro Advanced" to" do menu menu item "Copy" of
menu "Edit"
I hope this help
Carlos Ysunza B.
Director
Ysunza/Santiago
Visual Communication Automation
Tel. (52)55 5256-0336
email@hidden
http://www.ysunzasantiago.com
http://www.thesecretmexico.com
http://www.softrobot.com.mx
_______________________________________________
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