Jump to content

diffrents of WinXP and W2K by useing Hotkey ?


Recommended Posts

I wrote a little macro to test the new GUi function.

i use a hotkey to acticate the GUI function and it works nice on my computer with Win2000

then i compiled the macro and gave it to a friend to test it.

but the hotkey doest work on his computer running WinXP.

i gave the macro then to some other ppl too and always the same..

W2K = all ok

WinXP = hotkey doesnt work

why does the macro.exe works perfect on w2k but doesnt work on winxp ??

Edited by Fraggle
Link to comment
Share on other sites

It should work the same. I have a script that uses many hotkeys.

The script works the same on Win2k as on WinXP.

Show us your script and we'll take a look.

<{POST_SNAPBACK}>

i think it depens on how W2K or WinXP is able to use keyboard hook

i try to make a messenger and the hotkey activate a gui to write/read messages to/from other ppl while you are ingame

on Win2k the hotkey works ingame, on WinXP it doesnt.

if the WinXP user switch with ALT-TAB out of the game to a folder or txt file the hotkey works, back into game it doesnt

Link to comment
Share on other sites

What hotkey did you use?

Windows XP has a few more system-reserved hotkeys that 2000 doesn't:

Win+L (lock workstation)

Win+B (select first tray icon)

You might check the return value of HotKeySet. For example:

If Not HotKeySet("^+h", "someFunction") Then
   MsgBox(4096,"Error", "Could not assign Ctrl+Shift+H hotkey...")
EndIf

Edit: Oh, if it's a game then keyboard hook is probably the issue like you said.

Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...