Jump to content

deanishe

Community Hero
  • Content Count

    6,641
  • Joined

  • Last visited

  • Days Won

    383

deanishe last won the day on June 29

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

23,724 profile views
  1. I've merged your thread with that (now this) one. Better to keep the discussion in one place.
  2. 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
  3. It's not just PHP that's being removed. See the existing thread:
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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?
  9. 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.
  10. 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.
  11. 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?
  12. 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.
  13. Have you checked the files you can't find with the metadata tool?
×
×
  • Create New...