mIRC Home    About    Download    Register    News    Help

Print Thread
#64977 23/12/03 10:42 AM
T
thinlan
thinlan
T
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: 203
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 203
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
R
regatria
regatria
R
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 
}


Link Copied to Clipboard