-
Posts
896 -
Joined
-
Last visited
-
Days Won
24
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by xilopaint
-
-
Hey@giovanniI see you're using this fork of the Alfred-Workflow library in the workflows you ported to Python 3. There's an issue in this fork regarding the default_settings parameter of the Workflow class which doesn’t seem to work. You get a KeyError by running this code:
from workflow import Workflow wf = Workflow(default_settings={"arg1": "value1"}) print(wf.settings["arg1"])
Have you ever faced this issue or have any idea on how to fix it? I have my own fork of deanishe's library which is being used by some people and I'm interested to fix this issue.
-
17 hours ago, Yoyontzin said:
How do I install it?
You can download it from the GitHub releases page: https://github.com/xilopaint/alfred-pdf-tools/releases/latest
-
-
14 hours ago, TomBenz said:
It is extraction of pdf bookmarks into text and excel file with same filename with bookmark as suffix. I posted Python code for it in a separate thread and have been able to make it work via Alfred. When I am reading large technical pdf document, I extract bookmark into excel, allocate time to topics, exercises and then work on the document. I also take some notes if needed in excel file.
Where's the code?
-
18 minutes ago, 2pilvic said:
The flow stopped working for me and I don't know what could have happened. I reinstalled macOs and it hasn't worked since. The mistake is:
ERROR: Alfred PDF Tools[Run Script] xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
The /Library/Developer/CommandLineTools/usr/ folder only contains the “share” and “lib” folders
I'd appreciate your help
You just need to install Command Line Tools. Run this command in Terminal:
xcode-select --install
-
On 1/2/2023 at 8:32 AM, TomBenz said:
@xilopaint Two questions on Alfred's PDF workflow:
1. Can 'Optimize' option lead to pdf files with size bigger than original? I have used default resolution (i.e no input which leads to a file size bigger than the original). I will test it more if this is not accepted behaviour.
It’s possible. The Optimize file action is intended to improve the appearance of low quality PDF files that are made from images (e.g. scanned documents). But I would say if the input PDF file has a higher resolution in comparison to the selected resolution it’s more likely that the output PDF will have a smaller size.
On 1/2/2023 at 8:32 AM, TomBenz said:2. Is it possible to add 'extract bookmarks' from the selected pdf file into text file? Request you to consider this feature. Are there other workflows that can address this?
Could you explain further how the feature would work and why you need it? Would the text file be a simple .txt file?
-
-
-
-
@vitorI updated the workflow a couple days ago to v1.4.1 but I still can't see the new version in the Gallery.
-
On 12/1/2022 at 3:37 AM, Sabry said:
For some reason, I am unable to optimize pdf documents although Alfred's debugger does not indicate any problem. Below is the output. Would you be able to help? Many thanks in advance.
[08:27:55.823] Alfred PDF Tools[File Action] Passing output '/Users/sabryeldeeb/Downloads/MBL Abha SEVEN/DESIGN REPORT/6ABHA09-ABHA-FC-DAE-GE-DEC-00001-B-ABHA IFC REPORT copy.pdf' to Arg and Vars
[08:27:55.825] Alfred PDF Tools[Arg and Vars] Processing complete
[08:27:55.826] Alfred PDF Tools[Arg and Vars] Passing output '' to Keyword
[08:27:59.478] Alfred PDF Tools[Keyword] Processing complete
[08:27:59.484] Alfred PDF Tools[Keyword] Passing output '100' to Replace
[08:27:59.486] Alfred PDF Tools[Replace] Processing complete
[08:27:59.487] Alfred PDF Tools[Replace] Passing output '100' to Run ScriptSorry for the late response. Could you share the PDF file via PM? I don't have any issues with Optimize file action.
-
On 12/15/2022 at 3:56 AM, cage.chung said:
Hi, xilopaint
Thanks for your feedback. Could you give more information about What is workflow definition? As a microservices developer. encode/decode/jwt/string case ects. is daily workload essential tools. That's why i create this workflow.
"for workflow developers" sounds like to developer develop workflow? Do i miss understanding?
Oh, I'm sorry. Now I see I got confused about the purpose of your workflow. It's not intended to provide tools just for workflow developers, but for developers in general. Anyway, I still think your sentence is not well worded, perhaps it should be better phrased as "A Swiss Army knife for developers". The way you wrote ("for developers for Alfred") sounds odd in English, at least for me.
-
57 minutes ago, xilopaint said:
@vitordo you know where I can find 256px or larger icons of macOS versions? I can only find 240px images at apple.support.com. My plan is to replace all 128px images in my workflows with 256px ones.
Never mind I just pushed an update with 256px images for macOS icons from 10.15 to 13 and used a 240px image just for 10.14 which I couldn't find a larger version.
-
@vitordo you know where I can find 256px or larger icons of macOS versions? I can only find 240px images at apple.support.com. My plan is to replace all 128px images in my workflows with 256px ones.
-
This is useful. It would be a nice workflow for the Gallery, @vitor.
-
On 12/12/2022 at 8:29 AM, giovanni said:
@xilopaint This works for me. Let me know if you see anything off.
Hey, it works! Thanks a lot!
-
I adopted 128 px because of this @Andrew's old post:
But that was written 9 years ago, I understand things have changed since then.
-
3 minutes ago, vitor said:
256px. When you add an icon to Alfred, it should be auto-resized.
Definitely too small. I recognised the icon you were using for this one and went to get it again from System Information.
Too small just for the Gallery or even for the workflow?
-
2 hours ago, vitor said:
Thank you for the notice. Will be fixed soon.
Thanks for the fix.
Now we have the Gallery, what's the recommend size for the workflow icon? I've been using 128px for my workflows. Is that enough? I see you using 256px or even higher in some of your workflows. -
On 11/27/2022 at 9:50 AM, xilopaint said:
Hey @vitor, just to let you know I removed OneUpdater and updated the icon. I haven't made a new release though, so the new changes will be available in a new release once the Gallery is launched. Should I commit a version bump now?
@vitorthe Gallery shows the old workflow icon. Could you update?
-
@giovanni I see you ported some of deanishe’s workflows to Python 3. Have you already done this with the Reddit workflow?
-
This is one of my most used workflows. Is the creator a forum user? It would be nice if it could be conformed for the Gallery.
-
On 11/2/2022 at 12:33 PM, cage.chung said:
A Swiss Army knife for developers for Alfred.
My English is far from great, but the description in the workflow and README would be more accurate and better worded if you replaced "for developers for Alfred" with "for workflow developers".
-
38 minutes ago, Benzi said:
@vitor Hi! would you (or anyone else) be able to help and check if version 1.9 is suitable? I've updated it to use User Configs and tried to codesign it.
Add the workflow file as a release asset. You don't need to do it in the repo itself.
Making Python 2 Workflows work on macOS Monterey 12.3 and above
in Workflow Help & Questions
Posted
@vitordo you have Python 2 installed? If so, could you check if this code works with deanishe's library?