Control PopClip using AppleScript

To turn PopClip on or off, use the "enabled" property. For example:

tell application "PopClip" to set enabled to true          -- turn on
tell application "PopClip" to set enabled to false         -- turn off
tell application "PopClip" to set enabled to not enabled   -- toggle

To make PopClip appear for the currently selected text, use the "appear" command:

tell application "PopClip" to appear

Tips

  • You can still trigger "appear" while PopClip is turned off.
  • Once activated via AppleScript, you can select PopClip actions using the ←, →, and space/enter keys.