PDA

View Full Version : Automator: When droplet gets null, open file selector?




ab2650
Mar 13, 2009, 02:17 AM
Howdy everyone. Maybe someone has more of a clue about Automator than I do... I've created my workflow to my liking but it operates in two discrete ways, and so i've saved it as two separate apps:

1) The first app when launched presents the user with a file select dialog; They select the files and then it does it stuff.
2) I removed the first action and saved the app, this time as a "droplet" that takes the input from a file dropped onto it.

They both work, however I would like to unify them into a single app... I realize that "if...then" conditionals aren't present in Automator. I'm not sure what to do to get it to operate how I want. Basically I want it to operate like "if I get a null value at launch, give the file select dialog"

Any suggestions from the gurus?



kainjow
Mar 15, 2009, 07:28 AM
You might need to switch to AppleScript if you need finer control.