Quick and dirty autohotkey scripts

andrewjoy

16 Aug 2012, 01:13

Well i wanted to start a thread where people can post quick and easy stuff they do with autohotkey

this is what i always have with me

Code: Select all

!1::Send,{ASC 0163}
!2::Send,{ASC 0128}
Capslock::Rwin
!l:: DllCall("LockWorkStation")
!i:: msgbox  HOSTNAME: %computername% `n IP: %A_IPAddress1%
I use an ANSI keyboard sometimes so I need the £ and € I also use a keyboard without a win key sometimes so that is useful.

I log onto many pcs at work so i need a nice fast way to get my hostname and ip if I need it ( note on this i am looking for a quick way to show the mac address of the lan card on the system but have not found a way yet)

I have only been using AHK for a bit I like it.

Anyone else got any quick and easy scripts they use often and find useful?

User avatar
damorgue

16 Aug 2012, 01:47

Mine are boring, I will keep track of this thread though. Surely there are all kinds of neat things people have here.

dox

16 Aug 2012, 02:01

Scroll over the taskbar to change the volume. I love this one!

Code: Select all

#If MouseIsOver("ahk_class Shell_TrayWnd")
WheelUp::Send {Volume_Up}
WheelDown::Send {Volume_Down}

MouseIsOver(WinTitle) {
    MouseGetPos,,, Win
    return WinExist(WinTitle . " ahk_id " . Win)
}
return

andrewjoy

16 Aug 2012, 09:01

I like that !

EDIT

what i want to be able to do is mouse with wasd but everything i find is for bloody diablo 3

Post Reply

Return to “Workshop”