Jump to content

Stephen_C

Community Hero
  • Posts

    1,376
  • Joined

  • Last visited

  • Days Won

    68

Posts posted by Stephen_C

  1. The first workflow you mention has, I think, a thread on the forum: here's a link to the last (very recent) post by the developer. You might try the last build mentioned on that thread—and post there with a diagnostics report if you are still having problems.

     

    The last workflow seems to have been withdrawn by the developer, was created under Alfred 2 and is, I suspect, well out of date now. If you search the forums here for Audio Switch you'll probably find a workable alternative. Again, if you choose one and it doesn't work as you wish post in the relevant thread for the workflow and include a diagnostic report.

     

    I hope this is more helpful than it may at first sound!

     

    Stephen

  2. I think you're going to have to tell us exactly which workflows are not working for you—because it's very difficult to make sense of the debug output without knowing which workflow generated it. I don't know which Audio Switch workflow you are using but it's possible this comment may help you.

     

    As a more general tip, when you have a problem with a specific workflow it's good to post in the thread for that workflow so that the developer will see the post. (I do understand you were posting about what seems to be a more general problem in this case.)

     

    Stephen

  3. Does it help if you go to Alfred Prefences > Advanced and check Store typed query under History (if not already checked)?

     

    I have that checked and can see a previous mathematical calculation by opening Alfred and simply pressing the up arrow key.

     

    Stephen

  4. @troutymontreal

    • open Alfred Preferences and go to the problem workflow;
    • assuming you're running Alfred 5, click on the bug symbol at the top right of the window (or press ⌘D);
    • ensure the first dropdown at the top of the debugger window you have just opened is set to All information;
    • run the problem workflow;
    • select the contents of the debugger window, copy them and paste them into a post here.

    Stephen

  5. With apoligies for having been misleading <sigh>…the workflow does in fact work correctly under macOS 13. I've no idea why it initially produced a very odd result for me but I can now confirm it's working. Many apologies for my earlier mistake.

     

    Stephen

  6. I was unsure where to post this and hope this is the correct forum. It's no so much a bug in Alfred and may be a consequence of what Apple has done in releasing macOS 13. There may be oddities where date and time placeholders are used in workflows. For example, my work-around for calculating a relative date no longer works under macOS 13 and the problem appears to be associated with the manner in which the date and time placeholders are used.

     

    I have substantially edited this post after confirming, prompted by @vitor, that the date and time placeholders do continue working under macOS 13—but I believe there may be some problem when they are used in some manner in a workflow (at least in my workflow!).

     

    Stephen

  7. @Gibrus what you are trying to do works perfectly for me. I'm running Alfred 5 (version 5.0.4) on macOS 13.0. I created in a plain text editor a file containing the line you mentioned in your post, saved it with the .csv extension and then dropped that file into a list filter in Alfred. The relevant fields of the list filter were immediately populated with the appropriate fields from the file.

     

    Stephen

  8. 8 hours ago, jjaybe said:

    Do you think it is possible to extend the workflow to open sub-submenus?

     

    @jjaybe I'm afraid that's not currently feasible. It's not possible to add further panes unless we can discover the appropriate identifier for accessing those additional panes. At present I'm not aware of any workable way of doing that, sorry. (If you look at the workflow configuration you'll see a link to a Github post showing, effectively, how the existing identifiers were discovered but that seems to be the limit of people's knowledge and abilities at present.)

     

    Stephen

  9. 51 minutes ago, vitor said:

    What’s it’s doing is nothing. If you change to another pane then open the mouse one, you’ll see it stays in whatever pane you are.

    That may be right if System Settings is left open. However, I invariably close it. Then, on any occasion I search for "mouse" (as in my first post) the "Appearance" pane is opened in System Settings.

     

    Stephen

  10. I suspect I know why this is happening but wanted to report it anyway. I am using Alfred 5 (version 5.0.4 - build 2093) and macOS 13.0. Searching for preference panes in System Settings works well but although searching for "mouse" shows this:

     

    1122126381_Screenshot2022-10-28at14_17_37.thumb.png.d06fd2a19d879b58bc0dfdd524b63e15.png

    going to that first search result goes to the "Appearance" pane in System Settings.

     

    When preparing my workflow for Ventura System Settings I discovered that the "mouse" identifier (x-apple.systempreferences:com.apple.Mouse-Settings.extension) did exactly the same as this search result—and, indeed, it appears there is no specific, principal pane for “mouse” (with various mouse options deep down the mousehole within “Accessibility”).

     

    There were, I think, a couple of other identifiers that did something similar (i.e., went to "Appearance" when they should have gone to a specific, different pane) but I'm afraid I can't now recall what they were. If I can find them and they also produce a similar odd search result I'll edit this post to add them.

     

    Edit: searching for "passwords" produces a similar problem (although "Passwords" does work in my workflow).

     

    Stephen

  11. I'm not sure if your need is more complicated than this, but you can select a file in Finder then use your Universal Actions hotkey and one of the menu items that then appears in Alfred is Add File to Buffer.

     

    If you want a specific hotkey to do only that you can create a workflow using a hotkey trigger and link that to the File Buffer action.

     

    Stephen

  12. I'm afraid I can't give you a complete answer but part of the answer may be in using:

    • an Automation Task Is App Running linked to a Conditional Action (depending upon whether or not the app is running);
    • if the app is running an Automation Task Identify Frontmost App linked to another Conditional Action…

    then (I suspect) linked to some AppleScript—one script for if the app is the frontmost app and one for it it is not. I think part of the AppleScript solution is to use the activate command for the app (which should bring the app to the front, launching it if necessary).

     

    Sorry not to have provided a complete solution but I hope this is at least of some help!

     

    Stephen

     

     

×
×
  • Create New...