loadmacrotree=0 - (A rarely needed setting) If 1, all macro files are loaded at startup into the side bar treeview. This increases startup time, thus the default is ā0ā. Note that when using loadmacrotree=0 UI.Vision RPA looks directly in the file system for the macro, and thus the folder and macro names are case-sensitive on all operating system if the internal HTML5-storage mode is used (= browser file system). In hard-drive mode only Linux is case-sensitive.
Thank you for the link!
But in fact, my problem is simple: I have a very simple script (a test to open a calculator) that workās very well in UI.Vision.
However, when I make a command line with osascript to launch it (here it is : osascript -e ātell application āFirefoxā to open location āfile:///Users/-----/test_calc.html?loadmacrotree=1&closeRPA=1&direct=1¯o=test_calcāā), it opens the UI.Vision window but I have to launch the script with the āPlay Macroā button to execute itā¦
Is it possible to launch the script so that it executes by itself without having to do anything?
Thankās.
Yes, that is how it should work automatically. If it still does not work with āui.vision.htmlā, please record a screen video and post it here, and we can have a look at it.
Thankās a lot Ulrich. I am going to experiment with all that and Iāll let you know
Concerning loadmacrotree many people speak about it in the forum, so⦠How to find infos about deprecated settings ?
I for sure will look again the infos in the link you recalled.
May I ask you a question concerning the file ui.vision.html. This file is generated from API in the settings, right ? What is the difference with the file one can export (in HTML too) from the macro ? Are they similar ?
OK, Iām pretty sure that I miss something very simple to make all this work.
Have a nice day,
Daniel.
OK, I finally solved the problem(s) and it works, I even made an application with Automator that I can launch from the desktop. The command line instruction reads as follows:
osascript -e ātell application āFirefoxā to open location āfile:///Users/Me/Desktop/uivision/ui.vision.html?loadmacrotree=1&closeRPA=1&direct=1&continueInLastUsedTab=0¯o=test_calcāā
Two options made the script work: loadmacrotree=1 to make macros visible to the script at launch (without it, the script must be launched manually, not very practicalā¦) and continueInLastUsedTab=0 to remove the error messages: āInvalid tab ID: 78ā or āInvalid tab ID: 136ā (that I donāt even know where they come from). The ācloseRPA=1ā option closes the UI.Vision window at the end of the execution.
Well, it seems that (at least for me) deprecated options are still necessary for the script to work properly. Honestly, I still need to familiarize myself with these options to fully grasp their meaning, I will then move on to more complex (and interesting ) processes.
Thankās to those who share their experiences and advice, here.
Best, Daniel.