5
2
I thought this would be simple...
I want an AppleScript that launches Plain Clip and then pastes the clipboard into the current document where the cursor is. My script launches Plain Clip (a format-clearing app that doesn't steal focus), but it doesn't paste the new clipboard. Any ideas?
tell application "Plain Clip" to activate
delay 1
tell application "System Events" to tell (name of application processes whose frontmost is true) to keystroke "v" using {command down}
yep, no dice...I'll update the code though – Zade – 2012-07-30T23:13:31.723
I realized later that
{}seems to be the notation for a list of keys. So I guess it would just be optional in this case. Nevermind :) – Der Hochstapler – 2012-07-30T23:20:34.500