mIRC Home    About    Download    Register    News    Help

Print Thread
#64977 23/12/03 10:42 AM
Joined: Dec 2003
Posts: 12
T
thinlan Offline OP
Pikka bird
OP Offline
Pikka bird
T
Joined: Dec 2003
Posts: 12
i know u can do an alias with shift and ctrl, like alias cF4, but can u do it with alt?

#64978 23/12/03 07:32 PM
Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
I'm pretty sure those are reserved for mirc and windows,
like alt f1 is to hide/show all channels on active server. alt f4 is to close mirc. So i dont think there is anyway

#64979 24/12/03 01:44 AM
Joined: Jul 2003
Posts: 14
R
Pikka bird
Offline
Pikka bird
R
Joined: Jul 2003
Posts: 14
Code:
  
; usage: /sendkey ALT O 
; give credit to mAx

alias sendkey { 
  showmirc -s 
  var %key = $remove($replace($1-,SHIFT,+,CTRL,^,ALT,%),$chr(32)) 
  var %temp = $regsub($lower(%key),/f([0-9])/g,{F\1},%key) 
  var %name = sendkeys $+ $ticks 
  .comopen %name WScript.Shell 
  if (!$comerr) { 
    var %temp = $com(%name,SendKeys,3,bstr,%key) 
    .comclose %name 
  } 
  return 0 
}


Best regards,
Ken

Link Copied to Clipboard