Jump to content

erusev

Member
  • Posts

    58
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by erusev

  1. @vitor Thanks for the response! I think I know what's going on -- it does restore the previous item in the clipboard, but this is not reflected in the clipboard history -- the (Alfred's) clipboard history shows the selected text at the top, which is why I thought the features doesn't work. Btw, this expected? It feels like a mismatch b/w clipboard history and the actual clipboard.
  2. When I use Universal Actions or any other workflow that uses the selection the selection gets on top of the clipboard -- the previous clipboard contents doesn't seem to get restored. Here's the option in the GUI:
  3. When I paste a screenshot to GitHub issues, GitHub recognizes that it is a retina image and it adds a width and height attributes to make it 50%. But, if I paste the same image from Alfred's clipboard history, this doesn't happen -- image get pasted as non-retina and it looks bad. The same is true for Figma -- it fails to recognize it is a retina image if you paste it from the clipboard history. Any ideas why or how I can fix this?
  4. 1️⃣ You select some text. 2️⃣ You open Universal Actions. 3️⃣ You type an action that does not exist. 4️⃣ This shows a fallback action. The fallback action would get passed the selected text (that you triggered Universal Actions with).
  5. Is there a naming conventions for vars that you intend to use as env vars? I imagine it'd be useful to distinguish them when "reading" the workflow.
  6. It worked! I had no idea alfred vars are available as env vars. > Which in turn is used as the argument. Well, it becomes the search input, and is not an arg I can read from the script. Could it be because I have "Alfred filters results" checked?
  7. Ok, I think what happens is that the output of the "Run Script" object gets passed to the "Script Filter" as input instead of an argument -- that is, the it becomes the text that shows in the input field.
  8. The value gets passed to the next object, the problem is, I don't know how to read it from the Script Filter. Here's a screenshot of what my Script Filter looks like inside.
  9. I'd like to pass a value from a "Run Script" object to a "Script Filter" object and use that value in the code the "Script Filter". How can I do that?
  10. Yes, but reading diffs of .plist is not easy, and being able to edit workflows in plain text has lots of other benefits, it's not just about version control.
  11. I'm looking for the window title of VSCode from any context. Ex: I could be in the browser, and the workflow should be able to get the title of the window of VSCode.
  12. Use the same "objects" but define the workflow as text file, that you can version-control, comment on, etc.
  13. The file it creates is named "{date}.md" -- not replacing {date} with the actual date. Is this expected?
  14. Hi Stephen, no, because it needs to be able to work with any macOS app, not just Chrome -- for the particular workflow I have in mind, I need it to work with VSCode -- I should have used VSCode as an example to avoid confusion.
  15. In this example here, if my workflow is designed to work w/ Chrome, it should get Create New Topic ... as this is the active window in Chrome.
  16. I'd like to make a workflow that would let me copy text from webpages along with their URL -- similar to web clippers of note apps. For example, it would copy the text "Alfred Gallery is in Early Access" from https://alfred.app/ as: > Alfred Gallery is in Early Access -- alfred.app But how do I get the URL of webpage I'm on in Chrome?
  17. Being in able to set a character as icon would make it possible to use both emoji as icons and SF Symbols.
  18. Being able to use SF Symbols as item icons would also be great.
  19. It's great that you can set an image as an icon, but often an emoji is good enough, and it's so much easier to set than an image file.
  20. I thought I should also note that using `fd` (which is another search tool) instead of `rg` works as expected -- it shows results from `~/folder/to/search`.
  21. Thanks, I should have specified. It can be just a scrip object like this (see screenshot) or an external script where `rg` is a subprocess -- in both cases it won't work w/o the path param (the ".") > What do you mean when you say it doesn’t work? What’s your code and what’s the result you get? Have you looked in the debugger? Good question. It returns an empty set of results, "0" matches -- so it does manage to call `rg` because the output `rg` output, but for some reason, it doesn't find results.
  22. This is how my workflows look on disk -- hard to figure out which is which. Is there a way to rename them to something more meaningful?
  23. # this works rg "aaa" . # this doesn't work rg "aaa" The third param (the ".") is optional, and everywhere else `rg` works w/o it. Here's the usage pattern: USAGE: rg [OPTIONS] PATTERN [PATH ...]
×
×
  • Create New...