forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Disable keys

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jul 21, 2002 12:24 am    Post subject: Disable keys Reply with quote

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
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Jul 21, 2002 8:56 am    Post subject: Reply with quote

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
View user's profile Send private message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Jul 21, 2002 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Miscellaneous All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group