I'd like a simple .vbs script that launches a file "MyAutoHotkeyScript.ahk"
The script below I found which originally launched "calc.exe" . I replaced "calc.exe" with the full path/filename of MyAutoHotkeyScript.ahk, but nothing happens.
(P.S. I know nothing about .vbs script files. Where's some good documentation for beginners? [I'm good at other languages.])
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2:Win32_Process")
errResult = objWMIService.Create("C:\\Users\\Public\\_zProgramFiles\\AutoHotKey\\MyAutoHotkeyScript.ahk", null, null, intCalcID)