I just discovered AutoHotKey and it seems like a dream come true. I have two .ahk scripts, A.ahk and B.ahk. I want to call script B from within scr
A.ahk
B.ahk
It's the #Include directive you are looking for. You include ScriptB.ahk, then call its functions like you normally would.
#include SomeFile.ahk
http://www.autohotkey.com/docs/commands/_Include.htm