Alt keys not working with XServer and MSCHED

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
David_Lesnick
Newbie
Posts: 3
Joined: Thu Jun 19, 2003 2:58 pm
Contact:

Alt keys not working with XServer and MSCHED

Post by David_Lesnick » Thu Jun 19, 2003 3:06 pm

I am scripting commands with a XServer running on a windows desktop (Cygwin/XFree86). Regular text commands and mouse command work fine, but when I use the Press Alt command this seems to be ignored. I experimented with another macro tool (Macro Express) and it seems to get the Alt key recognized by the XServer just fine. I've been using MSCHED for the regular windows windows and it works great. Any ideas on how I might be able to get it the XServer to recognize Alt keys being pressed?

Lumumba

Post by Lumumba » Thu Jun 19, 2003 3:42 pm

Have a try with the ASCII> command instead of MSched's Press ALT command.

Code: Select all

//ALTDown+ALTUp
ASCII>18,164

David_Lesnick
Newbie
Posts: 3
Joined: Thu Jun 19, 2003 2:58 pm
Contact:

Post by David_Lesnick » Thu Jun 19, 2003 4:14 pm

Just tried it, no joy. I still just get the character appearing in the window, but no menu action.

Lumumba

Post by Lumumba » Thu Jun 19, 2003 5:03 pm

Just2bSure ...

Code: Select all

Ascii>18
Ascii>M
Ascii>164
should be the same as ...

Code: Select all

Press Alt
Send>M
Release Alt
Send a mail to the MSched support!

Lumumba

Post by Lumumba » Thu Jun 19, 2003 5:07 pm

Ooops,

Wrong: Ascii>M
Correct: Ascii>77

David_Lesnick
Newbie
Posts: 3
Joined: Thu Jun 19, 2003 2:58 pm
Contact:

Post by David_Lesnick » Thu Jun 19, 2003 5:55 pm

Will do. Did a little debugging with SPY and noted that MSCHED is sending a scancode of 00 on the WM_SYSKEYDOWN message where as the other macro tool is sending a scancode of 38.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts