This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"reflect" | |
"time" | |
ole "github.com/go-ole/go-ole" | |
"github.com/go-ole/go-ole/oleutil" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; This code is just an adaption of code by | |
;; @Code4FunVienna as listed | |
;; at https://forum.robin-language.org/t/howto-use-scripts-in-scripts/365 | |
;; PLEASE VIST THIS THREAD FOR USE INSTRUCTIONS! | |
;; | |
;; Here we use AutoHotkey and its CLR.ahk library to compile the code | |
;; listed in the variable 'csharp'. | |
;; | |
;; For more on AutoHotkey and CLR, please visit this thread: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!"); |

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
PersistentSaveFolder.ahk | |
Version 1.0.10ex | |
March 28, 2018 | |
burque505 | |
*/ | |
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
#Persistent | |
SetTitleMatchMode, 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; You will need AutoHotkey.dll for this to work. | |
; It can be downloaded from https://github.com/HotKeyIt/ahkdll (source) | |
; or http://hotkeyit.github.io/v2/ for binaries (v1 on same page) | |
; Only tested with v1 - you will of course need MS Word on your machine. | |
; Use 32-bit AutoHotkey dll only! | |
; If red can't find it in your script directory, please put | |
; the dll in SysWOW64. (By all means try including it in your script | |
; directory first, if you like.) |