Jump to content

Alfred PDF Tools – Optimize, encrypt and manipulate PDF files


Recommended Posts

Ah I see, I had a look at that link can see it becoming quite a tricky task and I think my expectations would be too much.

It would essentially need to copy a date, invoice number and all the line items and their cost into a csv format for it to be worth the time to develop because otherwise, I will still need to copy and paste and manipulate the data which would take me just as long as probably manually entering the invoices.

Thanks for your quick reply.

Link to comment
  • 1 month later...
15 minutes ago, TomBenz said:

### Workflow version
4.2

### Alfred version
5.0.3

### Python version
3.10.7

### PyCryptodome version
Not Installed

### Rosetta installation status
Installed

### macOS version
13.0

### Architecture
arm64
 

 

Please, try to decrypt this file using the password asdfzxcv and tell me if it works. You will be prompted to install PyCryptodome. You can accept it.

Link to comment

I was trying to merge two files. Workflow just didn't returned any results.

here is the !diagnostic data.

 

### Workflow version
4.2

### Alfred version
5.0.3

### Python version
3.10.7

### PyCryptodome version
3.15.0

### macOS version
13.0

### Architecture
i386
 

I am also providing the screenshot of Progress command.

 

Screenshot 2022-10-25 at 5.03.37 PM.jpg

Link to comment

[17:12:03.411] Logging Started...

[17:12:14.560] Alfred PDF Tools[File Action] Processing complete

[17:12:14.572] Alfred PDF Tools[File Action] Passing output '(

    "/Users/shahrukhkamal/Desktop/TRIPLEW DIGITAL SOLUTIONS PRIVATE LIMITED.pdf",

    "/Users/shahrukhkamal/Desktop/Path-Enterprises.pdf"

)' to Arg and Vars

[17:12:14.575] Alfred PDF Tools[Arg and Vars] Processing complete

[17:12:14.578] Alfred PDF Tools[Arg and Vars] Passing output '' to Keyword

[17:12:16.041] Alfred PDF Tools[Keyword] Processing complete

[17:12:16.049] Alfred PDF Tools[Keyword] Passing output 'fs' to Run Script

[17:12:16.397] ERROR: Alfred PDF Tools[Run Script] .

17:12:16 workflow.py:2278 DEBUG    ---------- Alfred PDF Tools (4.2.0) ----------

17:12:16 workflow.py:1681 DEBUG    reading settings from /Users/shahrukhkamal/Library/Application Support/Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/settings.json

17:12:16 workflow.py:2679 INFO     checking for update ...

17:12:16 background.py:214 DEBUG    [__workflow_update_check] command cached: /Users/shahrukhkamal/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/__workflow_update_check.argcache

17:12:16 background.py:218 DEBUG    [__workflow_update_check] passing job to background runner: ['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

17:12:16 workflow.py:2298 ERROR    Command '['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']' returned non-zero exit status 1.

Traceback (most recent call last):

  File "/Users/shahrukhkamal/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D6CC8F42-EEE0-4BF8-9F9B-726975D98C06/workflow/workflow.py", line 2289, in run

    self.check_update()

  File "/Users/shahrukhkamal/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D6CC8F42-EEE0-4BF8-9F9B-726975D98C06/workflow/workflow.py", line 2681, in check_update

    run_in_background("__workflow_update_check", cmd)

  File "/Users/shahrukhkamal/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D6CC8F42-EEE0-4BF8-9F9B-726975D98C06/workflow/background.py", line 219, in run_in_background

    retcode = subprocess.run(cmd, check=True).returncode

  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run

    raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']' returned non-zero exit status 1.

17:12:16 workflow.py:2301 INFO     for assistance, see: https://github.com/xilopaint/alfred-pdf-tools

17:12:16 workflow.py:2322 DEBUG    ---------- finished in 0.048s ----------

 

 

I hope that I am doing this right

Link to comment
9 minutes ago, Shahrukh said:

[17:12:03.411] Logging Started...

[17:12:14.560] Alfred PDF Tools[File Action] Processing complete

[17:12:14.572] Alfred PDF Tools[File Action] Passing output '(

    "/Users/shahrukhkamal/Desktop/TRIPLEW DIGITAL SOLUTIONS PRIVATE LIMITED.pdf",

    "/Users/shahrukhkamal/Desktop/Path-Enterprises.pdf"

)' to Arg and Vars

[17:12:14.575] Alfred PDF Tools[Arg and Vars] Processing complete

[17:12:14.578] Alfred PDF Tools[Arg and Vars] Passing output '' to Keyword

[17:12:16.041] Alfred PDF Tools[Keyword] Processing complete

[17:12:16.049] Alfred PDF Tools[Keyword] Passing output 'fs' to Run Script

[17:12:16.397] ERROR: Alfred PDF Tools[Run Script] .

17:12:16 workflow.py:2278 DEBUG    ---------- Alfred PDF Tools (4.2.0) ----------

17:12:16 workflow.py:1681 DEBUG    reading settings from /Users/shahrukhkamal/Library/Application Support/Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/settings.json

17:12:16 workflow.py:2679 INFO     checking for update ...

17:12:16 background.py:214 DEBUG    [__workflow_update_check] command cached: /Users/shahrukhkamal/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.xilopaint.alfredapp.pdftools/__workflow_update_check.argcache

17:12:16 background.py:218 DEBUG    [__workflow_update_check] passing job to background runner: ['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

17:12:16 workflow.py:2298 ERROR    Command '['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']' returned non-zero exit status 1.

Traceback (most recent call last):

  File "/Users/shahrukhkamal/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D6CC8F42-EEE0-4BF8-9F9B-726975D98C06/workflow/workflow.py", line 2289, in run

    self.check_update()

  File "/Users/shahrukhkamal/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D6CC8F42-EEE0-4BF8-9F9B-726975D98C06/workflow/workflow.py", line 2681, in check_update

    run_in_background("__workflow_update_check", cmd)

  File "/Users/shahrukhkamal/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.D6CC8F42-EEE0-4BF8-9F9B-726975D98C06/workflow/background.py", line 219, in run_in_background

    retcode = subprocess.run(cmd, check=True).returncode

  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py", line 524, in run

    raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'workflow.background', '__workflow_update_check']' returned non-zero exit status 1.

17:12:16 workflow.py:2301 INFO     for assistance, see: https://github.com/xilopaint/alfred-pdf-tools

17:12:16 workflow.py:2322 DEBUG    ---------- finished in 0.048s ----------

 

 

I hope that I am doing this right

It was all working fine before I updated to Ventura last night. Now any function of this workflow is not working 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...