Jump to content

Alfred-Chris

Member
  • Posts

    35
  • Joined

  • Last visited

Posts posted by Alfred-Chris

  1. Thanks again for keep helping, @Stephen_C :D

    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

    image.png.321c6708d51ff82ababf2db90900442c.png

     

    Chose "copy image to clipboard" and click on "Options"

    image.png.a023f10e2c67f75f324b95b6b78d42df.png 

     

    Reinstall tasks

    image.png.76f48148fb40054175497bdeb4b7a2bb.png 

     

    In the lower right corner it then states ""Tasks updated".

    image.png.1b4072d119cf8ac40698df4699ddf82b.png

     

    And then close the window and save the other window.

     

    Thanks again for the help.

     

    Chris

     

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

     

    image.png.ce1c2d7075e52c752485f03aa3ed7995.png

     

     

    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.

     

     

     

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

     

    image.png.6a9ec3e6d0b18a6845a53fcf651fbd51.png

     

    image.png.2e8613c60d0909ab0fa1a5a8d2a0dff9.png

     

    image.png.8dfecb292b4103931c53c0577ea60caf.png

     

    image.png.b84284f46500300df70b229cf31113ef.png

     

     

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

     

    image.png.8459fe45c9d580c61b1662c02c58dcbb.png

     

    image.png.02d7a6de1064e58fe0f80804b15d8b45.png

     

    image.thumb.png.46a2d3f1905da188d1e8be46135e866f.png

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

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

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

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

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

     

    image.png.f94e186e757dc1002d7eab7198683b91.png

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

    image.png.b4eb7bf75412ee558c9bf49967e4605c.png

     

     

    ... to the Folder "253 - Subcategory 3", which is located inside a P001 Project folder.

    image.png.a305edf4ecbe72dc25c35d6d2ed7a59c.png

     

    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

     

     

     

     

     

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

     

    image.png.e33f13e5f93fdfae3c42d60561e43d6e.png

    image.png.9e6db2ae99044f5e737ecaf23665b939.png

     

    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:

    image.thumb.png.b1a29ebb7fd33862c6dda21f39bb6fa5.png

     

     

    Thanks a lot in advance for your help.

     

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

     

    Chris

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

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

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

     

×
×
  • Create New...