Jump to content

Search the Community

Showing results for tags 'PDF'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
    • Advanced Tips & Tricks
  • Alfred Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting
  • Alfred 5 Early Access
    • Alfred 5 Early Access


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start




Website URL




Found 17 results

  1. Hi, There was a Alfred v1 plugin which allowed to pick an image from finder, and convert it's format. I used it quite frequently to convert from png to jpg Another small feature that I would love to be able: 1) pick a bunch of images on finder 2) activate a trigger 3) convert all those images to a unique pdf With so many awesome workflows popping up i know it's just a matter of time. If anyone knows solutions for this please share. Cheers
  2. Alfred PDF Tools Description Optimize, encrypt and manipulate PDF files using Alfred. Usage Alfred PDF Tools can be used by the following file actions: Optimize: Optimize the selected PDF files by entering the intended resolution of the output file (150 dpi is used if no value is input) and the document will be improved with increased contrast and straightened text; Deskew: Straighten the selected PDF files with no further appearance changes; Encrypt: Encrypt the selected PDF files by entering a password; Decrypt: Decrypt the selected PDF files by entering their password or just ↩ if they’re not password protected; Merge: Merge the selected PDF files. Use the ⌘ modifier key if you also want to move the source files to Trash; Split by Page Count: Split the selected PDF file by page count; Split by File Size: Split the selected PDF file by file size; Slice in Multiple Files: Slice the selected PDF file in multiple files by entering page numbers and/or page ranges separated by commas (e.g. 2, 5–8, 20-); Slice in a Single File: Slice the selected PDF file in a single file by entering page numbers and/or page ranges separated by commas (e.g. 2, 5–8, 20-); Crop: Convert two-column pages in single pages; Scale: Scale the selected PDF files to a given paper size. Contribute To report a bug or request a feature, please create an issue or submit a pull request. Credits This workflow relies on PyPDF2 library by Martin Thoma, docopt by Vladimir Keleshev, K2pdfopt by Johannes Buchnerand and Send2Trash by Virgil Dupras.
  3. alfred-convert-word-to-pdf ========================== Alfred workflow to convert Word document to PDF Here is a very simple workflow that convert any .rtf, .doc and .docx files to pdf. I've only tested it with Microsoft Word 2011. It is triggered as a File Action, you can also set an hotkey. Download Download the workflow below and open in Alfred. Download Workflow
  4. PDF Split (File Action) Split a two-page scanned PDF into two separate pages. Accepts multiple files. When used on a file original.pdf, it creates original-split.pdf in the same location. All the action is in splitPDF.py which is a very slightly tweaked version of a script by Hanspeter Schmid posted here. Built with PyPDF2. Download: https://www.dropbox.com/s/ablkq7p94dxnn5l/PDF Actions.alfredworkflow?dl=1 Not as versatile as Skimmer : PDF actions for Skim was, but working and hopefully more future-proof.
  5. Skimmer Actions for PDF Viewer Skim To download, visit the Packal page Version: 2.2.1 Description This is a fairly simple workflow that works with the free Mac PDF app Skim. Skim is a fantastic app with great Applescript support. This workflow provides quick, easy access to a few custom Applescripts that I've written to deal with certain pesky problems I come across when dealing with PDFs.There are currently only 3 actions: Crop and Split PDFExtract Data and Search Google Scholar Search your PDFs First, Skimmer allows you to properly format those darned scanned PDFs. You know the ones I'm talking about, 2 books pages scanned into one, landscape-oriented PDF page. I want all of my PDFs in pretty, proper format with one PDF page corresponding to one portrait-oriented book/article page. In the past, it was quite the ordeal to crop the PDF so that the right- and left-hand margins were equal, and then to split each individual page and finally reconstruct the entire PDF. Skimmer makes this whole process as simple as π. You can use either a Hotkey or the Keyword split to activate this feature. Skimmer then does 3 things: Crop the PDF using a user-inserted Line Annotation (if necessary) (see image below)Split the two-page PDF into individual pagesRe-assemble everything and clean upLet me walk you thru the process. To begin, you will need to ensure that the two scanned book pages have equal margins. Skimmer will split the PDF page right down the middle, so we want the middle of the PDF to be the middle of the two pages. If the margins are unequal, you only need to use Skim's Line Annotation to create a border for Skimmer. Here's an example: Note the small, vertical line at the bottom of the page. Skimmer will crop off everything to the left of this line. You could put the line anywhere on the page. If you the right-hand margin were too big, you could put it to the right, and Skimmer would automatically crop the excess stuff to the right of that line. If both margins are too big, you can put two lines on each side and Skimmer will take care of the rest. Note, Skimmer will crop every page at this point, so find the farthest extremity on any page and use that as your guide. Skimmer can tell what page you are looking at, so it'll make things work (note that in the image above, this is one of the middle pages being used as the cropping template). Skimmer does not crop Top or Bottom Margins, so you will need to manually crop PDFs with wacky top and/or bottom margins. Once Skimmer has cropped the PDF, it will go thru and split each page into two separate pages. Depending on the length of the PDF, this can take a bit (appr. 0.67 seconds per original PDF page). This is all done invisibly tho, so that's a bonus. In order to ensure that Skimer splits the PDF properly, regardless of orientation, the script will split the first page and ask you what portion of the page you are seeing (left-hand, right-hand, top-half, or bottom-half). Your choice will ensure that Skimmer does the splitting just so. After it splits all the pages, Skimmer will save a copy of your original PDF and then close it as it opens the new, split PDF. This new PDF will be properly formatted and saved in the same folder as the original PDF. Here's an example of the PDF above after it was automatically cropped and split: For anyone who deals with lots of scanned PDFs, I can promise you, this is a godsend. The second feature will take OCR'd PDFs and try to extract relevant search information and then search Google Scholar (which will make it easy to then add citation information to your citation manager of choice. Users of ZotQuery will immediately see where I'm going with this...). This feature can be activated by a user-assigned Hotkey or by the Keyword extract when the desired PDF is open in Skim. This feature will look for three possible things in the currently viewed page: a DOI (Digital Object Identifier)an ISBN (for books)JSTOR title pageIf it cannot find any of these things, it will present the user with a list of Capitalized Words from the currently viewed page. You then select whichever words you want to be the Google Scholar query. Once the query is chosen (whether automatically as one of the 3 types above, or user-chosen keywords), Skimmer will automatically launch your default browser to Google Scholar using the query. What you do from there is up to you. Finally, you can also search through all of your PDFs and open any one of them right in Skim. Use either the keyword `skimmer` or the shorter `sk` to begin the query. Then enter your query term. The results will update as you type. You can hit `return` to open any item directly in Skim, or you can `right-arrow` to enter Alfred's file browser for that item. As I said, these are the only two functions for Skimmer currently, but I will be adding at least one more (for exporting notes) soon enough. If you have any killer Applescripts for Skim app, let me know and maybe we can add them in. Here's to PDF management, stephen
  6. Here's a workflow that uses Applescript UI scripting to save the currently open Keynote document as a PDF. It uses the print dialog rather than the Export... menu item to give more flexibility in the layout etc. I've tried to comment the script so that the selections can be easily customized. It stops once the Save... dialog is open, so you can change the filename before saving if desired. This was an interesting project, which will save me lots of mouse clicks in the long term. It's surprising how little Applescript seems to have been written for Keynote. --- Updated 2021-01-05 for Big Sur and Keynote 10 Updated 2014-01-31 to fix Applescript UI click issue introduced with Mavericks ( http://macscripter.n...=170632#p170632 for details ). Still only works with Keynote '09. Updated 2014-04-02 to work with Keynote 6 (finally Apple has restored Applescript to the new iWork!) There are now two keywords kpdf - for use with Keynote 6.2 k5pdf - for use with Keynote 5 (i.e. iWork '09 version)
  7. I would like to use Alfred's builtin `Translate '{query}'`, which uses google translate, to translate local PDF documents in addition to text strings. I know that a link to an online PDF file can be passed to a google translate query in the following way: http://translate.google.com/translate?sl=auto&tl=nl&u=`<URL to any online PDF file>` to translate an online PDF file. This works as expected if I pass the URL to the online file as the query part in Alfred. But that does not seem to work for local files. Is there a way to link local files? I've searched for Alfred workflows that do that but could only find more variations of the builtin translate functionality.
  8. Good day, OK, I am trying to figure out why Alfred will not find a phrase in a pdf that Spotlight finds successfully. So far, I have done the following: Confirmed that Spotlight can do the search successfully. Using the "in" keyword in Alfred, verified that Alfred cannot do the search. I've confirmed my Spotlight prefs are searching pdfs. I've used the "rebuild Mac OS X metadata" from the Alfred control panel. I've waited for the mdimport tasks to complete. I've reset the Alfred search cache. I've entered various terminal commands to rebuild the indices as well. I've pulled out some of my hair and wasted hours of my life looking for additional solutions. I've begun to think about sacrificing a spotless goat and sprinkling it's blood on my keyboard (OK, no I haven't..at least, not recently,) I've worked on this issue on and off for about three months. I'm using Alfred 2.3 (264) without PowerPack, on Mavericks 10.9.3. At this point, I'm ready to seek professional help (both tech support and psychological). Any suggestions/tips/tricks would be greatly appreciated. These links go to screenshots of: The Spotlight search results The Alfred search results The Alfred search preferences The Alfred results preferences So, what am I missing?? Thanks for any help/counseling you can provide. -->John
  9. Maybe you are facing the same problem as me. When I copy something from PDF to Word then the characters with punctuation are represented by two characters where the second one is separated punctuation. It makes problem for checkspelling, printing, ... I have created simple workflow to copy UTF-8 NFC normalized text to clipboard. The text can be pasted into Word as expected. I suggest to use Ctrl-Alt-Cmd-C shortcut for the workflow... The workflow also handles translation of the wrong representation of the character "ž" and "Ž" into the correct one (for czech language). Usage: select a text in PDF press the shortcut (for ex. Ctrl-Alt-Cmd-C) switch to Word press Cmd-V Enjoy.
  10. Description Scan and convert PDF documents and images of text into editable and searchable files using FineReader with Alfred. Usage Using file actions or hotkeys the user can convert one or more PDF documents and images of text (.png and .jpg) into searchable PDFs, Word documents (.docx) or Excel worksheets (.xlsx). Download from Packal
  11. Reference Importer: search for an article/book from a variety of sources and import the corresponding reference data (BibTex, PDF) into BibDesk, copy BibTeX to clipboard, go to the landing page for the article, or copy a formatted reference. Also supports reference lookup from a PDF file. (This workflow was formerly known as "Citation Search" and "AIAA Search") (follow link to GitHub for a more detailed README and download) Update 5/22/2013: added conversion of non-latin characters to proper LaTeX. also removed default cite-key so that BibDesk can populate citekey with user defined style. Update 5/28/2013: fix due to slight change of crossref.org API Update 12/4/2013: major update including improved parsing, getting PDFs in addition to BibTeX, Google Books, Google Scholar, reverse PDF lookup. more details in comments below and in README Update 12/6/2013: improvement to DOI parsing from PDF text Update 3/15/2014: minor fixes and improvements Update 4/2/2014: unicode fix Update 4/3/2014: another unicode fix, this one for google books
  12. Hi -- I'm a long time Text Expander user that has fallen in love with Alfred, and am wondering if I can do everything I need with the latter. One thing I'm still struggling with is how to implement a system to enforce consistent filen aming conventions. Basically I need a system to help me stay disciplined about naming basic PDFs (home and business records) using a convention like YYYY-MM-DD - <vendor> - <account> - <purpose> So my bills would end up being something like 2018-01-15 - ATT - XX5555 - confirmation of invoice payment.pdf I've done this in text expander by creating a snippet that launches a dialog that pre-computes some of the above (like the correctly formatted date) and then gives me drop-down menus to select the vendor, account and transaction type/purpose. An example of this strategy, with screenshots, is nicely written up here. A key benefit is that you can trigger it with a single snippet, and the finish it with 2-3 clicks. I originally tried creating individual snippets for each type of file (e.g. "ATTConfirmInv") but there were too many combinations of vendors and transaction types to remember. This model works well for us. So I'm looking for something that can apply to a breadth of different naming conventions but be triggered by a single keyword, plus some additional user data entry. As far as I can tell, Alfred doesn't have a framework for creating interactive UIs like this. Is there an alternate approach that anyone has worked through that could provide a similar result? I have not explored Alfred workflows yet, so if there is a path using that capability, I'd appreciate some pointers. Thanks in advance! Ramon
  13. I would love to create a workflow to automate the following steps but I have no idea how to go about it and would love to get some help to find a basis to start from: 1) select email in mail.app 2) invoke Alfred 3) type keyword "email to desktop" 4) workflow creates new folder on desktop and rename folder to date of selected email in mail.app + mail subject line (format "2017-12-21 1045 subject line") 5) workflow prints selected email to pdf 6) workflow saves all email attachment files into the same folder RESULT: - one new folder on the desktop, named to the exact date of the original email and including the email as pdf and all email attachments - when selecting multiple emails, each email should result in their own individual folder so that bulk archival is possible I currently do all this manually for every single project related mail - it gets tiring :-( I have basic knowledge how to modify Alfred workflows. I have unfortunately no knowledge about Apple Script :-( In the past I have built myself many Automator Workflows but I cannot get anywhere with Automator regarding this it seems.
  14. Hi All! I'd love a workflow that lets me search easily through all the pdfs on my system. How awesome would it be to quickly bring up a pdf by section, or a past bookmark/annotation? I think it would make a library of pdfs much more accessible. Requesting this workflow/pointing me towards one that already exists/some ideas for how to start working on it. Thanks Max
  15. Hey everyone! I've built an AppleScript workflow that goes like this: Keyword: "pdf" (or Hotkey: CMD + SHIFT + P) Current Safari page renders in Safari Reader File > Export as PDF Auto-save The problem I'm having is that the 'Export as PDF' menu item doesn't work exactly like "Print to PDF." The PDF output has almost zero margins, no header/footer to identify a source, and it's just not as desirable as printing-to-PDF from the print dialogue (though it is more efficient code-wise). Can anyone here tweak the following script to produce the same result through the Print-to-PDF function? I gave it a shot but I'm new to AppleScript and couldn't get it to work. Thanks! on alfred_script(q) tell application "System Events" tell application process "Safari" set frontmost to true # Render page in Safari Reader keystroke "r" using {command down, shift down} # Delay for smoothness delay 0.02 # Export as PDF click menu item "Export as PDF…" of menu "File" of menu bar 1 # Save PDF click button "save" of sheet 1 of window 1 end tell end tell end alfred_script
  16. Hi, Having the downloads from Safari in the Downloads folder is perfectly fine for me for most cases, but sometimes (for automation reasons) I would like to be able to choose where to save a PDF (which is displayed by Safari). And I think a workflow would be great for that! I can probably figure out the last steps of such a workflow to choose the relevant folder with a Script Filter and save the PDF using AppleScript, but does anyone know how I can "extract/access" the PDF in the first place? Thanks a lot!
  17. I really like the file browser function in Alfred, specially for the ability to send files to Evernote. The problem is it won't send PDFs, but just stand there. If I try with a DOC file it works just fine. Any ideas? Thanks!
  • Create New...