能力值:
( LV6,RANK:93 )
|
-
-
2 楼
OD的exe改个名字,然后AHK里根据文件名分别发送
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
#F8::
if WinExist("ahk_exe OllyICE2222.exe")
WinActivate, ahk_exe OllyICE2222.exe
SendInput,{F8}
if WinExist("ahk_exe 吾爱破解[LCG].exe")
WinActivate, ahk_exe 吾爱破解[LCG].exe
SendInput,{F8}
return
F12:: ;重载这个脚本
RELOAD
return ====================================
#1::
WinGetTitle, Title_1, A
MsgBox, 激活的窗口标题是: "%Title_1%".
return #2::
WinGetTitle, Title_2, A
MsgBox, 激活的窗口标题是: "%Title_2%".
return ;得到存在EXE的PID
#3::
Process Exist, calc.exe
PID := ErrorLevel
MsgBox 64, Row %A_LineNumber% -> %A_ScriptName%, PID = %PID% ;显示ahk代码的行号,ahk的名称,PID #Esc:: ;Win+Esc
WinGet pid, PID, A
; 获取 WMI 服务对象.
wmi := ComObjGet("winmgmts:")
; 执行查询以获取匹配进程.
queryEnum := wmi.ExecQuery(""
. "Select * from Win32_Process where ProcessId=" . pid)
._NewEnum()
; 获取首个匹配进程.
if queryEnum[process]
MsgBox 0, Command line, % process.CommandLine
else
MsgBox Process not found! ; 释放所有全局对象 (使用局部变量时不需要这么做).
wmi := queryEnum := process := ""
return #9::
SetTitleMatchMode, 2
SetTimer, 监视窗口, 100
Return
监视窗口:
IfWinExist, 无标题 - 记事本
WinKill, 无标题 - 记事本
Return
=======================
这是自己 研究的一点成果,还不成熟
==================
希望高人 能搞出一个
这样的:
win+1 点第一个OD,得到标题,句柄,路径
win+2 点第一个OD,得到标题,句柄,路径
F8时,同进操控两个未激活的窗口 都能单步向下
,这样不同的调试者 就都能享受了。
|
|
|