Noob here. Running v5.4.1. I set a 20 second timer at the beginning of this macro called "main." If the macro is working properly, it finishes in fewer than 20 seconds and loops around, resetting the 20 second timer so that it never actually goes off. But if the main macro gets stuck so that it doesn't finish within 20 seconds, the timer gets triggered and plays the "stuck" macro.
The "stuck" macro contains steps to get the macro un-stuck. (In this case, it re-loads purple.com so that it can find the image that triggers the actions in "main".) After that plays, it returns to play the "main" macro from wherever it left off.
Instead of returning to play the "main" macro from wherever it left off, I would like it to return to play the "main" macro from the beginning, no matter where it left off. I have tried achieving this by adding a "restart" label to the beginning of the main macro and adding a GoTo restart step at the end of the "stuck" macro, but playback seems to ignore that and still just goes back to the "main" macro from wherever it left off.
Is there a way I can change it so that it goes back to the beginning of the "main" macro, no matter where it left off?
Thanks!
- Home Board index AutoHotkey (v2, current version) Editors Pulovers Macro Creator
- Search
-
- It is currently 28 May 2024, 19:17
- All times are UTC-05:00
Restarting from the beginning after timer
Advanced Macro Recorder/Editor.
Moderator: Pulover
Return to “Pulovers Macro Creator”
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 6 guests