Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. You can do this with snippet triggers in workflows.
  3. Yesterday
  4. Thanks for the reference to the other thread! +1ing...
  5. Hi @Ran, welcome to the forum. Unfortunately, Alfred currently doesn't have this feature. While you don't need a workflow for each snippet (you can put as many Snippet Triggers in a single workflow as you like), such basic "fill-in" snippets are much more work to implement using Snippet Triggers than they are in Dash or Typinator (the app I'm still using for such snippets), as you basically have to piece together the functionality yourself for each snippet. Personally, I'd recommend leaving such snippets in Dash for the time being, but be sure to add your voice to the thread requesting this feature.
  6. When Alfred Remote 2 comes out, it'll be a free upgrade for Alfred Remote 1 users
  7. I've recently migrated all of my snippets from Dash to Alfred. Figured I might as well have one tool for everything and Alfred covers all the bases I need. However, I'm missing a huge piece of functionality from Dash, the ability to include variables in snippets. Now, I've googled and found all the references and recommendations to achieve this with a snippet triggers in Workflows, the problem there (or maybe I'm doing this wrong?) is that I need a workflow for each snippet, at this point, after using Dash for ~6 years, I have about 200 snippets that I migrated over with code (using https://github.com/derickfay/import-alfred-snippets). It also introduces a lot of overhead when creating a new snippet. So, if regular snippets are a car, workflows with a snippet trigger are a jet plane, where what I'm looking for is a paper airplane Ideally, I'd like to be able to create a new snippet like name: "Set Upstream" keyword: "upstream--" snippet: "git branch --set-upstream {var:branch} origin/{var:branch}" Where using it will popup a little box that allows me to fill in the value for {var:branch} or any other variable in the snippet. If there's already an easy way to do this, I'm open to suggestions! Thanks.
  8. Does this workflow work for Alfred 3 and OF 3? I can't get it working... Unfortunate, because this is exactly what I am looking for to make OF 3 work for me.
  9. Would it be possible to copy the contents of the selected not to the clipboard?
  10. Added new NSFW option to include subreddits marked "over 18" in search results.
  11. Last week
  12. Then your workflow needs to manipulate its own info.plist or a snippet collection. Auto-generating a snippet collection is probably the simplest way.
  13. @deanishe I have uploaded the workflow here: https://github.com/bhishanpdl/Shared/blob/master/Alfred_questions/aa Clipboard to Snippet - COPY.alfredworkflow?raw=true I am looking a way to create dynamic trigger using argument from the alfred workflow.
  14. A dynamic trigger won't work for a Snippet Trigger because the variable arg will only exist when you run the workflow via the snn keyword. If you want any further help, please upload the workflow somewhere and post a link. Screenshots are not much use.
  15. @deanishe Where are the snippets stored? May be If I create a directory "TemporarySnippets" in that folder and create a text file/json file/ whatever and call the snippet trigger afterwards?
  16. I tried this: try to create dynamic trigger from the alfred workflow but, it did not work: - snn hello ==> creates hello.txt and var:arg is set to "hello" - tried to use that varible to make trigger object, but failed. It creates hello.txt but u;hello does not work.
  17. No, that is not what I mean. I'm talking about Snippet Triggers. You have a single snippet keyword that activates a Script Filter. The Script Filter shows you a list of the texts you've saved. You choose one and it's inserted into the current application. Obviously, you also need to add a way to save/add texts to the workflow.
  18. @deanishe I guess I got what you mean: workflow: Keyword sni ==> get argument name to "arg1" ==> Snippet and use "arg1" as trigger name. I will try this method. If I could not manage to get it done, will seek further suggestion.
  19. **Update** I could not create Snippet triggers, but found alternative route using Alfred Keyword. "sni hello" will create "hello.txt" from the clipboard. "sno hello" will read that "hello.txt" and paste to the frontmost application. This works great, but I am only missing "u;hello" and "u;hi" etc where I can simply type, instead of hitting keys.
  20. Because, lets say i have a code snippet from pandas groupby in python: gp1 = => daily = flights.groupby(['year','month','day'],as_index=False) and another snippet as gp2 = => daily = flights.groupby(['year','month','day'],as_index=True) It would be easier to type u;gp1 and u;gp2 than go to clipobard manager and search for clipboard history.
  21. Why don't you use a Snippet Trigger to show a list of the clipboard contents you've saved?
  22. It would be extremely useful if we can create snippets on-the-fly from the clipboard contents. For example: "snip tmp" will create a snippet called "u;tmp" from the clipboard content. So that when typing "u;tmp" will expand that snippet automatically. For only one snippet I can do this: =========================== Alt shift t ==> copy the clipboard to tmp.txt u;tmpp ==> autoexpand the text after reading from tmp.txt from that workflow directory. But, this works only for one snippet. It would be nicer if it can be done more dynamically. The suggestion is much appreciated. I have provided MWE in the github shared file: https://github.com/bhishanpdl/Shared/blob/master/Alfred_questions/aa Clipboard Copy.alfredworkflow?raw=true
  23. for me, in the Russian appstore is looking for properly. Thank you very much !!!
  24. How To Use Keywords: - 'Open Tensorboard': Opens a Tab with your Tensorboard Web Interface (Tensorboard has to be running) - 'Close Tensorboard Session': Closes your Tensorboard Session File Action: - 'Tensorboard Server' (on Folder): Opens a Tensorboard Server with the selected folder as the '--logdir' parameter Download Current Version: DOWNLOAD (1.0.0) Git: gitlab.com/sirbubbls/alfred-tensorboard
  25. @shainekim ah, sorry, I read too fast and didn't see you wanted in a new window. For that I think there's a option in Chrome to open link in new window, but if you don't want to change your Chrome preferences for your workflow, here is some more way to do it... If you have problem with the "quoted form of" then it's better to url encode your string. It's quite easy with Python, so I showed you how to pass and access the output of it in this updated workflow. Also, I've seen that Google Chrome can be asked by the "open" command to open in a new window using the argument "--new-window", so I added an example with it and an example using AppleScript to open in a new window and another example using only a single Run Script using Applescript. Here is the updated workflow: https://d.pr/f/JnjG9F Have a look at the keywords: "yy3", "yy4" and "yy5"
  1. Load more activity
  • Create New...