Re: GUI Scripting Issue
Re: GUI Scripting Issue
- Subject: Re: GUI Scripting Issue
- From: Todd Geist <email@hidden>
- Date: Thu, 11 May 2006 15:07:01 -0700
Thank you for response. :>)
On May 11, 2006, at 2:38 PM, Bill Cheeseman wrote:
What happens if you change the first line to:
activate application "FileMaker Pro Advanced.app"?
It comes out of UI Browser as "FileMaker Pro Advanced.app" but it
compiles as "FileMaker Pro Advanced"
I can't get it to keep the extension.
In general, the Activate command should be really fast if the target
application is already running. So try your script with FM Pro
Advanced
already running, and see if the menu bar changes (showing that it
has come
to the front).
It is running. The problem is there is a dialog in the front. The
dialog prohibits FileMaker from responding to the "activate"
command. If there is no dialog then it responds just fine. If I
comment out the "Activate" line the rest of the script runs. BUT
FileMaker is not in the front so I don't get my results.
So maybe what I really need is another way to "Activate" Filemaker
Pro that doesn't use the "activate" command.
If FM Pro Advanced is not already running, the script should
nevertheless
pause itself while it waits for FM Pro Advanced to launch. If you
see that
FM Pro Advanced has successfully launched but your script is still
hung,
something's probably wrong on your end.
n/a see above
There is a possibility that your naming is wrong. Some applications
have a
different name for the process than they have for the application.
The only
way to find out is to run Apple's Activity Monitor to see what the
name of
the process is, or use PreFab UI Browser's AppleScript menu to
generate the
wrapper tell block for you -- it knows when a different name is
required for
the process tell block.
Activity Monitor calls it "FileMaker Pro". UI Browser calls it
"FileMaker Pro Advanced" :>)
Thanks
Todd
--
Todd Geist
______________________________________
g e i s t i n t e r a c t i v e
_______________________________________________
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