Automator: When droplet gets null, open file selector?

Discussion in 'Mac Programming' started by ab2650, Mar 13, 2009.

  1. ab2650 macrumors 6502a

    Jun 21, 2007
    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?
  2. kainjow Moderator emeritus


    Jun 15, 2000
    You might need to switch to AppleScript if you need finer control.

Share This Page