Accelerator

Posted by Tanius on Sun 27 Feb 2005 01:32 AM — 5 posts, 23,814 views.

#0
Hi, not sure why this is not working correctly, could use some help.

Just a note I'm on my windows ME computer, but this works fine on my windows xp setup.

When I use the Accelerator function (tried with every language besides python) through scripts in a function

//Javascript example
function SetupMacros ()
{
Accelerator("Numpad0","look");
Accelerator("Numpad1","flee");
}
//

only the last one takes, meaning Numpad0 does nothing (gets cleared), Numpad1 sends flee as expected, if i were to remove [Accelerator("Numpad1","flee");] Numpad0 would be set correctly.

Also it works fine if I do them manually into command bar
/Accelerator("Numpad0","look")

Any ideas?
#1
Forgot to mention I'm using 3.65 mushclient
Russia #2
Works for me with Python on WinXP. Get rid of WindowsME, that thing never made any sense to myself (what is it anyways - an unfinished Win2k or mutated Win98?) and people reported it doing really weird stuff with my scripts, stuff absolutely unreproducable neither on Win98, nor on Win2k, nor on WinXP.
#3
I've been experiencing a similar problem (also, if I check the AcceleratorList function, nothing shows up). Incidentally, I'm on Windows ME as well, so that kind of narrows things down.

Sorry for digging this post up, but I'm curious as to whether Tanius or anyone else ever found a solution (aside from changing from Windows ME).
Australia Forum Administrator #4
Could be a ME problem, some of the Windows system calls function differently depending on the operating system.