Jump to content

Andrew

Creator
  • Posts

    4,936
  • Joined

  • Last visited

  • Days Won

    319

Reputation Activity

  1. Thanks
    Andrew got a reaction from nikivi in Alfred does not learn from usage   
    @nikivi I've also been unable to reproduce this - is Alfred correctly learning in other features?
  2. Like
    Andrew got a reaction from GuiB in Problem with File Type in a Script Filter when an environment variable is set   
    @GuiB I have actually addressed this recently after this thread:
     
    https://www.alfredforum.com/topic/10427-typefile-is-ignored-when-variables-are-also-set-changes-made-for-341-b858-pre-release/
     
    You can now simply add variables per item, for example (using your workflow):
     
    Second item in your list: { 'title': "Desktop", 'subtitle': "By setting env var = file action doesn't work", 'type': "file", 'arg': "~/Desktop", 'variables': { 'varName': "varValue" }, 'icon': { "type": "fileicon", "path": "~/Desktop" } } I did update the documentation, but didn't make a big deal about highlighting it:
     
    https://www.alfredapp.com/help/workflows/inputs/script-filter/json/#variables
     
    Let me know if you have any problems with this
     
    Cheers,
    Andrew
  3. Like
    Andrew got a reaction from lilyball in Where's the new option to restore clipboard after using Snippet Viewer?   
    @kballard the sheet from that cog only used to contain preferences relating to auto expansion, but it's now outgrown this. It's likely this cog will be replace with something more obvious in a future release.
  4. Thanks
    Andrew got a reaction from cbowns in Applications moved by Alfred to /Applications are marked as read-only   
    @cbowns try doing an xattr -rc /path/to/app to remove all extended attributes before copying it to /Applications. This should work absolutely fine, and something I've been doing for quite some time with various things.

    Interestingly, a while back, I started deploying Alfred in a signed dmg instead of a zip, as recommended by Apple - Apps packaged inside a signed dmg are not translocated by macOS.
     
    It's unlikely Alfred's move command will remove the extended attributes, as it would sidestep a default feature added by Apple.
     
    Cheers,
    Andrew
  5. Thanks
    Andrew got a reaction from cbowns in Applications moved by Alfred to /Applications are marked as read-only   
    ... it's also worth noting that it would be super simple to create a workflow which adds a File Action for "Move to Applications", set for type Applications only. This could be a super simple script which removes xattrs and moves to /Applications/
     
    Cheers,
    Andrew
  6. Like
    Andrew got a reaction from giovanni in Snippets: search snippet content as well   
    When this was first highlighted a while back, I did some basic research around performance and noise, and found it made the clipboard viewer quite a bit less useful for getting to your clipboard history results as you regularly saw unwanted snippets placed above history items. This is essentially why I kept snippets to keyword and title (think of the title as a kind of metadata or tags field which is also searched), which keeps the history search much more useful.
     
    While I'll unlikely change the clipboard viewer behaviour, I do have two new workflow objects planned - a Snippet Filter and Clipboard Filter, both of which will be decently configurable and will allow for both getting to snippets via their content, and also workflow based processing of these items.
     
    Cheers,
    Andrew
  7. Like
    Andrew reacted to vitor in OpenActions — Granular control over opening apps   
    This workflow is officially deprecated if favour of Alfred’s Automation Tasks. You can find the old source on Github.
     
    The open command gives us extra control when opening apps, such as making new instances or relegating to the background.

    This Workflow emulates those options with File Actions.


  8. Like
    Andrew got a reaction from Danny Nemer in Request: Add "Clear Clipboard History - Last Hour"   
    @Danny Nemer You can actually remove individual items from the clipboard history from within Alfred's history viewer. Select the item you want to remove and use fn+backspace.
     
    Cheers,
    Andrew
  9. Like
    Andrew reacted to nikivi in 200,000 ?   
    Alfred is amazing. ?
     
     
  10. Like
    Andrew reacted to derBingle in Workflow Canvas alignment guides   
    Just throwing together a quick workflow this morning and did the pre-release update to check out the feature. Just wanted to hop back in and say great job! It makes so much easier to make everything look the way you want!
     
    Much appreciated, @Andrew!
  11. Like
    Andrew got a reaction from vitor in When adding a new Terminal Command, recommend Run Script   
    Good idea...
     

  12. Like
    Andrew got a reaction from vitor in Modify workflow behavior based on current app   
    Ah thanks, typo, should be "was was was"
  13. Like
    Andrew got a reaction from vitor in Modify workflow behavior based on current app   
    If you update to the latest pre-release, the snippet trigger is now in - and yep, it means type some text in any app and away you go
  14. Like
    Andrew got a reaction from vitor in Workflow Canvas alignment guides   
    @derBingle If you update to the b837 pre-release, you can now enable this by right clicking in the canvas and selecting in the Options sub-menu
  15. Like
    Andrew reacted to GuiB in Is there a way to keep all spaces in a query when using a script filter? [Fixed 3.4 b837 pre-release]   
    Hi @Andrew, thanks for the update ! At first try this is working great! So thanks a lot  ! Also, I saw the new snippet workflow trigger, this would be a very great addition! Thanks for your work
  16. Like
    Andrew got a reaction from lilyball in Clipboard History doesn't include URLs copied from Maps.app [Fixed 3.4 b837 pre-release]   
    @kballard hmm, I had (wrongly?) assumed that this would have either been wrapped in a single pasteboard "transaction", or clearContents would have adjusted the clipboard change count (i.e. clipboard changed to empty), then writeObjects would have adjusted it too (i.e. changed to contents).
     
    I've had a bit of a play with this and I can comfortably ignore clip counter changes until there are types available.
     
    Thanks for highlighting this - I'll have this fixed in the next 3.4 pre-release
     
    Cheers,
    Andrew
  17. Like
    Andrew reacted to derBingle in Workflow Canvas alignment guides   
    Well that's about as quick of a response as you could possibly expect from a developer! ??
     
    Thanks @Andrew!
  18. Like
    Andrew got a reaction from vitor in Calling an non-existing External Trigger should error out [Fixed 3.4 b832 pre-release]   
    @vitor these are now available in the 3.4 b832 pre-release
  19. Like
    Andrew got a reaction from ronm01 in Location of the Alfred search window   
    This can be enabled in Alfred's Appearance > Options preferences... "Save position when dragging Alfred main window"
  20. Like
    Andrew got a reaction from deanishe in Calling an non-existing External Trigger should error out [Fixed 3.4 b832 pre-release]   
    @vitor Ah sorry, I thought you were talking about the "Call External" output. Yep, I can see that there is no errors being output when the External Trigger AppleScript is run on Alfred.
     
    I've added the following errors into the External Trigger AppleScript for the next release:
    Unknown Error: -1 Workflow Not Found: -2 Trigger Not Found: -3 Workflow Disabled: -4 Cheers,
    Andrew
  21. Like
    Andrew got a reaction from Empyreal in Is there a way to search through Safari Bookmarks through a keyword trigger?   
    This is actually pretty easy, here is my safari search with sh for history and sb for bookmarks:
     
    https://dl.dropboxusercontent.com/u/6749767/Alfred/Workflows/Search%20Safari.alfredworkflow
     
    You could attach a hotkey to the beginning of one of these if you'd like to access one of these searches directly without a keyword.
     
    Cheers,
    Andrew
  22. Like
    Andrew got a reaction from patgilmour in Exclude folders and filetypes both globally and for file filters   
    @deanishe these have content type 'com.netscape.javascript-source'.
     
    This is why I try to suggest creating file filters which have the file types you are looking for such as images, plain text etc (even replacing out the default file filters with ones with multiple types for general search). Then the node_modules folder doesn't need to be excluded.
     
    I've just spent the last few hours looking at the MDQuery API again, to find if there is a graceful way to exclude the e.g. node_modules folder, and there is still nothing I can do without loading tonnes of files first and subsequently filtering.
     
    One possibility could be that I provide an extremely open ended "advanced" file filter object which has e.g. the following fields:
    A raw metadata query with {query} placeholders. A regex to subsequently filter by path, allowing path matches to be rejected. A "Stop looking when x results have been found". It would have the caveat that with great power comes great uhhh potential slowness.
     
    Cheers,
    Andrew
     
  23. Like
    Andrew got a reaction from patgilmour in Exclude folders and filetypes both globally and for file filters   
    I've never suggested this - I'm just trying to suggest solutions which work within the bounds and limitations of macOS and its metadata index which Alfred's file search and file filtering is built on.
     
    This is also why I suggested a possible alternative workflow object.
  24. Like
    Andrew got a reaction from Hongbo Miao in Mavericks multiple monitor support   
    To view Alfred on the currently visible screen, set the "Show Alfred on mouse screen" option in Alfred's Appearance > Options.
     
    When it comes to files, Alfred simply asks OS X to open files and documents, so this behaviour is essentially controlled by OS X. Once Mavericks is settled, I am going to do a full usability run through and see if there are any quirks I need to work around, but for now, you may need to configure certain applications to be more compliant, or play with OS X options such as Mission Control's "When switching to an application" option.
     
    [moving to the help forum]
  25. Like
    Andrew got a reaction from patgilmour in Alfred 3.3.2 [818] - Shiny Update Question   
    Nothing more than I finally got around to updating the Mac Mini Alfred build server to macOS Sierra and Xcode 8 with a fresh reinstall. It was running El Capitan and Xcode 7 before this
     
    Cheers,
    Andrew
×
×
  • Create New...