Friday, June 23, 2017

#1 2005-10-12 07:07:56 am

julifos
Administrator
From: Malasaña, Madrid
Registered: 2002-11-20
Posts: 2014

How can I script an application that isn't scriptable? (pre OS X)

This is a very common question! And one that, fortunately, has many answers. Here are two solutions:
PreFab Player is an system extension which allows you to script the unscriptable... clicking buttons, checking checkboxes and radio buttons, deciding if dialog boxes are present, selecting items from menus...even in applications that do not have dictionaries of their own.

Applescript:

tell application "PreFab Playerâ??¢"
   type return -- would hit the "OK" button in a dialog box, for example
end tell

QuicKeys is a macro utility that allows you to define shortcuts to do complex tasks in any application. The beauty of QuicKeys is that you can execute AppleScripts from within a QuicKeys sequence and, vice versa, AppleScript can call any previously defined QuicKey (via the scriptable QuicKeys Backgrounder application).


Filed under: PreFab

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.063 seconds, 8 queries executed ]

RSS (new topics) RSS (active topics)