Hi there!
I won't be linking a specific script for this question but it should be pretty general. I am assuming the only change(s) I would need to make would be to one specific value (move speed value) which I mention later on.
I'm working with scripts that move my mouse from the center of my application windows.
With the application center being the origin of my mouse movement,
my script:
- Moves mouse from origin -> leftwards x units at x move speed.
- Moves mouse from the left back towards the origin using the same values used above.
- Moves mouse from origin -> rightwards x units at x move speed.
- Moves mouse from the right back towards the origin using the same values used above.
Pretty simple; the mouse goes back and forth across my screen. I have two values to input to control the distance and the move speed of the cursor.
My question is - How can I make the cursor's speed value slow down to 50% of its normal speed during the areas around the side edges of the cursor's path?
Quick mspaint diagram
Let's say I have the movement units set to 25, and the move speed value set to 20. I want the move speed value to be decreased to 10 whenever the cursor's path reaches the read circles.
Think of a pendulum
Thanks to anyone who takes the time to read this. Any help is very much appreciated.
- Home Board index AutoHotkey (v1.1 and older) Ask for Help (v1)
- Search
-
- It is currently 19 Apr 2024, 00:11
- All times are UTC-05:00
Smoothing out simple mouse movements
Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
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)