Skip to content

Instantly share code, notes, and snippets.

@aviaryan
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviaryan/5c1ba3d633b7b9646da0 to your computer and use it in GitHub Desktop.
Save aviaryan/5c1ba3d633b7b9646da0 to your computer and use it in GitHub Desktop.
Clipjump publicAPI example
SetWorkingDir, % A_ScriptDir
cj := new Clipjump()
cj.blockMonitoring(1)
msgbox % cj.version
Clipboard := "changes"
Clipboard := "morechanges"
msgbox % "Clipboard has " Clipboard ". But Clipjump has ? "
cj.blockMonitoring(0)
ExitApp
#include S:\Portables\AutoHotkey\My Scripts\ClipStep\publicAPI.ahk
/**
SOME TROUBLESHOOTING POINTS
1. It is a good idea to include the running Clipjump's publicAPI file
2. Use direct path if for #Include if you see include file error.
3. If for some reason script doesn't work, make sure Clipjump and both the script are running from same AHK version. So if you have installed AutoHotkey, better run Clipjump.ahk with
it and not use Clipjump.exe
**/
; http://clipjump.sourceforge.net/docs/devList.html#pubapi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment