Skip to content

Instantly share code, notes, and snippets.

@mutterer
Last active February 8, 2021 13:25
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 mutterer/3936686a412732433c6a22b2286049da to your computer and use it in GitHub Desktop.
Save mutterer/3936686a412732433c6a22b2286049da to your computer and use it in GitHub Desktop.
Example Image Tool
var name="user";
macro "Test Tool - C000 T0h24T" {
getCursorLoc(x, y, z, modifiers);
print (name, "clicked:",x, y);
}
macro "Test Tool Options" {
name = getString("Name",name);
}
macro "Test Tool Selected" {
print ("Test tool was selected");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment