Author Topic: Help with Autohotkey  (Read 2514 times)

0 Members and 1 Guest are viewing this topic.

Offline Zamorph

  • Thread Starter
  • Posts: 211
Help with Autohotkey
« on: Tue, 19 April 2011, 21:41:31 »
Hey, I wanted to make a script to make it so right alt key is my modifier, B would increase my volume and N would decrease my volume.  Can anyone tell me how to do this? In addition, I have a normal dell keyboard with no volume controls already on it, if that mattered at all.

Thanks
« Last Edit: Tue, 19 April 2011, 21:46:10 by Zamorph »

Offline Brodie337

  • Posts: 414
Help with Autohotkey
« Reply #1 on: Wed, 20 April 2011, 03:19:36 »
Code: [Select]
!N::Send {Volume_Down}

!B::Send {Volume_Up}
! is the modifier for alt.

Just for the sake of it, heres what I use for the other media keys:
Code: [Select]
;next song
+Pause::Send {Media_Next}
return

;previous song
+PrintScreen::Send {Media_Prev}
return

;play/pause
+ScrollLock::Send {Media_Play_Pause}
return

+ is the symbol for shift, ^ for control. I think @ is for windows, but I'm not sure, because I've never used it.
« Last Edit: Wed, 20 April 2011, 03:26:07 by Brodie337 »

Offline Zamorph

  • Thread Starter
  • Posts: 211
Help with Autohotkey
« Reply #2 on: Wed, 20 April 2011, 07:11:04 »
Thanks :)!

Offline British

  • Posts: 292
Help with Autohotkey
« Reply #3 on: Wed, 20 April 2011, 07:24:46 »
Quote from: Brodie337;334036
I think @ is for windows, but I'm not sure, because I've never used it.

The win-key character is #.

It's useful when you have a MX-11800 and want to emulate win-e, win-l and such :]

Offline Zamorph

  • Thread Starter
  • Posts: 211
Help with Autohotkey
« Reply #4 on: Wed, 20 April 2011, 10:50:16 »
Btw brodie, where did you find the commands for volume control at? I looked in the help menu for autohotkey... maby not well enough :P

Offline Zamorph

  • Thread Starter
  • Posts: 211
Help with Autohotkey
« Reply #5 on: Wed, 20 April 2011, 13:07:05 »
Quote from: ripster;334191
I found Autohotkey to be incredibly lame and buggy sometimes for simple remapping of anything past the ALPHA characters.   The rules for when you use "SEND" seem arbitrary.   Doesn't help that their forum seems filled with dweebs.

Yeah, I find it a bit buggy sometimes.  Do you have a different program to recommend? :)

Offline slueth

  • Posts: 577
Help with Autohotkey
« Reply #6 on: Wed, 20 April 2011, 17:07:00 »
The help file does list the what the media functions are called.

Offline Brodie337

  • Posts: 414
Help with Autohotkey
« Reply #7 on: Wed, 20 April 2011, 23:06:01 »
I can't remember... I think I dredged it up searhing for media player control. I just use send all the time