how do u force key strokes like in your Seeker at a certian procit cals for
Ctrl+M
??
so the map is not showing
much thx 4 help
Zog
ID:270423
![]() Apr 30 2006, 9:27 am
|
|
![]() Apr 30 2006, 10:10 am
|
|
Errrr...What'd you say?
|
From what I can read from enduring this kinda thing for a long time (oh the joys of friend who tlk liek dis al da time)
"How do you force key strokes? At a certain proc it calls for Contrl+M so the map is not showing. Thanks a lot for help. Zog" =) I don't know how, but someone smarter might ^_^;; Actually thinking, unless you have access to their keyboard you CANT. Though you might be able to call the proc etc that's called when certain keys are pressed? |
JMT wrote:
unless you have access to their keyboard you CANT. Before I go on this guy, let me give you a calling card of a friend of mine: hub://Loduwijk.KeyState That checks for key presses. <small>Disclaimer: By "friend" I ment the KeyState library, not Loduwijk; we never met.</small> In order to be able to "force keypresses" all you have to do is call the procs that are done when the keys are actually pressed. By that, I mean simply calling client.North() if you want to "force" the clients' up arrow to be pressed. Although I must admit that it gets harder if the macros have been changed, KeyState will always preserve the developers' macros. As for the question "how do you make it so the map goes away", try client.show_map. It can be set to 0 to hide the map and 1 to show the map. As for the verb panel, client.show_verb_panel will do the trick. 01000100011000010111010001100001 |