Automator: Use variable in "Rename Finder Items" action

Discussion in 'Mac Apps and Mac App Store' started by johnnyxhuynh, Aug 30, 2009.

  1. johnnyxhuynh macrumors regular

    johnnyxhuynh

    Joined:
    Jun 17, 2006
    Location:
    Houston, TX, USA
    #1
    I am trying to insert a variable with user-input text (using "Ask for Text" action) into the "Rename Finder Items" workflow action per the instructions provided in this article. I then saved as a plug-in under Print Workflows. No luck. When I execute using Print > PDF, I am asked for the text, but then Automator appears to quit and no further action takes place. There is no output at all.

    Has anyone else had a similar experience and can offer some guidance? Thanks!
     
  2. zippojones macrumors newbie

    Joined:
    Jun 10, 2010
    #2
    Fix!!

    I was having the same problem. I found this website: http://www.macosxhints.com/article.php?story=20080213200213250

    What is has you do is dig inside the automator file and find the name automator is assigning your input text. Once you find it, you just have to put that line of code back inside the automator GUI under the new file name. It works like a charm. When doing it don't forget to add a $ to the beginning of the sequence and remember to put the sequence in parenthesis. Hope that makes sense! Good luck!
     

Share This Page