LeoFCardoso / pdf2pdfocr

A free tool to OCR a PDF and add a text "layer" in the original file, making a searchable PDF. Use only open source tools. Please tip!
Apache License 2.0
273 stars 34 forks source link

Application icon #18

Closed ericmoret closed 3 years ago

ericmoret commented 4 years ago

It would be nice for the installation script to create an icon for the gui that would appear as an Application. This would allow running without starting the terminal.

LeoFCardoso commented 4 years ago

Hi Eric! Please consider create macos App using Automator. Here's a sample screen shot (portuguese)

Captura de tela 2020-04-11 13 00 30
ericmoret commented 4 years ago

Great suggestion, I actually used your script from GUI #6 with slight changes for zsh which is now default in macos Catalina:

source /etc/zprofile
source $HOME/.zprofile

for f in "$@"
do
    /usr/local/bin/pdf2pdfocr.py -st -i "$f"  
done
Screen Shot 2020-04-11 at 9 45 57 AM
LeoFCardoso commented 3 years ago

I'm closing this as we have a good workaround using automator.