Thursday, April 27, 2017

#1 2005-10-12 07:08:21 am

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

How can I tell if a particular application is recordable?

Open your favorite script editor and press the Record button. Now switch to the related application and perform some basic tasks, such as open windows or type text. Switch back to the script editor and press the Stop button. In the script editor window, you will see the AppleScript commands which were recorded when you performed the tasks.

If the window is empty, the application is not recordable.

While recording a script is a great way to learn, it will usually produce scripts many times longer than they need to be, and after you gain some experience you will be able to go back a tweak recorded scripts to gain leaner, meaner results.

Some sample of recordable applications are Tex-Edit Plus and the Finder (OS 10 thru 10.2 is not recordable, but 10.3, the Panther, is recordable again!).

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.039 seconds, 8 queries executed ]

RSS (new topics) RSS (active topics)