3

I'm working on an Automator app that receives folders. So far it looks like this:

  • Set Value of Variable (var1)
  • Ask For Text (default answer set to "00000 Sample Job Name")
  • Set Value of Variable (var2)
  • execute bash script

Automator screengrab Right now one issue that is bothering me is that when I run the app, the dialog that appears for "Ask for text" does not offer "00000 Sample Job Name" as the default, but rather the file path that was passed to the app and assigned to var1.

Why the heck would that be?

Automator 2.5, Mac OS X 10.10.5

  • I think you need to shoe us the code – user151019 Nov 9 '15 at 20:55
  • I agree with Mark - can you specify a version of OS X / Automator and show a minimal version of your code to provide a clear statement of what you have coded and what the results you want are? My guess is you want "foo" to be entered if the user clicks OK and it's not being set? – bmike Nov 9 '15 at 21:05
  • Thanks guys, I tried to address your questions in the edit. Basically just wondering why "foo" is not offered to the user at all in the dialog. I don't really intend for "foo" to carry through, I just think it's messy that they are shown var1 instead, for no reason I can discern. – John McKenzie Nov 9 '15 at 21:14
0

Enable "Ignore this action's input" for the "Ask for Text" action to retain the default value you have specified.

  • Thanks, that's obviously it, feel a little sheepish I didn't try that! – John McKenzie Nov 9 '15 at 21:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .