Saturday, August 19, 2017

#1 2007-03-04 12:57:18 am

Kevin Bradley
Administrator
From:: Independence, MO
Registered: 2006-03-13
Posts: 548
Website

Undo and Applescript

Because Applescript uses the system's event queue, some actions done with Applescript are reversable.  For example, if you use a script to move a file, you can check the Edit menu in the Finder and you'll see "Undo Move of 1 Item."

This works in OS X Tiger, not sure if it works before that. 

May not work in all applications, depending on what you've asked Applescript to do.  For example, if you use a script to enter text in TextEdit, it doesn't recognize the addition as "undo-able" because it wasn't typed.


Nitewing '98
--
I distrust morning people, largely because I suspect them of getting together early one day while the rest of us were asleep and setting up the rules of civilization.

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)