my ipmi "paste" autohotkey

Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

james23

Active Member
Nov 18, 2014
453
125
43
52
nothing fancy here, but as i use this very often, i figured i would share it.

its my auto hot key script / .ahk ( ahk is a free windows app for scripting keyboard inputs), that just takes your clipboard and types out each letter. So i use it for a "paste" into IPMI vKVM windows that im constantly using.

(ie you copy some text on your windows machine, then click on your vKVM window, and press ALT+SHIFT+V and this script starts typing what was on your clipboard, into your vkvm session). I use supermicro stuff mainly so YMMV (also works on hp ilo IME). has some other uses too like vnc when clipboard transfer is not working
the ";" lines are comments so you can delete those if you want

Code:
; Autohotkey ipmi paste alt-shift-v
;  ^+v:: is ctrl+shift+v
;  !+v::  is alt-shift-v    <--- THIS ONE IS LIVE
; ctrl shift v was interfering with goog docs paste
!+v::
SetKeyDelay, 180
SendRaw %clipboard%
Return
EDIT; if not on a local network ipmi you may need to increase the SetKeyDelay,180 (the 180 is in ms , per key sent)
 
Last edited:

JCDV

New Member
Jan 15, 2022
1
0
1
James, it works like charm. Thanks!!
"nothing fancy here", well, I disagree... It's hyper-fancy!!
 

Subsonic

New Member
Aug 10, 2017
24
8
3
38
I had a really special case where i needed autohotkey to type every key with a little pause between every keystroke into a AsRock IPMI interface. I also needed to split the password into single chunks, because one part of it triggered a shortcut inside the IPMI-interface.

This scripts works in version 2.0:


; Set the Send mode to Input
SendMode "Input"

; Define the CTRL+1 hotkey to trigger the script
^1:: {
Send "{Y}"
Sleep 50
Send "{O}"
Sleep 50
Send "{U}"
Sleep 50
Send "{R}"
Sleep 50
Send "{P}"
Sleep 50
Send "{A}"
Sleep 50
Send "{S}"
Sleep 50
Send "{S}"
Sleep 50
Send "{W}"
Sleep 50
Send "{O}"
Sleep 50
Send "{R}"
Sleep 50
Send "{D}"
Sleep 50
Send "{H}"
Sleep 50
Send "{E}"
Sleep 50
Send "{R}"
Sleep 50
Send "{E}"
}
 
Last edited: