yousifucv Posted September 28, 2008 Share Posted September 28, 2008 (edited) I was wondering how I could use custom buttons on your keyboard (eg. Media buttons, Volume Buttons, etc...) or even extra mouse buttons for HotKeySet and _IsPressed. The scripts I found here only worked at finding the default keys. Thanks. Edited September 28, 2008 by yousifucv Link to comment Share on other sites More sharing options...
dbzfanatic Posted September 28, 2008 Share Posted September 28, 2008 Did you even do a search? This question has been asked before. Search for "Media buttons". Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote] Link to comment Share on other sites More sharing options...
Andreik Posted September 28, 2008 Share Posted September 28, 2008 I was wondering how I could use custom buttons on your keyboard (eg. Media buttons, Volume Buttons, etc...) or even extra mouse buttons for HotKeySet and _IsPressed. The scripts I found here only worked at finding the default keys.Thanks.For _IsPressed() 80H-87H F17 key - F24 key When the words fail... music speaks. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted September 28, 2008 Share Posted September 28, 2008 You already have {MEDIA_NEXT}, {MEDIA_PREV} etc in the helpfile, what more do you need? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
yousifucv Posted September 28, 2008 Author Share Posted September 28, 2008 Did you even do a search? This question has been asked before. Search for "Media buttons".Yes I did. Nothing came up, and nothing comes up still.For _IsPressed()80H-87HF17 key - F24 keyI don't know what I'm supposed to do with this.You already have {MEDIA_NEXT}, {MEDIA_PREV} etc in the helpfile, what more do you need?I don't see how this has to do with anything I asked for. Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted September 28, 2008 Share Posted September 28, 2008 I don't see how this has to do with anything I asked for.That was what you asked for, maybe you should try to be more precise in your questions .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
bluelamp Posted September 28, 2008 Share Posted September 28, 2008 The posters above gave you all information you need. Look at the helpfile for "_IsPressed" and "Send" Link to comment Share on other sites More sharing options...
yousifucv Posted September 28, 2008 Author Share Posted September 28, 2008 (edited) I'm trying to find out how I could use these extra keyboard and mouse buttons to do whatever I want them to do using HotKeySet and _IsPressed. How am I supposed to know what the Volume button's 'code' is? Edited September 28, 2008 by yousifucv Link to comment Share on other sites More sharing options...
Andreik Posted September 28, 2008 Share Posted September 28, 2008 I'm trying to find out how I could use these extra keyboard and mouse buttons to do whatever I want them to do using HotKeySet and _IsPressed.And what is more extra if not key functions (F13-F24) or what AdmiralAlkex say about {MEDIA_NEXT}, {MEDIA_PREV}.You have some prototype keyboard? When the words fail... music speaks. Link to comment Share on other sites More sharing options...
bluelamp Posted September 28, 2008 Share Posted September 28, 2008 I'm trying to find out how I could use these extra keyboard and mouse buttons to do whatever I want them to do using HotKeySet and _IsPressed.In the helpfile under "Send" is a table where you find what you are searching, these values can be used with HotKeySet too. Link to comment Share on other sites More sharing options...
DW1 Posted September 28, 2008 Share Posted September 28, 2008 (edited) For ispressed you can discover the values like this: #include <misc.au3> while(true) Local $val $val = _IsAnyKeyPressed() if ( $val > -1 ) Then MsgBox(0, "", '_IsPressed("' & StringRight(String(Hex($val)), 2) & '")') EndIf WEnd Func _IsAnyKeyPressed($start = 0, $end = 255) For $i = $start to $end if (_IsPressed(Hex($i))) Then return $i Next return -1 EndFunc EDIT: Changed MsgBox output to _IsPressed style. Edited September 28, 2008 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
yousifucv Posted September 28, 2008 Author Share Posted September 28, 2008 Thanks danwilli, but thats just like the other script I found. It doesn't work, it doesn't find values for my custom buttons. I guess there isn't a way. Thanks again. Link to comment Share on other sites More sharing options...
DW1 Posted September 28, 2008 Share Posted September 28, 2008 Thanks danwilli, but thats just like the other script I found. It doesn't work, it doesn't find values for my custom buttons.I guess there isn't a way.Thanks again.I am thinking that his can be done, but may involve a dll call to hook the keyboard...I would have tested the script for you first, but I don't have any fancy keyboards, all standard white qwerty boards I guess this is the part where we wait for one of the smart people to come make us look like fools LMAO AutoIt3 Online Help 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