How to distribute Macros via Website: Test Page
Run embedded UI.Vision RPA macros
Embedded UI.Vision RPA macros are a great way to distribute macros to users, for example to help them with certain tasks on your website. This website contains three embedded macros. You can use your browser's "View page source" function to inspect this website - and you will see the embedded macros. The macro code is exactly the same as you can find on the source code tab.
Allow embedded macros to run
In order to run macros that are embedded in a website you have to first allow it (step 1 in the screenshot below). The default setting is OFF (do not run embedded macros). Once you allow such macros in general, you will see a dialog box asking for permission to run such macros. If you want to avoid this warning dialog for certain websites (for example your own internal website), then you can add this website to the website whitelist (step 2 in the screenshot below):
The only part that needs to be changed is the macro JSON code. You can also give each macro a different name. Macros with the same name get simply overwritten, so UI.Vision RPA runs always the latest version that is on the page.
For more information see How to create and run embedded macros.