Skip navigation

Automator_jpg to pdf with original file name?

943 Views 7 Replies Latest reply: May 13, 2013 7:11 PM by pjdube RSS
Lindo77 Calculating status...
Currently Being Moderated
May 2, 2013 8:18 PM

How goes there people, good i hope.

 

I am trying to create a work flow or service through Automator in which i can select specific jpg file or files, right click and select service (titled "pdf convertor" i have created) and have jpg convert to pdf with the original fie name.

 

Is there also a way i can have the converted pdf file located into the original file where the jpg is located?

 

Many thanks for you help

 

have great day.

 

Lynden

MacBook Pro, Mac OS X (10.6.8), Automator
  • pjdube Level 3 Level 3 (830 points)
    Currently Being Moderated
    May 2, 2013 9:36 PM (in response to Lindo77)

    Here you go. This does exactly what you want it to do except for one thing, the name of the PDF will be the name of the folder where you have the images. The reason why I did this is because I was not sure what image name you wanted as you will have more than one image.

     

    Below I have included the workflow attached. Now the other thing, is that there are a couple of 3rd party actions which you will have to download, unfortunately.

     

    Here it is:

     

    Screen Shot 2013-05-02 at 11.30.28 PM.JPG

    Screen Shot 2013-05-02 at 11.30.46 PM.JPG

    Screen Shot 2013-05-02 at 11.30.57 PM.JPG

    Here is the workflow you can download.

  • pjdube Level 3 Level 3 (830 points)
    Currently Being Moderated
    May 3, 2013 12:42 PM (in response to Lindo77)

    Hey Lindo,

     

    Thake out Wait for Finder Actions and then try it and see if it works.

     

    Let me know.

  • pjdube Level 3 Level 3 (830 points)
    Currently Being Moderated
    May 4, 2013 8:33 AM (in response to Lindo77)

    The reason why it didn't work is because the workflow you built is not exactly like the one I did.

     

    If you look at my example and yours you will see that right after the first Set Value of Variable that this does not connect to the next action (it shouldn't). As well following right after this you should be a Get Value of Variable (of OriginalFolder) connected to the Get Names of Finder Items.

     

    Fix that and it should work.

     

    Then it should work!!!

     

    Good luck.

  • DavidITGuru Calculating status...
    Currently Being Moderated
    May 13, 2013 1:48 PM (in response to pjdube)

    This worked almost perfectly for me and I am very grateful to you, pjdube, for getting me this far. My missing step was the 3rd party sourced "Get Names of Finder Items".

     

    My only issue now is that I have multi-page TIFFs and this only converts the first page - so infuriating! Is there any way to make it convert all the pages into one PDF?

     

    Thanks in anticipation?

  • pjdube Level 3 Level 3 (830 points)
    Currently Being Moderated
    May 13, 2013 7:11 PM (in response to DavidITGuru)

    No problem David,

    I can assure you that without a doubt that my workflow works above. Can you upload a screenshot of your workflow so I can see where this is going wrong?

    I am assuming that you got the 3rd party action "Get Names of Finder Items" and you put that in the workflow and tried it?

    Another question, what is the average size of the TIFF files do you have?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.