Forum NewsForumsHTF Chat Hardware ReviewsSoftware Reviews HTF Events
Home Theater Forum
Home Theater Forum
Home Theater Forum

Home Theater Forum
Home Theater Forum
Home Theater Forum Forum Search: 
 
Web Search: 
 
Home Theater Forum
Home Theater Forum
Home Theater Forum


 
Forum Jump

Forum Sponsors

Home Theater Forum > Other Diversions > Computers and HTPC > Apple and Macintosh
[ Automator: its use and some thoughts ]

Post New Thread  Reply

 
Thread Tools Search this Thread
Home Theater Forum
Old 12-20-2007, 05:24 PM   #1 of 7
DaveF
Member
 
Join Date: Mar 2001
Local Time: 06:07 PM
Local Date: 07-23-2008
Posts: 4,739

Automator: its use and some thoughts


Automator provides a tool for my favorite form of engineering: spending 10 hours to save 10 minutes. More practically, it's a powerful tool that you, average-mac-user, can use to make mini-programs to perform repetitive tasks for you.

So putting my vacation time to good use, I've created my first Automator application, a video import workflow. I'm using a digital camera for video recording. To use the video, I must manually copy it to the Mac, then convert the MPEG-1 video to H.264 QuickTime format with MPEG StreamClip, and then import it into iMovie 08. Since learning about Automator, I wondered if I could, well, automate this process. I can, after a fashion.

In a nutshell, Automator is an OS X-based scripting system. If you can do it by mouse clicks and keyboard presses, you can probably do it with Automator. If it's a repeated task, then you can make a workflow that does the repeated action: teach a man to fish and he's fed for a lifetime; teach his computer to fish and he can surf the web while his computer prepares dinner!

I'm sure there are scripting programs on Windows. But I've never seen them, wouldn't know where to begin, and have no idea if they are free and GUI-based. Despite all of Automator's weakness -- and they are legion -- this fact remains: it exists and it works. I can do things on my Mac that I can't do on a PC, period.

What I did is string together a bunch of pre-fab steps and record-my-mouse steps to make a custom program that automatically imports my video to iMovie. The main steps are:
- Quick iPhoto (it always launches when camera is connected)
- Copy all MPG video from my digital camera to Movies
- Delete undesired data files from my camera

- Launch MPEG StreamClip
- Open Batch Mode, select the movie files, choose my custom conversion parameters, and start the process
- Wait for the user (me) to click a button saying the the process is done
- Quit MPEG StreamClip & delete the MPG files

- Launch iMovie
- Import Movies... selecting the (new) MOV files, and set it to be a new Event titled "Import"

I created three workflows, indicated by the above breaks, to test the major sections independently. I planned to use an Automator feature to string them together. In doing this, I was learning Automator; I had nothing to start from. So, the first problem is that Automator's documentation is terrible. Nor are there any online tutorials to help. I couldn't even find a decent book to buy.

Overcoming that, I found that unless an application of interest has specific Automator "Actions" -- hooks that Automator uses to do things elegantly -- you'll have to use the "Record Me" feature to record mouse and keyboard commands. iMovie 08, a premiere Apple app, has no Automator actions (sigh). Unsurprisingly, MPEG Streamclip doesn't either. The record-me feature is robust, but this means you can't leverage the variables, built-in directory settings, and general customization features of Automator. So I had to hard-code file locations and "cheat" to get it working. Not as full-featured as I wanted.

Despite these woes, I got the whole process working and it requires only one input from me in the middle. I can fire it up, walk away for an hour, come back click the continue button and leave again. When I return, iMovie is ready for me to start editing.

Automator has quirks for sure. I can only hope for version three, at this point. And I hope a good tutorial or users' book comes out. Regardless, I've never done anything like this before under Windows. If you do repetitive or tedious tasks, I encourage you to try Automator.

Last edited by DaveF : 12-21-2007 at 10:19 PM.
DaveF is online now Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
HTF Ads



Sponsored links



Home Theater Forum
Home Theater Forum
Old 12-21-2007, 12:18 PM   #2 of 7
Daryl L
Member
 
Join Date: Sep 1999
Local Time: 06:07 PM
Local Date: 07-23-2008
Posts: 1,025

Re: Automator: its use and some thoughts


Automator is a very powerful app, especially if you get familiar with using it. Unfortunatly I've only used it to sequentially rename multiple images so it's still a bit intimidating to me.

BTW, in Leopard an automator workflow saved as a context menu plugin is buggy. Plus when creating a rename workflow auto offers to include a copy option and if you chose yes the workflow fails, but if you choose no and drag copy manually it works.



Daryl L 
MacBook Pro 2.4GHz C2D
2GB Ram, 160GB HDD
15" LED Glossy Widescreen
NVIDIA GeForce 8600M GT 256MB GDDR3 Vram
Click to view my Home Theater gear
Daryl L is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
Old 12-21-2007, 05:21 PM   #3 of 7
Ronald Epstein
Ronald Epstein
Owner
 
Join Date: Jul 1997
Local Time: 06:07 PM
Local Date: 07-23-2008
Posts: 22,800

Re: Automator: its use and some thoughts


Dave,

I am glad somebody investigated what Automator was all
about. I see the little ROBOT icon but had no idea what it does.

Would LOVE to use it but offhand, I can't think of any tasks I
need to have automated.

Another feature I don't seem to have use for is SPACES.
Looks cool, but not sure why I need 4 different desktops.

My problem is is sheer time. With my day job and running
this forum, I just don't have time to investigate all these programs.
If I can't figure it out in 60 seconds or less my "ADD" mind just
wants to move on to something else.





Ronald J Epstein
Home Theater Forum co-owner
Email me at: repstein@hometheaterforum.com
To View My Massive DVD Collection Click Here
Problems with the forum software? Email: packy@hometheaterforum.com
Ronald Epstein is online now Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
Home Theater Forum
Home Theater Forum
Old 12-21-2007, 10:23 PM   #4 of 7
DaveF
Member
 
Join Date: Mar 2001
Local Time: 06:07 PM
Local Date: 07-23-2008
Posts: 4,739

Re: Automator: its use and some thoughts


Daryl -- I hope you submit your bugs to Apple. Automator is pretty cool, but it's riddled with stupid bugs that need fixing. As for file renaming, there are freebie apps that do that too.

I'm like a dog gnawing a bone on this sort of problem: I love to spend several days chewing on it, to figure it out my free time. It's oddly relaxing. I'm an engineer, it's what I do.

I have trouble thinking of Automator uses, but this video conversion process I do every two weeks, it's complicated and takes some time. It feels like a good Automation use.

If you do something repetitively with managing this forum, Automator might be able to help.

As for Spaces, well, that deserves its own thread (I'm finding they help me focus on certain tasks and manage my windows on a 15" laptop)

Last edited by DaveF : 12-21-2007 at 10:25 PM.
DaveF is online now Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
Old 12-25-2007, 07:04 PM   #5 of 7
ErichH
Member
 
Join Date: Mar 2001
Local Time: 06:07 PM
Local Date: 07-23-2008
Posts: 1,069

Re: Automator: its use and some thoughts


Apple Script has evolved over the years, but it's far from auto (mater)

More and more scripts are being published for us ADD guys (as Ron says)
ErichH is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
Old 12-26-2007, 12:12 PM   #6 of 7
Christian Behrens
Member
 
Join Date: Mar 2000
Local Time: 03:07 PM
Local Date: 07-23-2008
Posts: 856

Re: Automator: its use and some thoughts


Automator is cool, if you find the "Automator actions" you need. There are a few good resources out there, like www.automator.us.

My dad needed an easy way to export pictures out of iPhoto in a certain size and burn them to CD, and Automator allowed me to do just that without him having to remember the exact steps and settings.

(For image related actions, check out the ones for "Preview".)

-Christian



\"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.\" (Benjamin Franklin)
Christian Behrens is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Home Theater Forum
Old 12-26-2007, 06:13 PM   #7 of 7
Daryl L
Member
 
Join Date: Sep 1999
Local Time: 06:07 PM
Local Date: 07-23-2008
Posts: 1,025

Re: Automator: its use and some thoughts


Quote:
Originally Posted by DaveF
Daryl -- I hope you submit your bugs to Apple. Automator is pretty cool, but it's riddled with stupid bugs that need fixing. As for file renaming, there are freebie apps that do that too.
They had already been submitted. I learned about them on Youtube.



Daryl L 
MacBook Pro 2.4GHz C2D
2GB Ram, 160GB HDD
15" LED Glossy Widescreen
NVIDIA GeForce 8600M GT 256MB GDDR3 Vram
Click to view my Home Theater gear
Daryl L is offline Quote this post in a PM Send Support Ticket
Digg this Post!Add Post to del.icio.us
Reply With Quote Multi-Quote with this Post
sendpm.gif
Home Theater Forum
Post New Thread  Reply



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

All times are GMT -5. The time now is 05:07 PM.
Total Page Views Since 7/8/2006: 149,714,418 | Page Views Today: 165,534


Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0

© 1997-2008 PARRON Enterprises, LLC
No part may be copied or reproduced without the
express written permission of the owners of this site.

  
Skin Chooser: 
Forums Directory