Jump to content

sirdavidoff

Member
  • Posts

    14
  • Joined

  • Last visited

Posts posted by sirdavidoff

  1. I have a script filter with the keyword 'f'. The results from the script filter rarely appear at the top of the Alfred results list. In fact they appear under other things that I'm pretty sure I've never used, even if I activate the script filter repeatedly.

     

    How can I get my script filter results to appear at the top of Alfred's results list?

     

    In the example below the script filter result appears at position 6, and doesn't seem to move up no matter how often I activate it.

     

    1918954547_ScreenShot2018-12-13at14_21_41.png.8a5761957a3c01fce0702369cecb2634.png

  2. I have a Python script that interacts with Google APIs (Gmail, Google Apps Script, etc.) and requires Google authentication when first run.

     

    When run from the terminal, the script open a browser page which prompts for a Google login. However, when run through Alfred this browser page is never opened. It doesn't matter whether I paste the script into the Alfred workflow directly or call it via a Zsh script – the result is the same. 

     

    If I authenticate by running the script once via the terminal, it then works properly in Alfred (as no browser page is required).

     

    Any tips on what might be going on here?

  3. I find the 'Recent Places' list (in the drop-down menu of save dialogs) very useful. However, I'd like to extend it to include directories I've recently opened with Alfred. To do so I need to know which directories Alfred has opened.

     

    Is there either:

    1) An 'on directory open' hook in Alfred that I could tap into, or 

    2) A list of directories recently opened by Alfred somewhere that I can read?

     

    Please note I only want directories opened with Alfred, not ones opened by double-clicking in the Finder.

  4. Thanks – based on your suggestions I was able to find a way to do it without variables: I made a script filter that returns one item with the same title as the script filter's placeholder title and the desired subtitle. So when I finish typing the keyword the workflow row is replaced by the script filter row, but they look the same (apart from the extra subtitle).

     

    The only drawback is that the subtitle doesn't appear until the entire keyword is typed, since the script filter isn't run until then. It seems the same would be true if I was dynamically assigning a variable in the script filter, as you suggest.

     

    Any suggestions to how I can get around this and have a dynamic subtext displayed as soon as the workflow option appears on the screen, even if I haven't fully typed the keyword yet?

  5. I'd like to make my own version of the 'Open with...' file action (that opens the last-modified file in a directory with an application of the user's choice).

     

    The built-in 'Open with...' file action has a second screen where you choose the application that you want to use.

     

    How can I use such functionality in my own workflow?

     

    Thanks!

×
×
  • Create New...