Jump to content

dionmunk

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by dionmunk

  1. I've updated the workflow to work with Alfred 4 and macOS Catalina. All original lines of code are still in all of the script files, just commented out, with my modified lines below them.

     

    Download: Alfred 4 - Rename 4.0 beta 2

     

    I do have a feature request, though. It would be awesome if each captured piece of the filename could have the {find@@replace}{-modifiers} applied to it. So I could do something like the following:

     

    File List:

    This.Is.A.File.Name.For.A.Movie.MP4
    This.Is.Some.other.FILENAME.blah.mp4

    Rename RegEx:

    (.*)\.(.*)@$1{\.@@ }{-t}.$2{-l}

    Results:

    This is a File Name For a Movie.mp4
    This is Some Other Filename Blah.mp4

    This would honestly make the workflow perfect imo. Haha.

     

    Anyway, awesome workflow. Thank you for your work Carlos!!!

  2. 4 minutes ago, deanishe said:

     

    That's the wrong path. The alfred_workflow_data variable is specific to the workflow and already includes the bundle ID.

     

    Thanks for the reply. I tried it without that piece and I get the same result.

     

    Is there a way to view any sort of logging for a workflow? Maybe I can track down where things are going wrong.

  3. I'm on macOS Catalina 10.15 and Alfred 4.05, and I can't get this workflow to work at all. I did have to allow Alfred to have Full Disk Access, Files and Folder access, and Automation access, but that still didn't allow it to function.

     

    I applied a possible fix for the q_workflow.scpt and changed the 7th line:

    set my _data to (POSIX path of (path to home folder)) & "Library/Application Support/Alfred 3/Workflow Data/" & (bundleid) & "/"

    to the following:

    set my _data to (system attribute "alfred_workflow_data") & (bundleid) & "/"

    But it didn't seem to make it work. I tried it with a single file and with multiple files selected. Essentially, when I have a file selected and select Rename, Alfred just disappears and nothing happens. Maybe the fix isn't quite right?

     

    Any help would be appreciated. This looks like such a useful workflow for Alfred and I've been looking for something like this for quite some time. It wasn't until recently that I realized Alfred can perform file operations. 🤦‍♂️

×
×
  • Create New...