Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Finally found a use for Automator!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Finally found a use for Automator!
Authored by: jamus on Dec 29, '05 10:19:02AM

This is the first useful workflow I've done with Automator. I've now created an Automator application that all I have to do is drag the PDF to the icon, and it decrypts the file, then asks if I want to view the decrypted version. Here's the workflow:

1) Get Specified Finder Items
2) Copy Finder Items. (Note, if you use FileVault, you'll probably need to copy the item outside of your home directory. I used /tmp)
3) Apply Quartz Filter. Select "None" as your filter.

That's it for a basic version. Save it as an app.

I added the following:

4) Ask for confirmation. The title is "View PDF" and description is "Would you like to view the PDF file?". I changed the negative button (left) to "No" and the affirmative button (right) to "Yes".
5) Open Images in Preview. It will only get to this step if Yes was clicked in the previous line.

[ Reply to This | # ]
Finally found a use for Automator!
Authored by: salvo on Dec 29, '05 11:34:55AM

Have you thought about changing the buttons to say "Don't View" and "View"?
This may sound petty, but it is part of the Interface Guidelines and is also a smart move.
A guy at work reads every Dialogue Box twice in Windows before clicking "OK" or "Cancel" but still regularly disconnects Network Drives and removes critical Software simply because the Question in the Dialogue Box is Ambiguous.
Although your Question "Would you like to view the PDF file?" isn't Ambiguous to most people, it's still a good Idea to use Verbs as Buttons to remove any doubt whatsoever.

[ Reply to This | # ]
Authored by: asmeurer on Dec 29, '05 11:04:29PM

The GUI Police strike again!!!

[ Reply to This | # ]
Authored by: jamus on Dec 31, '05 08:34:37AM

Even though it's a bit picky for this short workflow, and nothing "bad" could happen by choosing the wrong button, I completely agreed with his point. In fact, I'm grateful that he pointed this out, so I know better when designing future message boxes that could have destructive choice.

[ Reply to This | # ]