Hiranus icon

ARK scroll items

Hiranus | PRO | 04/28/17 10:08:08 AM UTC | 0 ⭐ | 10534 👁️ | Never ⏰ | []
Autohotkey |

1.01 KB

|

None

|

0 👍

/

0 👎

CurrentKey := 0
 
^j::
   WinGetClass, class, A
    MsgBox % class
Return
 
#IfWinActive ahk_class Notepad++
+WheelUp::
CurrentKey := CurrentKey + 1
if CurrentKey > 10 
{
    CurrentKey := 1
}
 
SendValue(CurrentKey)
return
 
+WheelDown::
CurrentKey := CurrentKey - 1
if CurrentKey < 1 
{
    CurrentKey := 10
}
 
SendValue(CurrentKey)
return
 
 
1::
CurrentKey := 1
SendValue(CurrentKey)
return
 
2::
CurrentKey := 2
SendValue(CurrentKey)
return
3::
CurrentKey := 3
SendValue(CurrentKey)
return
4::
CurrentKey := 4
SendValue(CurrentKey)
return
5::
CurrentKey := 5
SendValue(CurrentKey)
return
6::
CurrentKey := 6
SendValue(CurrentKey)
return
7::
CurrentKey := 7
SendValue(CurrentKey)
return
8::
CurrentKey := 8
SendValue(CurrentKey)
return
9::
CurrentKey := 9
SendValue(CurrentKey)
return
0::
CurrentKey := 10
SendValue(CurrentKey)
return
 
#IfWinActive
 
SendValue(value)
{
    if value = 10
    {
        Send 0
        Send {enter}
    }
    else
    {
        send %value%
        Send {enter}
    }
}

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎