Player
Info
Player Data Sheet
Player is a faceless background application (similar to a system extension) that adds verbs to Frontier and AppleScript to query and manipulate the Macintosh user interface.
The features you need
Menus
- choose commands from pull-down menus, including hierarchical menus
. . . by name, partial name or position number
. . . optionally holding one or more modifier keys- choose from pop-up menus
Dialogs
- click buttons, select radio button options
- check, uncheck or toggle checkboxes
- click unnamed objects (e.g. iconic buttons) by unique ID
- navigate file open & save dialogs
Keyboard
- type text
- enter command/shift/option/control key combinations
- hit function keys, arrows, and other special keys
Mouse
- click (usually relative to the frontmost window or dialog)
- drag ... including through an entire sequence of locations
Query
- determine if a menu, dialog item or window exists
- get the name and attributes of menus and windows
- find the name, value or contents of dialog items
Balloon help
- shows the name, ID, type & XY location of any user interface object
For the scripting language of your choice
Frontier's UserTalk:
with Player chooseMenu("File", "Page Setup") selectRadio("US Legal") acceptDialog()with Player, keys, modifiers typeCombination(cmd, "s") choosePopup("Format", "MacWrite") typeText(rightArrow + ".MWP") clickButton("Save")
AppleScript:
tell application "PreFab Player" do menu menu item "Page Setup" of menu "File" click radio button "US Legal" type enter end telltell application "PreFab Player" type "s" holding command do menu popup item "MacWrite" of menu "Format" type {right arrow, ".MWP"} click button "Save" end tell
vs. QuicKeys/Tempo
Copyright 1993-2006, PreFab Software, Inc. All Rights Reserved.