I’m working with UI.Vision, and I need to save a text that has been copied and pasted (from the clipboard) into a variable within my macro. Could you please guide me on how to achieve this?
I’ve tried using the store command, but I’m not entirely sure if I’m doing it correctly. Any detailed steps or examples would be greatly appreciated.
When I use storetext in UI Vision, there are automatically strings at the beginning and end of the sentence. Well, I don’t want strings at the beginning and end of the sentence. Do you know how to overcome this via computer settings or UI Vision, for example?
If the string has consistent patterns you can use the exeScript_Sandbox and JavaScript code to extract the parts you need or remove the parts you don’t need using .replace or .split and other commands. ChatGPT with some repeative prompting can help you write the code if you are not experienced using JavaScript.