Jump to content

Kristjan

New Member
  • Posts

    1
  • Joined

  • Last visited

Kristjan's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. The way I did it was simple using 4 elements. 1. create a keyword trigger (argument required). 2. Create a "Copy to Clipboard" element with {query} in the box. 3. Create a launch app element with Calendar 4. Add a run script element with code type as /osascript (AS): on run delay 0.5 tell application "System Events" keystroke "n" using {command down} keystroke "v" using {command down} keystroke return delay 0.5 key code 48 key code 125 end tell end run Vola. Alas, it does not allow you to do it in the background but you could probably add some lines to the code to open the current application again.
×
×
  • Create New...