Close
Showing results 1 to 2 of 2

Hybrid View

  1. #1

    Default Problem with an AHK script...

    Howdy y'all!

    I'm trying to test out AutoHotKey, but for some reason, my script doesn't seem to be working...

    Here's what I've done so far. Basically, I'm going to be using my n52 speed pad to control additional sessions on the same machine. I'm using Control+Alt+Shift+<1-9> for my main quickbar buttons.

    Now, when I hit the keys when one of the relevant sessions has focus, it works, but when I use the speedpad and my main's session has focus (when autohotkey should kick in), it doesn't work.

    Could somebody take a look at this and if I've got any errors?

    [code:1]
    ;
    ; AutoHotkey Version: 1.x
    ; Language: English
    ; Platform: Win9x/NT
    ; Author: A.N.Other <myemail@nowhere.com>
    ;
    ; Script Function:
    ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
    ;

    #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
    SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
    SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

    WinGet, wowid, List, World of Warcraft
    ; *******************
    ; *** Hotbars 1-0 ***
    ; *******************
    Control & Alt & Shift & 1::
    #IfWinActive, World of Warcraft
    {
    ControlSend,, {control down}{alt down}{shift down}{1 down}{1 up}{shift up}{alt up}{control up}, ahk_id %wowid1%
    ControlSend,, {control down}{alt down}{shift down}{1 down}{1 up}{shift up}{alt up}{control up}, ahk_id %wowid2%
    ControlSend,, {control down}{alt down}{shift down}{1 down}{1 up}{shift up}{alt up}{control up}, ahk_id %wowid3%
    }
    Return
    [/code:1]

    Thanks!
    -Memooselah

  2. #2

    Default Nevermind...

    It was problem with the speedpad software...

    Thanks Anyway! And good luck to everybody!
    -Jojo

Similar Threads

  1. Pip script help
    By whitewolf007 in forum Software Tools
    Replies: 24
    Last Post: 07-08-2009, 11:07 PM
  2. AHK script for using F1?
    By Rayve in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 10-08-2008, 10:30 PM
  3. AHK script
    By kiizer in forum New Multi-Boxers & Support
    Replies: 1
    Last Post: 04-25-2008, 10:41 AM
  4. Autohotkey Script Problem
    By russs in forum Software Tools
    Replies: 3
    Last Post: 01-02-2008, 10:58 AM
  5. WoW Script
    By Zeio in forum General WoW Discussion
    Replies: 4
    Last Post: 08-16-2007, 02:35 AM

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •