Signup Now
Results 1 to 3 of 3

Thread: Autohotkey

  1. #1
    Free User
    Join Date
    Jun 2017
    Posts
    3
    Reputation
    10
    Rep Power
    0

    Autohotkey

    Hey, any1 using Autohotkey? My script works on deskopt ( when i not include "#IfWinActive, ahk_exe client.exe /tibia.exe/ Tibia.exe) doesnt work on tibia 10.


    #MaxHotkeysPerInterval 999999999

    SetTimer, CheckWin, 300
    bool := False

    #IfWinActive, ahk_exe client.exe -> what file name i have to write there to make it work on tibia 10?

    ;Arrow moves
    w::Up
    s:own
    d::Right
    a::Left
    ;w::Numpad8
    ;s::Numpad2
    ;a::Numpad4
    ;d::Numpad6

    ;Diagonal moveaas
    q::NumpadHome
    e::NumpadPgUp
    c::NumpadPgDn
    z::NumpadEnd

    ;Some hotkeys, +F10 means Shift+F10
    1::+F1
    2::+F2
    3::+F3
    9::^F9
    [::^F11
    '::^F12
    NumpadDot::^R
    `::^F5
    TAB::^F6
    r::^F10
    b::+F10
    x::F8

    ^Enter::
    Suspend, toggle
    ShowToolTip()
    return


    CheckWin(){
    Global bool
    if(!WinActive("ahk_exe client.exe")){ -> what file name i have to write there to make it work on tibia 10?

    ToolTip, , , , 20
    bool := True
    } else if(bool) {
    ShowToolTip()
    bool := False
    }
    }

    ShowToolTip(){
    ToolTip, % A_IsSuspended ? "WASD OFF " : "WASD ON!", 10, 200, 20 ; Position x10, y500
    if(!A_IsSuspended) { ;Tooltip allways shows for suspended and only for 1.2secs if not suspended.
    Sleep, 1200
    ToolTip, , , , 20
    }
    }

  2. #2
    Free User
    Join Date
    Jun 2017
    Posts
    3
    Reputation
    10
    Rep Power
    0
    THIS ONE WORKS ON DESKOPT but not on tibia

    ;Arrow moves
    w::Up
    s:own
    d::Right
    a::Left
    ;w::Numpad8
    ;s::Numpad2
    ;a::Numpad4
    ;d::Numpad6

    ;Diagonal moveaas
    q::NumpadHome
    e::NumpadPgUp
    c::NumpadPgDn
    z::NumpadEnd

    ;Some hotkeys, +F10 means Shift+F10
    1::+F1
    2::+F2
    3::+F3
    9::^F9
    [::^F11
    '::^F12
    NumpadDot::^R
    `::^F5
    TAB::^F6
    r::^F10
    b::+F10
    x::F8

    ^Enter::
    Suspend, toggle

  3. #3
    Free User
    Join Date
    Jun 2017
    Posts
    3
    Reputation
    10
    Rep Power
    0
    FIXED !

    "#IfWinActive, Tibia" is correct one

 

 

Posting Permissions

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