View previous topic :: View next topic |
Author |
Message |
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Jul 21, 2002 12:24 am Post subject: Disable keys |
|
|
While using the VDSHOT.DLL I found this interesting:
When you create a hotkey, it disables the key for other things until you exit the program with the hotkey in it.
I tested it in Notepad with Windows XP Home Edition...
Code: |
external vdshot.dll
hotkey add,1,a
hotkey add,2,b
hotkey add,3,c
hotkey add,4,d
hotkey add,5,escape
:evloop
wait event
goto @event()
:hotkey1
goto evloop
:hotkey2
goto evloop
:hotkey3
goto evloop
:hotkey4
goto evloop
:hotkey5
exit
|
You can download the VDSPACK package containing the VDSHOT.DLL at:
http://www.vdsworld.com/index.php?page=download&fileid=45
Known Bugs
ŻŻŻŻŻŻŻŻŻŻ
· You can type the capital letter and it will still type it.
· Not secure because you can close the program. _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Sun Jul 21, 2002 8:56 am Post subject: |
|
|
I don't think that's a bug, because it's a HOTKEY, like Ctrl+Esc (Opens the start-menu), so it has to work in every window...
If you wanna have a hotkey in only 1 window, you should use:
DIALOG ADD,MENU,-,Hotkey 1|Ctrl+Alt+1,Hotkey 2|Ctrl+Alt+2,Hotkey 3|Ctrl+Alt+1 |
|
Back to top |
|
|
FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Sun Jul 21, 2002 1:46 pm Post subject: |
|
|
No, I found this as a good thing to do if you like needed to disable a key while something is installing or something... _________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|