Sorry for the late reply, it’s work for me yesterday already. But I still can’t get it work for my whole macros.
I tried test the Xtype ${KEY_DOWN} in https://keyboardchecker.com/, but seems it doesn’t work for me, maybe something wrong in my code?
{
"Name": "XType Test",
"CreationDate": "2021-5-11",
"Commands": [
{
"Command": "open",
"Target": "https://keyboardchecker.com/",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_DOWN}",
"Value": "",
"Description": ""
}
]
}
Screenshot
I’m also try to using XClickRelative and it doesn’t work too.
{
"Name": "FaceBook Auto Share - 3- Vinlac - 1",
"CreationDate": "2021-5-11",
"Commands": [
{
"Command": "open",
"Target": "https://www.facebook.com/vinlacnt/posts/127360549454442",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_PGDN}${KEY_PGDN}",
"Value": "",
"Description": ""
},
{
"Command": "XClickRelative",
"Target": "bm0lm9_dpi_96.png",
"Value": "",
"Description": ""
}
]
}
Incorrect screenshot
Correct screenshot
Before you send XTYPE keystrokes, you must use XCLICK to set the focus on the web page.
1 Like
Thank you so much for your hints, I can read it in the docs, my bad, I’ve ignored the important details.