Quantcast
Channel: DEVONtechnologies Community - Latest posts
Viewing all articles
Browse latest Browse all 16117

Creating a Script to automate sequentially entered Menu commands

$
0
0

Good morning!

Is it possible to automate the input of sequential menu commands, such as the following

File: Verify and Repair Database
File: Check File Integrity
File: Optimize Database

I created a Keyboard Maestro script is designed to automate the process of (1) Verifying and Repairing Database (Shift-Cmd-Y), Checking File Integrity (Ctrl-Sift-Cmd-Y), Optimizing Databases (Shift-Cmd-K). To start process, select the top DevonTHINK database, and press “Run.” Repeat sequentially through all open databases. Below is a screenshot of this process.

Two Questions:

(1) Is there a way of performing this kind of script inside of DevonTHINK using native commands?

(2) It is possible to have each step wait until the previous step has finished?

As my Keyboard Maestro script currently stands, I have inserted 1.5 second delay between each step, while allowing a full five seconds pause before running the last step which invokes an “Optimize Database command.” Several of my DevonTHINK databases are so large that it takes longer than 5 seconds to check the file integrity, so the last step is skipped and I must manually enter (Shift-Cmd-K) to optimize the database.

Yours,

Mark


Viewing all articles
Browse latest Browse all 16117

Trending Articles