ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: an easy hotkey for KVM switch

(1/2) > >>

DocSavage:
So I downloaded AutoHotKey & thought "this seems learn-able"; now I have a headache & an urge to sample the single malt scotch my kids gave me for Christmas. :-[

My KVM switch requires pressing three simultaneous keys, Ctrl, Alt & Shift then pressing a number, then pressing Enter. Only after all that have I accessed another computer in my network.

I would rather have a easier macro, like maybe the Win key simultaneous with a Number Pad key.

Do-able?

dk

skrommel:
 :) This should work (untested):


--- ---#Numpad1::Send,^!+1{Enter}
#Numpad2::Send,^!+2{Enter}
#Numpad3::Send,^!+3{Enter}
#Numpad4::Send,^!+4{Enter}
#Numpad5::Send,^!+5{Enter}
#Numpad6::Send,^!+6{Enter}
#Numpad7::Send,^!+7{Enter}
#Numpad8::Send,^!+8{Enter}
#Numpad9::Send,^!+9{Enter}

Skrommel

DocSavage:
Skrommel,
this is the message box:
---------------------------
KVM.exe
---------------------------
Error at line 13.

Line Text: #{Numpad1}::Send,^!+1
Error: Invalid hotkey.

The program will exit.
---------------------------
OK   
---------------------------

 :(

skrommel:
 :tellme: Sorry, removed the {}'s from the code above, should work now.

Skrommel

DocSavage:
Skrommel,
Forgive me for being such a pest.
MY CODE IS:

; AutoHotkey Version: 1.x
; Language:       English
; Platform:       Win XP Pro
; Author:         Krebs
;3:34 PM Sunday, January 14, 2007
;

;#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
;SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
#Numpad1::Send,^!+1
#Numpad2::Send,^!+2
#Numpad3::Send,^!+3
...

When I record the macro, I get this:
Send, {ALTDOWN}{CTRLDOWN}{SHIFTDOWN}{ALTUP}{CTRLUP}{SHIFTUP}3{ENTER}
I attached the error message box.
Thanks,
dk

Navigation

[0] Message Index

[#] Next page

Go to full version