Hello everyone! I would like to ask you to help me to make AutoFire script (similar to M1 spam on Razer/Logitech mice and Triple-click on 4tech mice but with AutoHotkey software), considering my necessity to press and hold LControl while using it, also I would like that script had press-release action. I found two pretty good scripts while was surfing AHk forums : first one - ::Suspend
LButton::
Loop
{
SetMouseDelay 30
Click
If (GetKeyState("LButton","P")=0)
Break
} , second - $XButton2::
Toggle := !Toggle
while Toggle
{
Send, {LButton Down}
Sleep, 30
Send, {Lbutton Up}
}
return , but the main problem was that none of them could work, while I was pressing LControl.
Adding of asterisk before the hotkey and adding of #IfWinActive in script, that people were suggesting, didn't help. So please, could some one modify two scripts I pasted above or make new one considering my conditions (script have to work while LControl is pressed and it should enable-disable when I press-release hotkey). Thank you very much!
- Home Board index AutoHotkey Ask For Help Gaming
- Search
-
- It is currently 28 Feb 2021, 05:15
- All times are UTC-05:00
AutoFire Script
Ask gaming related questions
Jump to
- AutoHotkey Foundation
- About This Community
- Forum Issues
- AutoHotkey
- Ask For Help
- Gaming
- AutoHotkey v2 Help
- Scripts and Functions
- Gaming
- AutoHotkey v2 Scripts and Functions
- Tutorials
- Tips and Tricks
- Wish List
- Suggestions on documentation improvements
- Bug Reports
- AutoHotkey v2 Development
- AutoHotkey_H
- Ask For Help
- Development
- Announcements
- Editors
- AHK Studio
- Pulovers Macro Creator
- SciTE4AutoHotkey
- AutoGUI
- General Discussion
- General
- Other Utilities & Resources
- Other Programming Languages
- C/C++
- ASM
- C#
- Offtopic
- RPA
- 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 9 guests