UI.Vision XType not working for special characters after last update

Using XType to enter website passwords. Running Chrome on Linux or Mac.

If text string being typed has “$” in it then UI.Vision gives error E311: Failed to XType. Removing the “$” and it works fine. If text string has “@” in a variable that is being XTyped then getting error on password for website but the string echo it’s correct. Code has been running for 5+ months without issues.

Code Sample that reproduces the issue in Chrome on Mac as well.

{
“Name”: “XType Bug”,
“CreationDate”: “2024-8-2”,
“Commands”: [
{
“Command”: “XDesktopAutomation”,
“Target”: “true”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “selectWindow”,
“Target”: “tab=open”,
“Value”: “http://google.com”,
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “tom$”,
“Value”: “”,
“Description”: “”
}
]
}

  • [error]

[Line 4]: E311: Failed to XType ‘tom$’

On Windows and Mac it works for me (did not test on Linux):

{
  "Name": "dollar",
  "CreationDate": "2024-8-3",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://ui.vision/contact",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "type",
      "Target": "id=ContactName",
      "Value": "classic: 123$abc$!",
      "Description": ""
    },
    {
      "Command": "XClick",
      "Target": "id=Email",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "real keyboard simulation: 123$abc$!",
      "Value": "",
      "Description": ""
    }
  ]
}

Actually, it could be that you do not set the focus to the right place? I see no XClick in your macro before the XType. But even then… this error should not happen.

You are in desktop automation mode. Is that on purpose?

I revised the sample you posted slightly which reproduces the error on Mac and Linux.

{
“Name”: “XType Bug2”,
“CreationDate”: “2024-8-5”,
“Commands”: [
{
“Command”: “XDesktopAutomation”,
“Target”: “true”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “open”,
“Target”: “Contact the Ui.Vision Team (Sales and Support)”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “XClick”,
“Target”: “contactName_dpi_192.png”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_TAB}”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “XType”,
“Target”: “Contact2024$”,
“Value”: “”,
“Description”: “”
},
{
“Command”: “”,
“Target”: “”,
“Value”: “”,
“Description”: “”
}
]
}