Jump to content


Community Hero
  • Content Count

  • Joined

  • Last visited

  • Days Won


deanishe last won the day on June 29

deanishe had the most liked content!

About deanishe

  • Rank
    Workflow Expert / Moderator

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Location
  • Interests
    Go, Python, beer

Recent Profile Visitors

23,734 profile views
  1. You probably don't want to open Terminal. It's a poor way to do any kind of automation because once you've sent the command to Terminal, you have no way of knowing what happened next. Your workflow won't wait for the command to complete; it will just continue as soon as it has handed the command to Terminal. Alfred's Run Terminal Command action is generally only useful for launching commands that have a UI. In most cases, you'll get better results using a normal Run Script action with Language = /bin/bash or /bin/zsh. Do you want it to select a specific WiFi network, or show a list of available ones in Alfred? The Chrome scripting is possible, but a bit tricky. You'll have to use AppleScript/JXA to create the new window, and I believe there's also a command to tell it to wait until the page has loaded, but to click on the button, you'll probably have to inject some JavaScript into the page. There are other ways, but that's the most reliable.
  2. Hi @Tate4963, welcome to the forum. It was probably this workflow.
  3. I've merged your thread with that (now this) one. Better to keep the discussion in one place.
  4. What do you mean? In any case, FSNotes isn't scriptable, so all you can do is activate it and fire simulated keypresses at it to create a new note. The following AppleScript will activate FSNotes (launching it if need be) and create a new note. Put it in a Run Script action with Language = /usr/bin/osascript (AS) on run tell application "FSNotes" to activate tell application "System Events" -- wait up to 5 seconds for FSNotes to activate repeat 100 times set _name to name of first process whose frontmost is true if _name = "FSNotes" then -- show main window keystroke "\\" using command down -- create new note keystroke "N" using command down exit repeat end if delay 0.05 end repeat end tell end run
  5. It's not just PHP that's being removed. See the existing thread:
  6. Yeah, I know it's Spanish. I wrote that I don't speak Portuguese for the same reason I said that "dente azul" is Spanish. Thanks, I know. I know enough French and Latin to get the gist of what they're saying.
  7. No. You need to contact the application's developer and ask them to make the app tag the data it puts on the clipboard appropriately.
  8. Run NSAppleScript executes your code in Alfred's own process, on its main thread, so it shares Alfred's own environment. Run Script executes your code in a separate subprocess, so Alfred can manipulate the environment it runs in (i.e. adding workflow variables to the environment). Basically, just don't use Run NSAppleScript. Because it runs on Alfred's main thread, it blocks Alfred while the code is running (Run Script doesn't). And it behaves weirdly, too.
  9. You can't set UIDs and impose ordering at the same time. What might work for you is only setting UIDs if there's a search query. That way, you can have your informational item at the top (and other items in a predictable order), but still train Alfred to associate specific items with specific queries. No, but if you do the above, your default results should be in a predictable order, and you can also omit the invalid/informational items when there's a query.
  10. Right. That's probably the workflow/Alfred firing ⌘C at the app to get the selection. It doesn’t need automation permission to use copy/paste. If it did, the spell function wouldn’t work either. Something else is wrong. What does Alfred’s debugger say?
  11. No. Like Vero said, you'll be asked to grant Automation permission as needed. There's no mechanism to authorise it in advance. Judging by your description of your problem in the other thread, you've configured a Hotkey in the workflow that's already assigned in the application's Edit menu, so you're actually calling some application action, not the workflow. Check the Edit menu to see if it contains a shortcut the same as the Hotkey you've assigned in Alfred. If there's nothing obvious in there, you can also use Shortcut Detective to see which application actually receives a keyboard shortcut/hotkey.
  12. Hi @marvinho, welcome to the forum. What do you mean by "custom Links"? In any case, you can add as many keywords as you want to things in workflows, which require the Power Pack.
  13. That's what happens when the OS doesn't know the filetype. I think the Filetypes list in Alfred 4.1 shows what the dyn.a UTI means, doesn't it?
  14. Yeah, that searches all filetypes. What sometimes happens is that different files of the same type actually have different UTIs assigned to them, so they aren’t found when looking by filetype.
  • Create New...