Page 1 of 1
Unjustified syntax error
Posted: Sat Jun 12, 2010 10:58 am
by Pirk
Hi guys! great prog you've made. but there is a command which doesn't work:
CTRL+[ generates a syntax error in EventGhost. I need this specific command for eJukebox.
Could you extend the character set recognized by EventGhost?
Thanks.
Evenghost version: 0.3.7.r1462
Windows 7 Home Premium - 64bit French
Bug: Unjustified Syntax error (cf. screenshot)

Re: Unjustified syntax error
Posted: Sat Jun 12, 2010 12:18 pm
by Pako
You can try {Ctrl+Oem4}.
But I'm not sure it will work with a French keyboard.
Pako
Re: Unjustified syntax error
Posted: Sat Jun 12, 2010 12:30 pm
by Pirk
Ah.. {Ctrl+Oem4} ? I tried your code, but it doesn't work in eJukebox. What does mean "Oem4"?
Thanks for your help Pako.
Re: Unjustified syntax error
Posted: Sat Jun 12, 2010 1:49 pm
by Pako
See for example
this page.
There is also a table, which you will find that
Oem4 has the same code as
OemOpenBrackets (hexadecimal
DB).
Because EventGhost is using
Oem4 (you can find it in the file
EventGhost\eg\WinApi\SendKeys.py)
must be used
Oem4. Condition, however, is that you must have a keyboard switched to
U.S. keyboard.
You can only try to emulate
{Oem4} and find out what it actually is.
Tip: open notepad.exe and before the macro that emulates keystrokes,
place the action Find Window, where window = working-frame of notepad.
Pako
Re: Unjustified syntax error
Posted: Sat Jun 12, 2010 7:13 pm
by Pirk
OK.. I'm trying to send {Oem4} to notepad, but it seems that notepad doesn't receive anything.
I've also tried to emulate something more "easy": just a standard character, {X} for example. the X should appear in notepad, isn't it? But still nothing! notepad comes on the first plan, but nothing more (?).
Thanks.
Re: Unjustified syntax error
Posted: Sun Jun 13, 2010 4:43 am
by Pako
Pirk wrote:OK.. I'm trying to send {Oem4} to notepad, but it seems that notepad doesn't receive anything.
I've also tried to emulate something more "easy": just a standard character, {X} for example. the X should appear in notepad, isn't it? But still nothing! notepad comes on the first plan, but nothing more (?).
Thanks.
You must use the "Edit" child of notepad window:
Pako
Re: Unjustified syntax error
Posted: Sun Jun 13, 2010 10:45 am
by Pirk
All right, it's working like you say! if I turn the notepad window to US English keyboard, when I send Oem4 I receive [ in notepad.
So I tried to send {Ctrl+Oem4} to eJukebox, but still no joy.. I don't know on which "window" of eJukebox I should send this command? I tried several of the them but no chance. Maybe you have a idea?
Thanks for your help Pako.