推 Lumania:關閉自己是用exitapp 01/19 09:45
→ Lumania:關閉別人的話,在run 時要取得對方的processID 01/19 09:48
→ Lumania:有對方的processID 就可以用process去關掉對方 01/19 09:49
→ ScorAlan:謝謝L大 01/19 14:58
想再請問
剛剛我有試了一下Notepad.exe以及其他的小程式可以正常取回ProcessID
但在A.ahk上面
Run, C:\Users\....\B.ahk, , , PID
.
.
.
.
.
.
.
process, close, PID
沒辦法取回PID
導致process指令沒辦法關閉B.ahk
不知道這該怎麼解決呢?^^"
※ 編輯: ScorAlan 來自: 114.43.4.121 (01/19 15:56)
推 Lumania:run, ...\autohotkey.exe ..\b.ahk, , , PID 試試 01/19 16:56
→ ScorAlan:感謝L大 成功取得到PID了^_^ 01/19 17:52