change .aspx files to .pdf

Discussion in 'Mac Basics and Help' started by rcoulson1, Nov 19, 2015.

  1. rcoulson1 macrumors newbie

    rcoulson1

    Joined:
    Nov 19, 2015
    Location:
    Fayetteville, GA
    #1
    Does anyone know a script to automatically change downloaded .aspx files to .pdf
    I get aspx files from my utility company and DreamWeaver always tries to open them but it only opens code.
    When I change the file to .pdf Adobe Reader or acrobat opens it and it is fine.
     
  2. Ebenezum macrumors 6502a

    Joined:
    Mar 31, 2015
    #2
    Automator should be able to handle this. I haven't tested this but it should work:

    Create new "folder action" in Automator. Select folder which contains items you want to change. Then add "Rename Finder items" action and select "Replace text" from the menu. Then add .aspx to find field, select (not sure what this option is in english) "only specifier" and add .pdf to Replace field.
     

Share This Page