I have a macro that opens a website and xtypes ctrl s, xtypes a filename then xtypes enter. The file is successfully created.
Upon opening the saved html file it is the UI.Vision IDE page source instead of the active tab.
I’m testing in chrome windows and have the full UI.Vision IDE opened in a separate window side by side with my active window.
Here is an example:
{
"Name": "Test",
"CreationDate": "2025-3-8",
"Commands": [
{
"Command": "open",
"Target": "http://perfectcamp.com",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_CTRL+KEY_S}",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "500",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "filenamehere",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "100",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_ENTER}",
"Value": "",
"Description": ""
}
]
}
If I load the macro in the side panel it works fine.
PRO Edition active
Latest UI.Vision for Chrome
uiuser
March 8, 2025, 10:36pm
2
{
"Command": "bringBrowserToForeground",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "open",
"Target": "http://perfectcamp.com",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_CTRL+KEY_S}",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "500",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "filenamehere",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "100",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_ENTER}",
"Value": "",
"Description": ""
}
1 Like
Shawn_Jackson:
I have a macro that opens a website and xtypes ctrl s, xtypes a filename then xtypes enter. The file is successfully created.
Upon opening the saved html file it is the UI.Vision IDE page source instead of the active tab.
I’m testing in chrome windows and have the full UI.Vision IDE opened in a separate window side by side with my active window.
Here is an example:
{
"Name": "Test",
"CreationDate": "2025-3-8",
"Commands": [
{
"Command": "open",
"Target": "http://perfectcamp.com",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_CTRL+KEY_S}",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "500",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "filenamehere",
"Value": "",
"Description": ""
},
{
"Command": "pause",
"Target": "100",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_ENTER}",
"Value": "",
"Description": ""
}
]
}
If I load the macro in the side panel it works fine.
PRO Edition active Arizona dmv
Latest UI.Vision for Chrome
When running a UI.Vision macro from a separate window, XType commands send keystrokes to the UI.Vision window itself due to focus issues; fix this by adding a click
command to the target webpage before XType to ensure proper focus, or run the macro from the side panel.