Skip to content

Instantly share code, notes, and snippets.

@burque505
Created July 12, 2019 12:21
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 burque505/2928fe802de5da44bf3aeedc5ad2c41d to your computer and use it in GitHub Desktop.
Save burque505/2928fe802de5da44bf3aeedc5ad2c41d to your computer and use it in GitHub Desktop.
addon core version 4.100.19170.929
addon language version 4.100.19170.929
♥macrodlls = System.dll,System.Drawing.dll,System.Windows.Forms.dll,AutoHotkey.Interop.dll
♥macronamespaces = System,AutoHotkey.Interop,System.Windows.Forms
♥hellogiant = "Hello "
var ahk = AutoHotkeyEngine.Instance;
ahk.ExecRaw("MsgBox, Hello World!");
ahk.SetVar("x", ♥hellogiant);
ahk.SetVar("y", "World, from AHK and G1ANT!");
ahk.ExecRaw("z:=x . y");
string zValue = ahk.GetVar("z");
System.Windows.Forms.MessageBox.Show(zValue);;
ahk.SetVar("z", zValue);
ahk.ExecRaw("Msgbox, I can say %z%")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment