Topic: Autoclicking
palino Topic Opener |
Posted at: 2024-04-30, 15:43
Do you have any internal or external tool, which is capable of autoclicking through widelands tutorials? This means script which will click to the game instead of human. I want to prepare such automatic tool/script for passing through 4th tutorial, to easily reproduce https://codeberg.org/wl/widelands/issues/4804 From external tools - this seems to be capable of it, but works only under windows: https://www.autohotkey.com/ Top Quote |
kaputtnik |
Posted at: 2024-04-30, 18:04
You can do that with a lua script. E.g. the first tutorials do some automatic clicks. You can start a script either by using the commandline parameter Top Quote |
tothxa |
Posted at: 2024-04-30, 20:48
Except for modal windows. Lua code cannot run while a modal dialog is open, not even the new plugin timers. I'm working on a PR that automates the creation of compatibility test saves, and I implemented a commandline option for it that allows setting a timeout for automatically closing modal dialogs. Top Quote |