Keystroke emulation does not seem to work.
Even with a simple .XML file as follows:
1) Create NEW Config File (Alt...File...New)
1) Under Autostart, add the following:
a) Start Program: notepad.exe
b) Find Window: notepad.exe
c) Bring to front
d) Emulate Keystrokes: test
RESULTS:
-Notepad loads
-Notepad comes to top
That's it, the text "test" never gets typed in
I tried adding "Wait: 3.0sec" between :"Bring to front" and "Emulate keystrokes", it makes no difference.
Am I doing something (very basic???) wrong or is it broken?
Thanks
The REAL Joe
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Emulate Keystrokes - Not Working in 0.3.5c.908
-
therealjoeblow
- Posts: 6
- Joined: Mon Mar 10, 2008 8:11 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Emulate Keystrokes - Not Working in 0.3.5c.908
You have to target the "Edit" pane of notepad in FindWindow.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
-
therealjoeblow
- Posts: 6
- Joined: Mon Mar 10, 2008 8:11 pm
Re: Emulate Keystrokes - Not Working in 0.3.5c.908
OK, thanks, it works now. Is there documentation on these window classes?
Also, EventGhost doesn't see 'itself' in the FindWindow - I want to send {ALT+F4} to EG after my macro runs to close event ghost - do you know how I would do that? (Basically, I just want to use it as a macro runner - load up, run the macro, close).
Thanks,
The REAL Joe
Also, EventGhost doesn't see 'itself' in the FindWindow - I want to send {ALT+F4} to EG after my macro runs to close event ghost - do you know how I would do that? (Basically, I just want to use it as a macro runner - load up, run the macro, close).
Thanks,
The REAL Joe
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Emulate Keystrokes - Not Working in 0.3.5c.908
This is not the purpose of EventGhost. Try AutoHotkey or similiar.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!