Code: Select all
Run "notepad",,, &pid
WinWaitActive "ahk_pid " pid
SendText "Hello, world!"
This specific code example can be found in Tutorial- Run Programs- Run's Parameters
[Mod action: Moved topic from “Tutorials (v2)”.]
Code: Select all
Run "notepad",,, &pid
WinWaitActive "ahk_pid " pid
SendText "Hello, world!"
Code: Select all
Run "notepad",,, &pid
Code: Select all
Run "notepad"
WinWaitActive("ahk_exe notepad.exe")
SendText "Hello, world!"
Code: Select all
Run "mspaint",,, &pid
WinWaitActive "ahk_pid " pid
Send "^e" ; Ctrl+E opens the Image Properties dialog.
Return to “Suggestions on Documentation Improvements”
Users browsing this forum: No registered users and 7 guests