Piu Posted August 3, 2012 Share Posted August 3, 2012 I play some FPS games, and I'd like to bind some audio files to play on the click on a mouse button (MOUSE4/MOUSE5, to say). I'd have my recording device on Stereo Mix so all I need is a program/script/some other way to play the sound when I press a mouse button. Is this possible? Thanks in advance. [hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide]Never gonna give you up.[/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide]"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Sy_Accursed Posted August 3, 2012 Share Posted August 3, 2012 Theoretically it's doable, however once your pc is focused into the game window the game would take over mouse/keyboard input commands so likely would not work whilst in-game. Operation Gold Sparkles :: Chompy Kills :: Full Profound :: Champions :: Barbarian Notes :: Champions Tackle Box :: MA RewardsDragonkin Journals :: Ports Stories :: Elder Chronicles :: Boss Slayer :: Penance King :: Kal'gerion Titles :: Gold Statue Link to comment Share on other sites More sharing options...
Piu Posted August 3, 2012 Author Share Posted August 3, 2012 I'm no tech genius, but I am still able to change my FOV (Field of view) using a program I downloaded with the + and - keys whilst in-game. :? [hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide]Never gonna give you up.[/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide]"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Lord Paul Posted August 3, 2012 Share Posted August 3, 2012 Is it possible? Yes.Do I know how? No.Where to start? AHK. You should be able to do it that way. I only know some of the basic scripting. Working on max and completionist capes. 2435/2475 Link to comment Share on other sites More sharing options...
Hedgehog Posted August 3, 2012 Share Posted August 3, 2012 It can be done easily in AHK. However, the sound files have to be .wav. If they sound files aren't saved in the same directory as the script, you have to specify the absolute path. Xbutton1:: ifexist, yoursoundfile.wav Soundplay, yoursoundfile.wav else Msgbox, Sound file does not exist return Xbutton2:: ifexist, yoursoundfile2.wav Soundplay, yoursoundfile2.wav else Msgbox, Sound file does not exist return Link to comment Share on other sites More sharing options...
Piu Posted August 4, 2012 Author Share Posted August 4, 2012 Xbutton2:: ifexist, mw3.wav Soundplay, mw3.wav else Msgbox, Sound file does not exist return I can't seem to get it to work. It still says it does not exist. :( EDIT: Nevermind, got it to work when I moved the 2 files into Program Files/AutoHotKey/Extra/Scripts, but it wouldn't work while in the default script that run when you launch it. Thanks, anyway! [hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide][hide]Never gonna give you up.[/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide][/hide]"We don't want players to be able to buy their way to success in RuneScape. If we let players start doing this, it devalues RuneScape for others. We feel your status in real-life shouldn't affect your ability to be successful in RuneScape" Jagex 01/04/01 - 02/03/12 Link to comment Share on other sites More sharing options...
Lord Paul Posted August 4, 2012 Share Posted August 4, 2012 It worked for me. Damn handy, hmm.. Oh, you edited in that you got it. Good, good. Working on max and completionist capes. 2435/2475 Link to comment Share on other sites More sharing options...
Hedgehog Posted August 4, 2012 Share Posted August 4, 2012 Glad you got it to work :P Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now