Konvertering av pdf versjon 1.3 til 1.4

From Biomed

Konvertering av Adobe pdf filer versjon 1.3 til 1.4 ved bruk av script-fil i Mac OS X

Høyreklikk på denne linken, som er et Apple-script og lagre script-filen i din hjemmekatalog (Velg Save Link As...), f.eks. i Downloads-mappen, deretter skal du flytte script-filen over i katalogen "Library/Scripts/Folder Action Scripts" - denne kan du bli nødt til å opprette selv.

Hvis du bruker OS X 10.7 eller nyere er Library mappen i din hjemmekatalog skjult, du kan vise den ved å holde inne alt-knappen (Option key), og velge Go fra Finder-menyen, og klikk på Library. Du må sannsynligvis opprette katalogen "Scripts" i Library-katalogen og deretter katalogen "Folder Action Scripts" i katalogen Scripts. Flytt så filen pdfconvert.scpt over i mappen "Folder Action Scripts" som nå ble laget.

Videre, fortsatt i din hjemmekatalog, lager du en katalog du for eksempel kan kalle pdfconvert. I Finder høyreklikker (ctrl-klikk hvis du bare har én museknapp) du på denne katalogen og velger More -> Configure Folder Actions. (Eller Folder Action Setup, avhengig av din OS X versjon).

Trykk "+" nede til venstre i vinduet som kommer opp, til venstre for knappen med "Show folder". Velg katalogen pdfconvert. Så kommer nok et vindu der du skal velge "action" - velg pdfconvert.scpt som du kopierte inn på plass litt tidligere.

Når du er ferdig skal du ha et vindu der det er haket av for at Folder Actions skal være enablet, det skal være haket av ved siden av teksten "pdfconvert" i venstre boks og ved siden av teksten "pdfconvert.scpt" i høyre boks. Steng vinduet ved å trykke den røde knappen øverst til venstre.

Prosedyren over skal du bare trenge å gjøre én gang. Fra nå av kan du bare flytte en pdf-fil du har generert med Apples pdf-generator eller lagret i Word til katalogen pdfconvert og etter noen sekunder skal det dukke opp en konvertert pdf-fil med samme navn og innhold på din desktop. Du får en pop-up når filen er klar. Når filen er konvertert er det opp til deg om du vil fjerne filen du har lagt i pdfconvert-katalogen.

English:

Converting Adobe PDF files version 1.3 to 1.4 using a script file in Mac OS X

Right click on this link, which is an Apple script and save the script file in your home directory (Select Save Link As ...) eg. in the Downloads folder, then move the script file into the directory "Library / Scripts / Folder Action Scripts" - this you may need to create yourself.

If you are using OS X 10.7 or later, the Library folder in your home directory is hidden. You can display it by holding down the alt key (Option key) and select Go from the Finder menu, then click Library. You will probably need to create the directory "Scripts" in the Library directory and then the directory "Folder Action Scripts" in the directory Scripts. Move the file pdfconvert.scpt into the "Folder Action Scripts" which now was made.

Moreover, still in your home directory, create a directory, you can call it pdfconvert. In the Finder, right-click (ctrl-click if you have only one mouse button) on the directory and select More -> Configure Folder Actions. (Or Folder Action Setup, depending on your OS X version).

Press "+" in the lower left of the window that appears to the left of the button "Show Folder". Select the directory pdfconvert. Then another window shows where you should select "action" - select pdfconvert.scpt that you copied into place a little earlier.

When you are finished you should have a window where it is checked for Folder Actions should be enablers, it should be checked next to the words "pdfconvert" in the left box and next to the text "pdfconvert.scpt" in the right box. Close the window by pressing the red button at the top left.

The above procedure should only needed to do once. From now on you can just move a pdf file you have generated with Apple PDF generator or saved in Word to the directory pdfconvert and after a few seconds a converted pdf file with the same name and content will appear on your desktop. You get a pop-up message when the file is ready. When the file is converted, it is up to you whether to remove the file you have loaded in the pdfconvert directory.