[AHK-] 接收C++判斷的指令?
如題
就是目前我知道C語言內可以用system("a.exe")的方式呼叫我要使用的AHK轉好的EXE檔
我有一個問題是假設C語言內我有一個程式判斷上下左右
if(x == 1) //上
{
system("UP.exe");
}
else if(x == 2) //下
{
system("DN.exe");
}
else if(x == 3) //右
{
system("R.exe");
}
else if(x == 4) //左
{
system("L.exe");
}
判斷完一個方向後,執行對應到的EXE檔
現在我想說AHK能不能把每個對應到的方向集中到一個EXE檔,然後把C得到的結果,
在AHK內自行判斷然後執行??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 36.224.199.250
推
10/09 17:12, , 1F
10/09 17:12, 1F
→
10/09 17:14, , 2F
10/09 17:14, 2F
→
10/09 17:16, , 3F
10/09 17:16, 3F
→
10/09 17:19, , 4F
10/09 17:19, 4F
→
10/09 17:19, , 5F
10/09 17:19, 5F
→
10/09 17:21, , 6F
10/09 17:21, 6F
→
10/12 16:17, , 7F
10/12 16:17, 7F
→
10/12 16:18, , 8F
10/12 16:18, 8F
→
10/12 16:18, , 9F
10/12 16:18, 9F
→
10/12 16:19, , 10F
10/12 16:19, 10F
→
10/12 16:19, , 11F
10/12 16:19, 11F
→
10/12 16:20, , 12F
10/12 16:20, 12F
→
10/12 16:20, , 13F
10/12 16:20, 13F
推
10/12 17:19, , 14F
10/12 17:19, 14F
→
10/12 17:19, , 15F
10/12 17:19, 15F
→
10/12 17:20, , 16F
10/12 17:20, 16F
→
10/12 17:20, , 17F
10/12 17:20, 17F
→
10/12 17:20, , 18F
10/12 17:20, 18F
→
10/12 17:21, , 19F
10/12 17:21, 19F
→
10/12 17:21, , 20F
10/12 17:21, 20F
→
10/12 17:21, , 21F
10/12 17:21, 21F
→
10/12 17:23, , 22F
10/12 17:23, 22F
→
10/13 10:39, , 23F
10/13 10:39, 23F
→
10/13 10:40, , 24F
10/13 10:40, 24F
→
10/13 10:50, , 25F
10/13 10:50, 25F
EzHotKey 近期熱門文章
PTT數位生活區 即時熱門文章