Jump to content

Cooldude9210

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Cooldude9210

  1. Hello! I'm having troubles with the "Copy to..." and "Move to..." universal actions with this workflow. I'm able to see files just fine by searching, but the universal actions don't work (see Workflow Log). When I look at the debugger, the output shows nothing being passed on to the script. I ran the diagnostics, and it seems like everything is good there (Debug Results), so I'm not sure what to do from here. Any help would be greatly appreciated. Thank you!

    Debug Results.png

    Workflow Log.png

  2. On 8/31/2022 at 1:58 AM, Andrew said:

    @Cooldude9210 The default combo for Reveal in Finder is ⌘Enter - could it be that you're hitting this combo instead of just Enter?

     

    Try disabling this combo in Alfred's Advanced preferences and see how you get on.

     

    Cheers,

    Andrew

    I've figured out what was going on. I've also got BTT installed, and apparently at some point I decided to implement a shortcut that pressing Enter while in Shortcuts would press CMD+Enter. I never pieced it together that it was only happening while Shortcuts was in focus, since the act of opening the app's location changed the focus to Finder, therefore the BTT shortcut no longer was implemented. I figured this out because it was also doing it when I tried to run a shortcut from alfred while Shortcuts was in focus and so it was asking for an argument. I tend to forget that Alfred doesn't take focus when called up.

  3. Occasionally, Alfred will open the Finder location of an app, rather than opening the app itself. I think I might be typing fairly quick, so I'm not sure if Alfred is just loading the file path and then seeing the app, so when I press Enter too quickly it's opening the file path, rather than loading the result and then trying to open the App. Is there anything I can do to eliminate this behavior?

  4. On 8/24/2022 at 4:41 PM, vitor said:

    Welcome @Cooldude9210,
     

    The variable isn’t equal to work, it’s equal to /Users/Cooldude9210/Alfred/at_work.txt. If you want the contents of the file, then you first need to do that: there is an Automation Task to Read File Contents. You may need to add a Transform Utility right after it to Trim Whitespace.

     

    Oh good God...that makes so much sense! Thank you!

  5. So, I'm trying to have the function key do a certain action based on what the environment variable is set to. In the configuration, I have the environment variable At_Work set to "/Users/Cooldude9210/Alfred/at_work.txt". Then, in the workflow, I have a hotkey attached to a conditional that says "if {var:At_Work} is equal to work then at work", and the text file is set to "work", and yet I get nothing happening. 

     

    Debug says:

    "Processing complete

    Passing output '' to Conditional"

     

    What am I doing wrong with the environment variables?

    Screen Shot 2022-08-24 at 9.48.32 AM.png

    Screen Shot 2022-08-24 at 9.48.42 AM.png

    Screen Shot 2022-08-24 at 9.48.53 AM.png

    Screen Shot 2022-08-24 at 9.49.04 AM.png

×
×
  • Create New...