Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 03, 2015, 02:11:34 PM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: an easy hotkey for KVM switch  (Read 3179 times)

DocSavage

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 62
  • Legend in my own mind
    • View Profile
    • Donate to Member
IDEA: an easy hotkey for KVM switch
« on: January 13, 2007, 06:20:39 PM »
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
From believing in Santa to not believing in Santa, from being Santa to looking like Santa, I will never be younger than I am today!

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: an easy hotkey for KVM switch
« Reply #1 on: January 14, 2007, 01:56:39 AM »
 :) This should work (untested):

Code: [Select]
#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
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
« Last Edit: January 14, 2007, 06:19:30 PM by skrommel »

DocSavage

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 62
  • Legend in my own mind
    • View Profile
    • Donate to Member
Re: IDEA: an easy hotkey for KVM switch
« Reply #2 on: January 14, 2007, 09:10:39 AM »
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   
---------------------------

 :(
From believing in Santa to not believing in Santa, from being Santa to looking like Santa, I will never be younger than I am today!

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: an easy hotkey for KVM switch
« Reply #3 on: January 14, 2007, 05:01:46 PM »
 :tellme: Sorry, removed the {}'s from the code above, should work now.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

DocSavage

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 62
  • Legend in my own mind
    • View Profile
    • Donate to Member
Re: IDEA: an easy hotkey for KVM switch
« Reply #4 on: January 14, 2007, 06:11:55 PM »
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
From believing in Santa to not believing in Santa, from being Santa to looking like Santa, I will never be younger than I am today!
« Last Edit: January 17, 2007, 06:24:36 AM by DocSavage »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 886
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: an easy hotkey for KVM switch
« Reply #5 on: January 14, 2007, 06:20:34 PM »
 :tellme: I wonder if you took my little snippet too litterally. Drop the ...
Try the script above now.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.