Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;I know this is already possible with a dll (a lot of scripters know and use sendkeys.dll) but a few people may interest in using this, so here it is.
- alias sendkeys {
- var %a = sendkeys $+ $ticks
- .comopen %a WScript.Shell
- if !$comerr {
- var %b = $com(%a,SendKeys,3,bstr,$1-)
- .comclose %a
- return %b
- }
- return 0
- }
- ;Copy and Paste the above code into your mIRC Remote Editor (Press "ALT+R" to open the dialog).
- ;Still have no idea about how to use this snippet? here is once more full-blown example.
- ;Say you want to add some items in your channel Popups menu to open some primary mIRC dialogssuch Options dialog,Remote Editor, Address Book, Chat and Channels list dialog, then you should create its Popups code which looks something like:
- menu channel {
- mIRC Options://sendkeys % $+ o
- -
- Remote Editor://sendkeys % $+ r
- -
- Address Book://sendkeys % $+ b
- -
- DCC Chat://sendkeys % $+ c
- -
- Channels list://sendkeys % $+ l
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement