![]() Return NumGet(GB, 2, "UShort") - 128, DllCall("user32. PS: are you sure you want F4 to adjust the brightness? the F4 in the above script increases the volume):į4:: AdjustBrightness(-1) decrease gamma value by 1 (-1)į6:: DisplaySetBrightness(128) set gamma to standard value (128)į5:: AdjustBrightness(+1) increase gamma value by 1 (+1) Issues with Keywait & MediaPlayPause - posted in Ask for Help: Hi all,Im looking to use my MediaPlayPause key to trigger 2 different routines/macros. ![]() SendInput Just add this to the script (remember to delete lines 25-37 as this will replace the F4, F5 and F6 keys). F4 key by default, Fn+F4 is now Volume Up GitHub - WeedCandy/MediaKeys: An AutoHotkey script that adds global hotkeys for media keys and queuin. F3 key by default, Fn+F3 is now Volume Down An AutoHotkey script that adds global hotkeys for media keys and queuing hotkeys for Spotify. Corsairs exact name for those extra keys are: Keyboard Intl 6. F2 key by default, Fn+F2 is now Mute/Unmute I was able to find 11 EXTRA keys that can be sent from a Corsair keyboard, and picked up by AutoHotkey, which can then run any script you like, of course. F1 key by default, Fn+F1 is now Play/Pause If you want the buttons to function as they are, add a semicolon ( ) to the beginning of each line below. OPTIONAL: For those who use Home/End more than PgUp/PgDown, this flips their use with the Fn key. SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. The proposed version for fixing it works better, but if i press for example three times the next track mediakey strange things happens, like some songs playing at the same time and not movig three tracks forward. SendMode Input Recommended for new scripts due to its superior speed and reliability. 63532396773602 - key downMediaPreviousTrack. Tested on itunes, foobar2000 and spotify. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. I have this code, it maps the keys perfectly so they don't work as they normally would but they don't work as the script should tell them to.
0 Comments
Leave a Reply. |