![](http://content.invisioncic.com/r229491/set_resources_12/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Alfred-Chris
-
Posts
35 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Alfred-Chris
-
-
Thanks a lot for your help @Stephen_C
Unfortunately I don't know what to do when clicking on "Options" (screenshot below).
Also I don't know how to sort the workflow for "gallery Updates". I can't see such an option anywhere?
Also thanks again @vitor
I did the "Reinstall Tasks" a couple of times but the behaviour is still the same with the same debugging output "Task Argument Error: Expecting single input. Warnings: None".
I don't think the automation task got updated on my computer.
-
Hello Vitor
Thanks a lot for your answer.
Glad to hear that there was a typo, which could be fixed easily. Thanks a lot for that!
But I can't get the update of the workflow to work.
The workflow doesn't update.
I clicked "Reinstall tasks" and restarted Alfred already, but it always says "1 Workflow can be updated".
-
Hi
I would like to copy a picture of my signature to the clipboard to paste it for example into a word or PDF file.
I do get the Error message in the Debugger and have configured the workflow as shown on the screenshots below.
I am sure there is something simple I need to change but I couldn't find it in the forum.
Workflow[Keyword] Processing complete Workflow[Keyword] Passing output '' to Automation Task ERROR: Workflow[Automation Task] Task Argument Error: Expecting single input. Warnings: None Logging Stopped.
-
Thank you
That's exactly what I was looking for!
-
Thanks for all the explanations and teaching me.
Unfortunately this is not helping my workflow though and it's also not what I tried to achieve and asked for.
There are about 80 files inside this folder, constantly being maintained.
I can unfortunately not just open the "most recent file" to get the one I want.
Edit: Of these 8 files I have a direct link as described above to 8 of them. If I wouldn't need to constantly renew the link that would have helped me. I can't change the way how the filing is done. It's not in my hands.
I guess if you wouldn't know how it works (judging from your status 😉 ), then probably Alfred can't do this specific thing I hoped for.
-
Hi
I have a 2 items in the workflow.
Input: Keyword: "file1"
Action: Open File: "Path to file1"
So I do "apple-space" type "filename" and it opens.
file1 will be called something like "Projectname-projectgroup-subgroup-date-revnumber.pdf"
The Revision of this file changes constantly but old revisions are moved into an archive and only the most recent file is placed inside the folder.
So I would like to simply "cut" the path to the filename like this, or what is possible:
//folder/subfolder/Projectname-projectgroup-subgroup*
This would then always open the latest PDF in this folder, no requirement to rename it for date-revision
I hope that explains it better
-
Hi
I don't know the right expressions for this, so it's hard for me to search for a solution.
Example:
In terminal, if I want to execute a file named 111-222-333.py, I could simply type 111* to execute it, if it's the only file with "111" in the beginning.
I would like to use the same in a workflow in Alfred for the "Open File" command.
What would be the equivalent to open for example a file called 111-222-333.pdf simply with something like 111* ?
Thanks a lot for your help,
Chris
-
Hi Stephen
Thanks a lot for taking the time.
Unfortunately I added the incorrect link to my post above (now corrected).
I installed the "Recent" workflow from https://alfred.app/workflows/jygh/recent-files/
After being guided by you in the right direction, I can now also see the statement on the site to install fd. 🤦♂️🙈
Thanks and sorry,
Chris
-
Hi
I would like to use the "Recent Documents" workflow.
I get the following error message when I execute the workflow and can't find a match on google or here in the forum to solve it.
Can someone guide me into the correct direction?
Thanks a lot in advance,
Chris
[09:59:50.358] Logging Started... [09:59:54.027] Recent Files[Script Filter] Queuing argument '(null)' [09:59:54.190] Recent Files[Script Filter] Script with argv '(null)' finished [09:59:54.192] ERROR: Recent Files[Script Filter] Code 1: Error: the fd command does not exist or is not executable! fd [09:59:54.193] ERROR: Recent Files[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON: Error: the fd command does not exist or is not executable! fd
EDIT: I corrected the link
-
Hi Forum
I would like to create the following workflow and I have no clue how to do this.
I have Projects and the files and folders are always named with a dedicated Project number system.
What I would like to do is to move folders containing all sorts of files into a specific folder based on the "Item Number" (253 in this case) inside the Project P001 file system.
For example: Move the folder "P001-253-001-11-01-File Name" and its contents ...
... to the Folder "253 - Subcategory 3", which is located inside a P001 Project folder.
In case the folder "253 - Subcategory 3" doesn't exist, it would be great if I could create it and name the subcategory within the workflow.
I hope this is easy to understand.
I got helped here in so great ways already. I hope this is not too much to ask for and I hope this is possible 🙂
Thanks in advance for any help,
Christoph
-
Ok, sorry.
That is a bit embarrassing start.
The Example files are in the bottom left corner.
🙄
-
Hi Forum
I received great help here already where forum members created a workflow for me.
Thanks again for that.
Since Alfred 5 I understand that lots of workflows that required programming before, now can be done with these Automations.
So I got really interested and really would like to teach this to myself, since learning how to program was always a too big step for me.
This will be for sure a step by step process and I would probably ask questions here from time to time when I have an issue.
Thanks in advance for any help already 🙂
At the moment I am going through the "Getting Started" and online help files.
And my first issue is that I am not sure where the sample files in Alfred 5 are.
https://www.alfredapp.com/help/workflows/getting-started/alternative-actions/
On this site the text refers to the example "Simple-To-Do-List". But I can't find this in my Alfred 5.
There is no "Get Started --> Workflow Variables" and no "Examples" section.
Is this deleted in Alfred 5 and is there a way to find the example workflow somewhere?
I only have these:
Thanks a lot in advance for your help.
-
Dear Stephen
I thought I followed the installation instructions but thanks for highlighting this again, because I apparently didn't do this correctly.
Now I actually have the workflow working in my Alfred.
And that is fantastic, because I can now try and understand what the different elements in the workflow mean and I can try and understand this a bit better for myself and maybe create some complex ones like these myself.
So thanks to both of you, especially to Vito again for helping and teaching me at the same time
Chris
-
If I compare the python scripts, then it seems that the main change is where the workflow gets cocoa from
from Foundation import NSURL
changed to
from Cocoa import NSURL
Could I not just change this back?
How can I pack an Alfred workflow?
-
In the workflow it states "task missing".
Thank you Vitor
This is really very much appreciated!I installed the workflow.
Please see the screenshot below though that shows "Task missing".
Is this the expected behaviour?
-
EDIT: Please ignore the message below.
Thank you VitorThis is really very much appreciatedSomehow the workflows can't be added to my system, I think.I don't see them in my drop down list of the universal actions.So, if I double click the workflow - I am not sure this (or the previous one from before) gets installed... -
Hi Vitor
Yes I did. I don't know why it doesn't work anymore.
-
Hi, me again 🙂
I am trying to reinstall this script on Alfred 5 and it gives an error message:
[12:24:08.932] Y722 - Approval[Universal Action] Processing complete
[12:24:08.933] Y722 - Approval[Universal Action] Passing output '/Users/ck/Library/Group Containers/3L68KQB4HG.group.com.readdle.smartemail/databases/messagesData/11/317190/Y722-381-001-11-01-E-Railing Arrangement.pdf' to Run Script
[12:24:09.046] ERROR: Y722 - Approval[Run Script] Traceback (most recent call last):
File "/Users/ck/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.CC51F820-FB28-45B0-863F-82CEBC738D11/save_attachment.py", line 14, in <module>
from Cocoa import NSURL
ModuleNotFoundError: No module named 'Cocoa'Is this something where Alfred 5 causes an issue?
-
Juhuuu!
This worked! 🙂
Thanks so much for your help 🙂
-
I found this thread, and I wonder of this is somehow related to my issue:
-
19 hours ago, vitor said:
Running python3 -m pip install PyObjC in the Terminal may fix it.
Unfortunately that didn't fix it yet.
I got the same error message.
I am not sure how to address this issue.
-
Ok,
I guess this means that it doesn't find the right Python (python3) installation.
If someone knows what to do to make it work, that would be cool, elsewise I will need to google my way through it.
Talk later 🙂
-
I get this error message in the log.
I will try and look at the .py file myself a bit later.
Quote[12:15:40.927] Logging Started...
[12:16:07.857] Save Attachment[Universal Action] Processing complete
[12:16:07.860] Save Attachment[Universal Action] Passing output '/Users/ck/Library/Group Containers/3L68KQB4HG.group.com.readdle.smartemail/databases/messagesData/9/280400/example.pdf' to Run Script
[12:16:07.997] ERROR: Save Attachment[Run Script] Traceback (most recent call last):
File "/Users/ck/Library/Application Support/Alfred/Alfred.alfredpreferences/workflows/user.workflow.4F8296F6-812D-4017-B9FE-08B804951DE9/save_attachment.py", line 16, in <module>
from Cocoa import NSURL
ModuleNotFoundError: No module named 'Cocoa' -
Hi Giovanni - thanks a lot for converting the workflow.
At the moment I can't get it to work unfortunately.
It doesn;t even show up in the drop down menu when I use the shortcut on the file.
But I will try again when I have more time.
Thanks again and more later,
Chris
Copy Image to clipboard
in Workflow Help & Questions
Posted
Thanks again for keep helping, @Stephen_C
This is very much appreciated!
I don't know what I did different to last week but doing today the steps below updated the "copyt image to clipboard" workflow and my small workflow now works.
Click configure Object in the workflow
Chose "copy image to clipboard" and click on "Options"
Reinstall tasks
In the lower right corner it then states ""Tasks updated".
And then close the window and save the other window.
Thanks again for the help.
Chris