Jump to content

Vero

Administrators
  • Posts

    4,226
  • Joined

  • Last visited

  • Days Won

    293

Posts posted by Vero

  1. @iiiax Absolutely! I didn't include this in the original tutorial as it might be too much to swallow in one post, but it's likely I'll do a further post on chaining variables soon. Having said that, there's an excellent Getting Started workflow built into Alfred, called "Chaining Inputs".

     

    To create your workflow, you'll need to familiarise yourself with using variables to save the arguments, but beyond that, it's very easy :) 

    https://www.alfredapp.com/help/workflows/advanced/variables/

     

    Here's a workflow I've just thrown together to show the Snippet Triggers in action with multiple inputs. I've added three List filters and annotated the workflow to make it easier to see what's happening, but just double-click each object to see their configuration.

     

    Screen Shot 2017-06-21 at 16.43.28.png

     

    You can download it here:

    https://www.dropbox.com/s/eqq91b8tyxom5t1/Chaining inputs for a Snippet Trigger.alfredworkflow?dl=0

     

    Take a look and let me know how you get on.

     

    Cheers,
    Vero

     

  2. @iiiax Here's the link to the tutorial on using dynamic inputs with the snippet triggers:

    https://www.alfredapp.com/help/workflows/triggers/snippet/snippet-triggers-with-dynamic-inputs/

     

    As per the screenshot I provided earlier, there are two examples in the tutorial:

    • Using a free text field
    • Using a list of pre-defined options

    You can grab the workflow to see it in action - You'll just need to set the snippet trigger keywords, as these are stripped on import to ensure they don't clash with any of your existing keywords. :)

     

    This is a new feature I absolutely love and will be using a lot myself, so I can't wait to see how everyone else makes use of it too!

     

    Cheers,
    Vero

     

     

  3. @Keven Glad everything's back to normal.

     

    Alfred doesn't sync to another folder, it moves your preferences to the location you set, so if you're using Dropbox or another syncing service, that'll be the location of the most current one.

     

    It's worth noting that we recommend Dropbox for syncing because it's proven its reliability over the years. I'm not very familiar with Google Drive's sync service, but if it doesn't sync as efficiently, is selective with what is synced or doesn't deal with conflicts as smoothly, you may see weird behaviour with your preferences.

     

    Cheers,
    Vero

     

     

  4. @Keven Alfred doesn't change or modify your preferences on update.

     

    Do you use any app cleaners on your Mac? These can be over-zealous, where they perceive an update as the user uninstalling a piece of software, resulting in moving all associated preferences to Trash.

     

    Also, where and how do you sync your preferences, as I recall you asked questions about syncing a little while ago? If your preferences were unavailable (e.g. because Dropbox files weren't available), it's possible that Alfred created a new set of preferences, but it should be fairly straightforward to recover the existing ones.

     

    Cheers,
    Vero

     

  5. Hi @iiiax Welcome to the forum!

     

    I'm glad to see you're already diving into the new 3.4 features :) I'm in fact in the process of writing a tutorial that shows you how to use Snippet Trigger objects to do exactly this.

     

    It'll be live in a few hours on the blog, but in the meantime, you'll get a glimpse of how you can create it with this screenshot:

     

    Screen Shot 2017-06-21 at 11.41.37.png

     

    The top example uses a free text field, while the bottom one uses a pre-set list of arguments in a List Filter object.

     

    I'll update this thread with a link to the tutorial and workflow itself later today - but in case I forget, be sure to check the blog :)

     

    Cheers,
    Vero

     

    PS - Definitely no need to be a developer to create these snippet-based workflows!

     

  6. @robertstrazz Following on from @deanishe's suggestion to use a file filter, here's a guide to creating your own file filter workflows:

    https://www.alfredapp.com/help/workflows/inputs/file-filter/

     

    You'll also find a pre-created file filter workflow built into Alfred in the Workflows preferences, press the + at the bottom of the sidebar > Examples > Simple Folder Search. :) 

     

    Cheers,

    Vero

  7. Hi @natebeaty, @HelgeG, @godbout

     

    Thanks for reporting this and for providing what information you can. The only constant I can see so far between your three cases is that you're all iTunes Match customers - but that could also be a red herring.

     

    The code in Alfred that deletes and re-creates a playlist is extremely simple, so I'm wondering whether there might be a macOS permissions issue causing Alfred to be unable to delete the previously created playlist.

     

    Next time this occurs, could you take a look in Console.app to see whether there are any error messages relating to permissions issues and paste them here? This may help give us a clue as to why these very isolated cases are happening, and help us establish why you might be seeing this issue. :)

     

    Cheers,
    Vero

  8. @ramatsu It looks like you spotted a page I missed when updating all documentation for Alfred 3. As a result, the screenshots and guidance referred to Alfred 2, so I apologise for any confusion this might've caused you in creating your first hotkey workflow! 

     

    This page has now all been updated to reflect the vastly more powerful features in Alfred 3, with new screenshots and information. :) 

     

    As @deanishe and @vitor both highlighted, adding objects to your workflow can now be done by right-clicking anywhere on the canvas, as Alfred 3 allows you to position objects anywhere (whereas in v2, the positioning was more restrictive).

     

    In fact, there are a few ways to add new objects to a workflow:

    • Right-click anywhere on the canvas, as mentioned above
    • Right-click an existing object and choose "Insert after", "insert before" or "replace with" from the pop-up menu
    • Click and drag from the handle of an existing object. When you let go, a pop-up menu will appear there to allow you to choose the next object.

     

    Given you're specifically interested in hotkeys at this point, you'll find a helpful example of using a hotkey-based workflow built into Alfred if you click the + at the bottom of the Workflows sidebar and choose Getting Started > Hotkeys. This workflow shows you both how to use a hotkey and a single action, or a hotkey connected to multiple actions at once.

     

    hotkeys-getting-started.png

     

    Once you've added one hotkey connected to one Launch Apps / Files action, you can select both and copy/paste them to add more hotkeys to launch apps, in a way similar to Alfred 1.

     

    Don't hesitate to ask if you have any further questions :)

     

    Cheers,
    Vero

     

  9. @rockyit86 You can type into Alfred " *pdf" to find PDF files :)  (note the space before the *pdf, where pressing the spacebar is a shortcut to the "find" keyword)

     

    If you want to play with workflows, take a look at the built-in Dynamic File Search example. You could create a similar workflow to set the file type dynamically (e.g. from a List Filter where you pre-set the types you usually search for). This then allows you to also select a search scope, etc.

     

    Cheers,
    Vero

  10. @quaritexa Given the level of interest for this feature (one user in the past year), this is highly unlikely to come to Alfred.

     

    At this point, Alfred doesn't modify any macOS events, having a read-only view and replacing snippets when matched.

     

    Supporting Tab for snippet expansion would require Alfred to interfere with the macOS event tap, removing keystrokes to prevent i.e. moving focus to the next text field - something which isn't worth the relative behavioural risk to support a niche feature.

     

    In the latest Alfred 3.4 (currently in pre-release), you can set global prefixes and suffixes to your snippets, so you can set an affix that uses the key above tab or another key to complete your snippet.

     

    Cheers,
    Vero

  11. @kevbonham Based on your clip, it looks like the cursor position is being performed before the paste. When you select the snippet from the clipboard viewer, it's a simple paste with no snippet keyword to delete first.

     

    As mentioned before, did you check the box to "Slow down key events"? This ensures that there's a little more time between the deletion of the snippet keyword and pasting of your snippet content. I suspect that Google Docs is, by nature, pasting very slowly compared to a normal native application, causing this out-of-sync behaviour.

     

    For fear of sounding like I'm repeating myself, Alfred is agnostic to the pasting destination, so if Google Docs is particularly slow due to being a web-based word processor, you'll just have to keep those limitations in mind. :)

     

    Cheers,
    Vero

  12. @oorahduc Alfred will merge if you press Cmd + C then C again (while still holding Cmd), so if you've set the delay for macOS to repeat a key to be shortest, it's not surprising that macOS will report the C key as having been pressed more than once even if you only press it for a relatively short time. (which would explain why it only happens occasionally, which would be when you hold the key marginally longer)

     

    Have you tried slowing down the delay to establish whether, with a normal delay, the behaviour is as expected? This will at least confirm that this is the reason for the behaviour.

     

    If you're not keen to slow down the Delay, you could disable the default merging feature, and create yourself a workflow that merges the latest two clipboard entries, so that you can use a different key combo to trigger a merge.

     

    Cheers,
    Vero

  13. @oorahduc Do you have any third-party clipboard managers or keyboard modifiers that may be interfering?  Make sure that these are all quit, check Accessibility (under System Prefs > Security & Privacy > Privacy > Accessibility) for any apps that could be manipulating your keyboard, and try again.

     

    If you're still seeing the behaviour, try temporarily creating a new user account on your Mac, so that you can test it on a vanilla OS without your apps running.

     

    Let me know how you get on :)

     

    Cheers,
    Vero

  14. @ibaconi Welcome to the forum!

     

    I'm not sure I understand exactly what you're looking at; 

     

    On your Mac, you can use the iTunes Mini Player, which allows you to control iTunes from your keyboard and without having to show iTunes (though it must run in the background) You'll find more details here:

    https://www.alfredapp.com/help/features/itunes/

     

    If you're using Alfred Remote on your iOS device, there's a pre-built page of actions you can use to control iTunes from iOS:

    https://www.alfredapp.com/help/remote/itunes/

     

    Let me know if I've not quite understood your question :)

     

    Cheers,
    Vero

  15. @hankmadison Welcome to the forum! :)

     

    If you're seeing a different number of bookmarks, it's likely that there are more than one file for third party integration on your Mac, and Alfred may be looking at the wrong one. 

     

    First, in Alfred's preferences, under Features > 1Password > Advanced, ensure that "Discover automatically" is checked, and try unchecking and rechecking it. If the path begins with ~/Library/Containers/, Alfred has found the Mac App Store version. If the path begins with ~/Library/Caches/, it'll be the version from their website.

     

    As another troubleshooting step to establish if there are multiple data files, if you try adding a new bookmark, does this new one appear in Alfred as well?

     

    Let me know how you get on :)

     

    Cheers,
    Vero

     

     

     

     

  16. @m0rogfar Good morning and welcome to the forum!

     

    In answer to your questions, the Mega Supporter license can be used on up to four Macs, provided that these are for your own use and not shared workstations. If you sell or give away any of your Macs, just launch your preferences to the Powerpack tab and deactivate the license first.

     

    You can even sync your preferences between your Macs:

    https://www.alfredapp.com/help/advanced/sync/

     

    If you have any further license questions, just pop an email to info@ and we'll be happy to help you out :)

     

    Cheers,
    Vero

×
×
  • Create New...