Now it is possible to expand the DuclyScript by repeating blocks of commands.
For example the following script will open 10 notepads an type in Hello World.
DELAY 3000 BEGIN GUI r DELAY 500 STRING notepad DELAY 500 ENTER DELAY 750 STRING Hello World!!! ENTER AGAIN 10
The start of a block is marked by BEGIN command and the end of the block is marked by the AGAIN command which receives an integer parameter.
Sources for the Test Sketch as well as for the Compiler were updated on Github as well.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.