Bookmark: Run Loop

Hi all!

Is it possible to create a browser bookmark to execute UI.Vision Kantu with the “Play Loop” function?

Screenshot%20from%202019-10-24%2011-48-38

Screenshot%20from%202019-10-24%2011-48-41

This bookmarklet will run once:

javascript: (function () {
    try {
        var evt = new CustomEvent('kantuRunMacro', {
            detail: {
                name: "<filename>",
                from: 'bookmark',
                storageMode: 'browser',
                closeKantu: true
            }
        });
        window.dispatchEvent(evt);
    } catch (e) {
        alert('Kantu Bookmarklet error: ' + e.toString());
    }
})();

Is it possible to pass details to instruct it to run in a loop immediately?

Version: 5.2.3

Thanks!

You can not trigger the LOOP button via bookmark, but you can use the commands

  • LABEL…GOTOLABEL
  • WHILE…END
  • DO…REPEAT IF

to loop directly inside your macro.

1 Like