Created
May 16, 2015 04:36
-
-
Save itsthatguy/917aae3b3589a1a10598 to your computer and use it in GitHub Desktop.
run: node foo.js
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
var exec = require('child_process').execFileSync; | |
var file = 'C:\\Program Files\\AutoHotkey\\AutoHotkey.exe'; | |
exec(file, ['test.ahk', 'Hey Dawg']); |
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
Loop, %0% | |
param := %A_Index% | |
MsgBox, % param | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment