Re: UI Scripting FileMaker
Re: UI Scripting FileMaker
- Subject: Re: UI Scripting FileMaker
- From: Bill Cheeseman <email@hidden>
- Date: Sat, 26 Jul 2003 08:11:35 -0400
on 03-07-25 4:49 PM, David Graham at email@hidden wrote:
>
On Friday, July 25, 2003, at 03:13 AM, Bill Cheeseman wrote:
>
>
> FileMaker has been a problem case. Give me 2 or 3 specific buttons in
>
> specific windows, and I'll see what I can do.
>
>
The only things I've been able to get to work are: 1) Menus, and 2)
>
using 'keystroke' to access default and cancel buttons. Every dialog
>
and every button appears to be inaccessible. Of primary interest though
>
are two main dialogs: 1) The import dialog elements: Import button and
>
'View by' pop up menu, and 2) The Keep/Replace radio buttons when
>
closing a script that has an appropriate step (e.g., Page setup, Import
>
order, etc.).
You didn't give me enough information to be sure which interface elements
you mean, but from the context it sounds like you're trying to script the
script creation dialogs.
I can't make them work, either from UI Browser or GUI Scripting. This
confirms previous attempts, both here and by others, suggesting that
FileMaker Pro does not support the new Accessibility API for many of its
buttons. This is turn suggests that FileMaker Pro does not use current
standard Carbon APIs for its buttons, since the standard Carbon APIs do
support the Accessibility API. I am using FileMaker Pro 6.0v4, which I
believe is the latest.
If you create a new, blank, Untitled FileMaker Pro database window, then run
the following script, you will see FileMaker come to the front and the
ScriptMaker dialog open. Then watch the dialog during the 5-second delay and
you will see the Import... Button flash, indicating that it has been
clicked. But the File Open dialog that should open, doesn't open.
tell application "FileMaker Pro" to activate
tell application "System Events"
tell application process "FileMaker Pro"
click menu item "ScriptMaker
" of menu "Scripts" of menu bar 1
delay 5
click button "Import
" of window "Define Scripts for 3Untitled.fp52"
end tell
end tell
We will have to wait for the folks at FileMaker, Inc. to fix this.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
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.