mIRC Home    About    Download    Register    News    Help

Print Thread
#12646 23/02/03 02:27 PM
Joined: Dec 2002
Posts: 212
V
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
that loads script and opens it with the editor
I know the firts part can already be done ;b
the reason I want this is simple: it allows to fully integrate .mrc files in explorer
(If anyone can tell a way to do this with scripting only I would be very thankfull :b, so far I can load scripts with DDE, and open the editor with sendkeys, if anyone can tell how to choose which script the editor shows...(not alt+nubmer))


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
Joined: Dec 2002
Posts: 117
R
Vogon poet
Offline
Vogon poet
R
Joined: Dec 2002
Posts: 117
How about using arrow keys instead of numbers:
Code:
alias selscript sendkeys % $+ r%v $str({down}, $calc($$1 - 1)) {Enter}
alias sendkeys {
  var %i = 1
  while ($com(sendkeys $+ %i)) { inc %i }
  var %n = sendkeys $+ %i
  .comopen %n WScript.Shell
  if (!$comerr) {
    var %b = $com(%n,SendKeys,3,bstr,$1-)
    .comclose %n
  }
}
(Don't know how you're sending keys, but this way supports the keycodes I used)


$input(Me like stars, You too?)
Joined: Dec 2002
Posts: 212
V
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
hmmm I tried it with alt+[1-9], I didn't even thought about usin down arrow smile
that's great, thanks smile


And all I need now is intellectual intercourse, a soul to dig the hole much deeper

Link Copied to Clipboard