Jump to content

LeeHW

Member
  • Posts

    2
  • Joined

  • Last visited

LeeHW's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. This broke for me on Monterey too, but I managed to fix it by swapping out the RunNSAppleScript action for a plain RunScript action, and making very slight tweaks to the script just because the way the query is passed in is very slightly different. At least... I'm not much of a coder, but it seems to be working for me... on run argv set theQuery to item 1 of argv tell application "Finder" to set the clipboard to theQuery as text tell application "System Events" set theApplication to application processes whose frontmost is true set target to item 1 of theApplication set target to a reference to front window of target set target to a reference to front sheet of target delay 0.5 tell target to keystroke "g" using {command down, shift down} -- Activate goto field delay 0.2 tell target delay 0.2 tell application "System Events" to keystroke "v" using {command down} -- simulate pressing the Enter key key code 36 end tell end tell return theQuery end run
  2. I realise this is an old thread, but does anyone know if this has been done now? I might start work on it myself if not, but I don't want to re-invent the wheel. I like using the Apple text replacement feature across Mac OS, iOS, and iPad OS, but the interface in Alfred it much better.
×
×
  • Create New...