Applescript gurus - automate actions within an app

mmntech

Lifer
Sep 20, 2007
17,501
12
0
I have a piece of video encoding software I want to automate using Applescript. Using Sorenson Squeeze 8.5. Has bad memory leaks so the system has to be power cycled every night. I've set it up to do that and automatically launch the app.

What I need to do now is script the app to run a specific task. Basically, I need it to automatically open the most recent profile (File - Open Recent - newest one in there), then hit the start encoding button.

Don't know much about programming. How would I go about doing this?
 

Net

Golden Member
Aug 30, 2003
1,592
3
81
i think you should do this in applescript. However, while you wait for an answer take a look at Sikuli for fun and future projects (note: it will require the images are the same. i bring this up in reference to the requirement of picking most recent profile)

It's friendly to use for people who don't know a lot about programming. And it can be run from command line.
 

mmntech

Lifer
Sep 20, 2007
17,501
12
0
I figured out a much easier way to do what I needed to in Automator. Now what I need to do is script a delayed startup for it.

So basically I need it to run the encoder app and the Automator script on startup. Easy. However, I need it to delay the automator script to give it enough time for the encoder to load up.