Desktop automation xclick finds the text box but wont let me type

i am trying to automate putting in an address in google earth
I find the logo of google earth
i find the search box and it successfully clicks it
i have tried xclick and i get this error
[error]
Line 4: XType currently doesn’t use the “Value” field
when i try type i get this error
[error]
Line 4: timeout reached when looking for element ‘’
thoughts?

Can you please post your macro source code? Or attach it as exported ZIP file (right click macro => Export as ZIP).

{
“Name”: “googleEarth”,
“CreationDate”: “2020-9-17”,
“Commands”: [
{
“Command”: “XClick”,
“Target”: “googleEarth_dpi_240.png”,
“Value”: “”
},
{
“Command”: “XDesktopAutomation”,
“Target”: “true”,
“Value”: “”
},
{
“Command”: “XClick”,
“Target”: “l13gkp_dpi_240.png”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “”,
“Value”: “test”
}
]
}

It seems i am getting the same problems and errors when trying to type an address into file explorer
[error]

Line 3: run command: element found is neither input nor textarea

{
“Name”: “createPortraitFolder”,
“CreationDate”: “2020-9-17”,
“Commands”: [
{
“Command”: “XRunAndWait”,
“Target”: “explorer.exe”,
“Value”: “”
},
{
“Command”: “visualVerify”,
“Target”: “fileexp_dpi_240.png”,
“Value”: “”
},
{
“Command”: “type”,
“Target”: “#efp”,
“Value”: “test”
}

1 Like