Hello all!
I've had a problem for a long time, and I've since abandoned trying to fix it, until recently.
I have a Razer Blackwidow Chroma, and a Razer Mamba TE mouse, which both light up. I place CS:GO, and when I press my mouse4 button (XButton1,) the voice chat toggles between on and off, allowing for me to silence the in-game voice chat.
My issue is, sometimes it'll be off without me knowing, so I wanted to turn my mouse or keyboard (even both,) red when its off, and green when its on. I've had various issues with this because Razers software (synapse) is garbage at doing these kinds of things. On idea I had was to set my page up and page down keys to switch my mouse and keyboard profiles. When I press page up, my mouse turns red, and when I press page down, my keyboard is red, and then back green if I press them again. So, all I'd have to do is bind my voice chat to toggle to some key (like 'o') and make a macro that, when I press my mouse button 4, send o, page up, and page down. That's all when and good, but the macro SENDS page up/down, but not 'presses' it. When *I* press PgUp, nothing onscreen happens, but my mouse changes color, whereas, with AHK, the page actually moves up. I'm very frustrated with Razers software, and I'm very hopeful someone will be able to help me out.
This is my current code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
Xbutton1::
Send {o}
Send {PgUp}
Send {PgDown}
return
I suspect that its because in razers synapse software, the pgup and pgdown keys aren't actually being sent, and synapse is listening for the key call event before AHK even sends it.
Thank you again!
- Home Board index AutoHotkey (v1.1 and older) Ask for Help (v1) Gaming Help (v1)
- Search
-
- It is currently 23 Apr 2024, 06:15
- All times are UTC-05:00
Help with using Razer rebound keys and AHK
Ask gaming related questions (AHK v1.1 and older)
Jump to
- AutoHotkey Foundation
- About This Community
- Forum Issues
- AutoHotkey (v2, current version)
- Ask for Help (v2)
- Gaming
- Scripts and Functions (v2)
- Gaming
- Tutorials (v2)
- Tips and Tricks
- Wish List
- Suggestions on Documentation Improvements
- Bug Reports
- AutoHotkey Development
- AutoHotkey_H
- Ask for Help
- Development
- Editors
- Adventure IDE
- Old Topics
- AHK Studio
- Notepad++
- Pulovers Macro Creator
- SciTE4AutoHotkey
- Visual Studio Code
- Announcements
- General Discussion
- AutoHotkey (v1.1 and older)
- Ask for Help (v1)
- Gaming Help (v1)
- Scripts and Functions (v1)
- Gaming Scripts (v1)
- Tutorials (v1)
- Tips and Tricks (v1)
- General
- Other Utilities & Resources
- Other Programming Languages
- C/C++
- ASM
- C#
- KeySharp
- Off-topic Discussion
- RPA
- Other languages
- Looking for Volunteers in other languages
- Deutsch (German)
- Ich brauche Hilfe
- Spiele
- Skripte und Funktionen
- Tutorials
- Tooltime
- Allgemeines
- 中文 (Chinese)
- 请求帮助
- 脚本函数
- 教程资料
- 相关工具
- 其他
- Español (Spanish)
- Pedir Ayuda
- Automatización de Juegos
- Scripts y Funciones
- Tutoriales
- Otras Utilidades y Recursos
- General
- Русский (Russian)
- Помощь
- Скрипты для Игр
- Скрипты и библиотеки
- Статьи и руководства
- Прочие ресурсы и ПО.
- Свободное общение
- Français (French)
- J'ai besoin d'aide
- Scripts et Fonctions
- Tutoriels
- Autres Utilitaires et Ressources
- Hors Sujet
- Português (Portuguese)
- Ajuda e Suporte Geral
- Scripts e Funções
- Tutoriais
- Outras Ferramentas e Recursos
- Outros Assuntos
- 한국어 (Korean)
Who is online
Users browsing this forum: No registered users and 63 guests