Jump to content

Andrew

Creator
  • Posts

    4,385
  • Joined

  • Last visited

  • Days Won

    254

Reputation Activity

  1. Like
    Andrew got a reaction from Alan He in Keep clipboard history forever   
    With 8 years of experience helping our Alfred users daily, I can say that this isn't always true. A very likely scenario is that a user will blindly select "unlimited", even though they don't need it, ignore the implications warning, then start complaining about Alfred appearing in Apple's "Significant Energy" menu.
     
    As I said, I will very likely add in a longer expiry, but not as a trivial "turn up the volume".
  2. Thanks
    Andrew got a reaction from Alan He in Keep clipboard history forever   
    It's likely that in the future, the maximum persistence time for clipboard history will be increased.
     
    Without going deeply into the architectural details, the reason this isn't a simple "turn up the volume to unlimited" type change is because there is are significant performance considerations.
     
    It doesn't matter if setting the maximum clipboard history makes searching the clipboard history slower, this is, after all, the user's prerogative. The fundamental issue is more about maintaining an extremely large full text index on inserting new text data every single time you cmd+c, leading to higher idle CPU usage (and potentially lower battery life).
     
    Alfred is intrinsically extremely lightweight, so before providing a longer clipboard history, a number of architectural changes would have to happen. For example, one solution could be to automatically archive data every week into a different "long term" store. This would allow Alfred's day to day usage to be extremely fast and low resource use, while providing access to those "every so often" needed items you copied 2 years ago.
     
    To be clear on timescales, any architectural change won't happen on a maintenance release - but rest assured that this feature request is on my radar.
     
    Cheers,
    Andrew
  3. Like
    Andrew got a reaction from teottdel in Trigger snippets directly from Default results   
    Instead of setting up snippets, you could setup a workflow which simply has keywords linked to clipboard outputs, then you have full control over what is typed and what is output... i.e. you could have 'foo' which pastes some text.
     
    Cheers,
    Andrew
  4. Like
    Andrew got a reaction from Floating.Point in Allow App-specific Hotkeys to Use the Same Key Combinations   
    Just as a little sneak... native support for assigning the same hotkey to multiple Hotkey Triggers throughout the same and different workflows is coming to Alfred 4.1
  5. Like
    Andrew got a reaction from christianmagill in Get autocomplete suggestions from external source?   
    @Ben Hull Take a look at the Script Filter workflow object which is designed for this purpose:
    https://www.alfredapp.com/help/workflows/inputs/script-filter/
     
    The JSON format to show items in Alfred is defined here:
    https://www.alfredapp.com/help/workflows/inputs/script-filter/json/
     
    Your script would be responsible for caching the data from your website, but you could select the option to have Alfred filter the results, which would leave you with simply loading the JSON, saving it locally, and then returning it to Alfred.
     
    Cheers,
    Andrew
  6. Like
    Andrew got a reaction from Alan He in Snippets not migrating from Alfred 2 to Alfred 4   
    @Ben C We have an internal tool for migrating Alfred 2 snippets to Alfred 4. Pop an email to our info@ address and I'll share it with you
     
    Cheers,
    Andrew
  7. Like
    Andrew got a reaction from Alan He in Hotkey support   
    I've just added in a ⇧⌘F shortcut in preferences which will highlight the Workflows filter field. I've actually made this global within the preferences too, so if you're not in the workflow tab, the shortcut will switch to the workflows tab, then focus the field.
     
    This will be in the next release.
  8. Like
    Andrew got a reaction from RuslanI in Only system command with no response is "Lock"   
    @Stephen_C in some cases, Alfred is correctly listed in the macOS Accessibility preferences, but the underlying permission isn't set. If you quit Alfred and remove him from macOS Prefs > Security & Privacy > Privacy > Accessibility, then re-add him, then restart, this should allow him to simulate key combos again.
  9. Like
    Andrew got a reaction from dfay in Using PHP on Monterey (macOS 12)?   
    Just as a quick update on this, when I release the next version, the bin error dialog now gives a few more useful options allowing for workflow to be opened or disabled so you don't see the issue again:
     

    Alfred will also search for alternative paths when the macOS standard bin path is missing, e.g. for php Alfred will also look in:
     
    /opt/homebrew/bin/php /usr/local/bin/php  
    I have some more changes I want to implement for the next release, however, there is a good chance I'll do an interim build in the next few days which will contain this change, allowing for macOS 12 users to use php workflows if they have an alternative php installed (e.g. via homebrew).
     
    Cheers,
    Andrew
  10. Like
    Andrew got a reaction from deanishe in Using PHP on Monterey (macOS 12)?   
    Just as a quick update on this, when I release the next version, the bin error dialog now gives a few more useful options allowing for workflow to be opened or disabled so you don't see the issue again:
     

    Alfred will also search for alternative paths when the macOS standard bin path is missing, e.g. for php Alfred will also look in:
     
    /opt/homebrew/bin/php /usr/local/bin/php  
    I have some more changes I want to implement for the next release, however, there is a good chance I'll do an interim build in the next few days which will contain this change, allowing for macOS 12 users to use php workflows if they have an alternative php installed (e.g. via homebrew).
     
    Cheers,
    Andrew
  11. Like
    Andrew got a reaction from Chris Messina in Is Alfred ready for 1Password 8?   
    @Chris Messina it looks like this is still in the 1Password 8 plan:
     
    https://1password.community/discussion/122536/early-access-and-alfred
  12. Like
    Andrew got a reaction from Neilio in Using PHP on Monterey (macOS 12)?   
    Hmm - this is happening because you likely have the option to show the latest query again:
     

     
    ... which is automatically running the workflow again when you re-show Alfred.
     
    The popup you see was never really intended to be seen unless there was a really bad issue, and now that php is missing, this "really bad issue" is actually happening. I am in the process of working through the best solution to this which should also prevent you from getting blocked by this dialog.
  13. Thanks
    Andrew got a reaction from Mschuiling in Evernote workflow has stopped working....   
    @Mschuiling Just in case you were trying to reply to the Evernote topic @deanishe provided and accidentally created another topic, use the "Reply to this topic" button in the Evernote topic instead of Create Topic.
  14. Like
    Andrew got a reaction from xattr in Set Audio MIDI Setup to connect bluetooth device   
    @xattr You will be able to get most of the way there with a simple workflow in Alfred.
     
    Add a Hotkey or Keyword object to a workflow, then connect this to a Run Script object set to osascript (AppleScript), then paste in the following:
     
    on run argv tell application "Audio MIDI Setup" to activate tell application "System Events" to tell process "Audio MIDI Setup" try click menu item "Show MIDI Studio" of menu 1 of menu bar item "Window" of menu bar 1 end try delay 0.2 click menu item "Open Bluetooth Configuration…" of menu 1 of menu bar item "MIDI Studio" of menu bar 1 end tell end run  
    This will take you to the midi bluetooth connection screen. I don't have any bluetooth midi devices, so can't actually see a connect button.
     
    For a bit of an explanation of the above script, it opens the Audio Midi setup, then clicks the "Show Midi Studio" item in the menu. This is wrapped in a try block because the menu item is "Hide Midi Studio" if it's already showing. The following delay allows time for this window to show, and the new menu item of "Midi Studio" to be added to the top of macOS. Finally, click the "Open Bluetooth Configuration…" button of the Midi Studio menu.
     
    Hope this helps,
    Andrew
  15. Like
    Andrew got a reaction from Chris Messina in Sharing some useful simple Universal Action   
    This is in the works, much more granular control over what gets shown in universal actions, including per-workflow suppressing of keyword/script filter inclusion when universal action triggers have been implemented.
  16. Like
    Andrew got a reaction from Chris Messina in Rename `Run NSAppleScript`   
    Ok, for now, I've just beefed up the messaging within the Run NSAppleScript object:
     

     
    I've also renamed the script paths to include (AppleScript) and (Javascript) respectively. For now, I don't want to create a new Legacy (or whatever) group and move objects around, but this is something I'll keep in mind for a more major release.
     
    I've also updated the help page from the (?) button to highlight the blocking:
    https://www.alfredapp.com/help/workflows/actions/run-nsapplescript/
     
    This is now in the 4.5.1 b1255 pre-release.
  17. Thanks
    Andrew reacted to Chris Messina in Alfred 4.5 is featured on Product Hunt today! 😻   
    Hey all — Alfred 4.5 is featured on Product Hunt today!
     
    It would be awesome for you to check it out, and show your support by adding your review or a comment or trick about how Workflows you use!
     
    Your support will help other people discover Alfred and support its ongoing development.
     
    Alfred will only be featured today, so your timely attention is appreciated!
     

  18. Like
    Andrew got a reaction from vitor in When searching files, having an hyphen at the start or end makes results disappear   
    @vitor very interesting, looks to be a behaviour change in the underlying index, as this is working on Mojave:
     

     
    I can reproduce this issue in Big Sur, so I'll take a look at what could be causing this.
     
    Cheers,
    Andrew
  19. Like
    Andrew got a reaction from rknightuk in Rename `Run NSAppleScript`   
    Ok, for now, I've just beefed up the messaging within the Run NSAppleScript object:
     

     
    I've also renamed the script paths to include (AppleScript) and (Javascript) respectively. For now, I don't want to create a new Legacy (or whatever) group and move objects around, but this is something I'll keep in mind for a more major release.
     
    I've also updated the help page from the (?) button to highlight the blocking:
    https://www.alfredapp.com/help/workflows/actions/run-nsapplescript/
     
    This is now in the 4.5.1 b1255 pre-release.
  20. Like
    Andrew got a reaction from greedist in Run NSAppleScript feature is not working   
    @greedist you can simplify the AppleScript a bit to:
     
    on alfred_script(q) tell application "Reminders" delete (reminders whose completed is true) quit end tell end alfred_script  
    Then check that Alfred has permissions checked for reminders in macOS Automation prefs in both:
     
    macOS Prefs > Security & Privacy > Privacy > Reminders  
    and
     
    macOS Prefs > Security & Privacy > Privacy > Automation > Alfred > Reminders  
    Cheers,
    Andrew
  21. Like
    Andrew got a reaction from vitor in Rename `Run NSAppleScript`   
    Nice idea... perhaps I may even just create a "Legacy" group in the popup menu to put things which are only there for backwards compatibility, such as Run NSAppleScript, and the Filter utility.
  22. Like
    Andrew got a reaction from politicus in Alfred 4.5 Beta: Take a first look at Universal Actions   
    A separate hotkey to re-perform the previously used action on a subsequent selection is a really good idea, I'll add a note
     
    For now, have you tried the action ordering? This will sort actions based on the argument type, so it will put the prettify action always at the top for json files:
     

  23. Like
    Andrew got a reaction from politicus in Alfred 4.5 Beta: Take a first look at Universal Actions   
    This is a great idea - I'll add a note
  24. Like
    Andrew got a reaction from patgilmour in Alfred 4.5 Beta: Take a first look at Universal Actions   
    This is an option under Alfred's Advanced preferences > Selection Hotkey... you can disable the clipboard restore.
  25. Like
    Andrew got a reaction from patgilmour in Alfred 4.5 Beta: Take a first look at Universal Actions   
    Thanks for all the feedback - Just remember that this is a new feature, and I actually have tonnes of stuff lined up to improve and enhance it over the coming releases
×
×
  • Create New...