以下是小弟的 CODE 請問如何才可以生效?
Run, Notepad.exe
IfWinExist, 未命名 - 記事本
{
WinActivate
WinMaximize
Send, Some text.{Enter}
return
}
return
run & winexist 問題 請大家指教 Topic is solved
Moderators: tmplinshi, arcticir
Re: run & winexist 問題 請大家指教
Code: Select all
#warn
setworkingdir,%a_scriptdir%
Settitlematchmode,2
SetKeyDelay,20,20
sc=ahk_exe notepad.exe
IfWinNotExist,%sc%
Run,notepad,,,
IfWinNotActive ,%sc%,,WinActivate,%sc%
WinWaitActive,%sc%
Sleep 400
ControlSend ,,Some text`nNext line`n, %sc%
return
Who is online
Users browsing this forum: No registered users and 31 guests