Jump to content

deanishe

Community Hero
  • Content Count

    7,177
  • Joined

  • Last visited

  • Days Won

    429

deanishe last won the day on November 23

deanishe had the most liked content!

About deanishe

  • Rank
    Workflow Expert / Moderator

Contact Methods

  • Twitter
    @deanishe
  • Website URL
    https://www.deanishe.net

Profile Information

  • Location
    Essen
  • Interests
    Go, Python, beer

Recent Profile Visitors

25,117 profile views
  1. Alfred remembers and prioritises what you've chosen in the past. It also prioritises more recently accessed files/folders, so you can bump something up Alfred's results by opening it, and get Alfred to remember it by selecting and actioning it.
  2. A more sensible approach would be to change fuzzylist.py to accept a filename as an argument and use the same script for every Script Filter. Basically, theFile = sys.argv[1]
  3. Alfred 4 has an awesome new internal search. Use keyword ? to search Alfred’s own features and your workflows, e.g. ?1p will immediately show you the 1Password integration, and actioning the item will take you to that page in Alfred Preferences.
  4. The "global" one enables/disables the per-snippet option. It gives you an easy way to turn off all auto-expansion (and Alfred's keystroke monitoring).
  5. It is. The "snippets" directory in your prefs bundle contains the canonical data. If you add or change files in that directory, Alfred should pick up the changes immediately. snippets.db is just a cache.
  6. Alfred doesn't concern itself with directories. The command will be run in whichever directory your terminal opens the new tab or window at.
  7. In what exactly? I mean, nobody cares in the least about OAuth itself. So what's the payoff to users that would make implementing it worthwhile? There are already workflows for all the services you listed.
  8. Alfred doesn't show itself in its application search.
  9. It's basically just what it looks like: a zip file (or folder when extracted) with a bunch of JSON files in it. You don't need an info.plist. I'm not sure if the filenames actually matter, either. The UID is just a UUID. That can be basically any string, as long as it's unique.
  10. Yeah. Your code will work because p.stdout.read() won’t exit till all the pbpaste data has been read, but it doesn’t actually wait for the program to exit (which it should and you should normally check that it didn’t throw an error). The code using communicate would be: import subprocess def get_clipboard_data(): p = subprocess.Popen(['pbpaste'], stdout=subprocess.PIPE) data, _ = p.communicate() if p.returncode: # pbpaste exited with non-zero status raise RuntimeError('pbpaste exited with: %d' % p.returncode) return data
  11. Aye. It really sucks to implement. The idea is good (make developers jump through a few more hoops to make things dead simple for users), but it was designed for server-to-server authorisation and sucks for client–server. It's actively terrible for open-source and self-hosted software.
  12. Literally where you want the query text to be inserted. You don't need ? or = because this URL pattern doesn't use them. https://context.reverso.net/translation/english-german/{query} And set “Encode spaces as” to +
  13. The link works fine for me. Can you be more specific? Where are you setting up a query? Where is the "corrupt" link? What's wrong with it?
  14. I'm sure it was a deliberate decision to not allow user-written code to run without being explicitly called by the user. Performance is a super-high priority, and allowing arbitrary workflows to run whenever Alfred is opened isn't really compatible with that. Me, neither, but that's the way it will go down if this Script Filter trick catches on. Neither workflow developers nor users will show any restraint in building or installing such workflows because the former always think their own programs are special cases, and the latter tend not to think about such t
×
×
  • Create New...