Jump to content

Action on file to create subfolder and move it to a specific folder

Recommended Posts

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?

Link to comment

EDIT: Please ignore the message below.


Thank you Vitor

This is really very much appreciated


Somehow 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...

Edited by Alfred-Chris
Link to comment

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 :D



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