Hi All,
I would like to ask help regarding Sending of Keys to specific application which is not currently focus or which is minimized (not active).
Example: (But works only if the application is active)
Dim ReturnValue
ReturnValue = Shell("NOTEPAD. EXE", 1) ' Run Notepad
AppActivate ReturnValue ' Activate Notepad.
SendKeys "ABCDE"
My problem with this sample is that... it will only send the key to NOTEPAD application if notepad is the currently focused application. I wanna send keys to NOTEPAD even if it is not the current focused application.
Any idea on this?
Hope you guys can help me..
Thank you and God Bless,
Borgy Manotoy
I would like to ask help regarding Sending of Keys to specific application which is not currently focus or which is minimized (not active).
Example: (But works only if the application is active)
Dim ReturnValue
ReturnValue = Shell("NOTEPAD. EXE", 1) ' Run Notepad
AppActivate ReturnValue ' Activate Notepad.
SendKeys "ABCDE"
My problem with this sample is that... it will only send the key to NOTEPAD application if notepad is the currently focused application. I wanna send keys to NOTEPAD even if it is not the current focused application.
Any idea on this?
Hope you guys can help me..
Thank you and God Bless,
Borgy Manotoy
Comment