I just opened AutoHotKey and it looks like it will come true. I have two .ahk, A.ahkand B.ahk. I want to call script B from script A.
A.ahk
B.ahk
AHK forums are strangely silent on this subject, but I'm sure it is possible.
This is the #Include directive you are looking for. You turn on ScriptB.ahk and then call its functions, as usual.
#include SomeFile.ahk
http://www.autohotkey.com/docs/commands/_Include.htm
#include , AHK. Run RunWait. , . , , .
, . , 1 , , , ( , , ). , , ExitApp . , "" . , .
#SingleInstance, Force ; HotKeys #Include C:\Users\username\path1\Arrows.ahk #Include C:\Users\username\path1\HomeEndModifiers.ahk ; SoundKeys #Include C:\Users\username\path2\VolumeAdjustment.ahk ; Opening Programs #Include C:\Users\username\path3\OpeningPrograms.ahk ExitApp '''