Jump to content

Search the Community

Showing results for tags 'pdf'.

More search options

  • 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
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting


  • 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 16 results

  1. xilopaint

    Word to PDF Converter

    Hello guys! Since Convert word document to PDF by vdesabou does not work with Microsoft Word 2016, I have created this workflow (my very first one) to address this need. Hope it can be handy. ______________________________________________ Description Convert Word documents to PDF by using a keyword or a file action. Usage Enter the keyword wpdf or a hotkey to convert an active Word document to PDF. Select one or more Word documents in Finder and convert them to PDF by entering the keyword wpdf combined with the ctrl modifier key. Select one or more Word documents in Alfred and enter the file action Convert to PDF document to save them in PDF format. Select one or more files in Finder and enter a hotkey to save them in PDF format. Download from Packal
  2. Alfred PDF Tools A workflow for Alfred 3. Description Optimize, encrypt and manipulate PDF files. Download and Installation Download the workflow file from GitHub releases and install it by double-clicking on Alfred PDF Tools.alfredworklow. 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 set once no value is input). The document will be improved on the process with increased contrast and text straightening. Invoke Alfred and type the keyword progress if you want to track the optimization process; 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). 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). 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 on GitHub. Credits This workflow relies on PyPDF2 library currently maintained by Phaseit, Inc., Alfred-Workflow library by Dean Jackson, K2pdfopt by Johannes Buchnerand, Send2Trash by Virgil Dupras and docopt. The code for the `Crop` file action was mostly created by Matt Gumbley (Stack Overflow) and changed by Hanspeter Schmid to deal with already cropped pages. License Alfred PDF Tools code is released under the MIT License.
  3. 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
  4. 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.
  5. 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.
  6. Gnosis Read (ἀνάγνωσις, anagnosis) more; seek to know (γνῶσις) more. Gnosis. Navigate ePubs and PDFs by TOC bookmarks – sections/chapters – for currently open file or search all bookmarks and open an ebook to that page, chapter, or section. Preview, Skim, and Acrobat for PDFs; calibre-viewer for ePub. Alfred 3. Usage Config Optional workflow environment variable : DB_ENGINE=postgresql (some instructions in README.md, default is sqlite) Commands .gnothis - search and go to bookmarks for currently opened ePub or PDF .gnosis - search and go to any bookmark for file type : PDF when in PDF viewer, ePub when invoked from calibre-viewer. .gnoall - bookmarks of any type .gnoedit - edit ePub (in BBEdit, later configurable) Command-line /usr/bin/python gnosis.py -c - remove bookmarks for deleted files /usr/bin/python gnosis.py -i ~/folder - batch import Install https://github.com/gennaios/alfred-gnosis/releases Notes As this is my first workflow and first python project, who knows what needs to be done, changed, or improved. Unsure of what may change as others provide feedback. DB of stored data may change; migrations may be possible or a bit of work. Be prepared to if necessary manually edit SQL tables or reimport; the only loss would be sort order of previously viewed bookmarks. I hope that won't be necessary. Todo Some planned, others who knows: better ePub 2 support for files sometimes differently structured; ePub 3. PostgreSQL search all matches by bookmark entry title, section (Part 1 … > Chapter 1 … > Section > …) and file name; SQLite currently searches only by title and section, severely limiting search results. Any help with that would be appreciated. cover thumbnails As it is live search against a DB, search all query times on my setup are a bit slow. May investigate other full-text search engines such as Sphinx. PDF annotations auto cleanup no longer valid bookmarks from deleted files browse calibre library?
  7. 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
  8. 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
  9. 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
  10. 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 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)
  11. lmartins

    Request: Image Convert

    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
  12. xilopaint


    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
  13. Pennyworth

    Safari Reader to PDF

    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
  14. 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!
  15. 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!
  16. 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.