Mac Shortcuts not working

I tried the script provided by @admin

But it doesn’t paste on a mac… I changed KEY_CTRL to KEY_CMD but that doesn’t make any difference… it simply writes a “v” to the textarea… How can I make shortcuts such as CMD+A (to select all text) work on a mac?

${KEY_CMD+KEY_V} works well on the Mac, but you need to make sure you have latest RealUser XModule Version V1.0.12 (and not the old V1.0.0). See here:

my test:

mac

{
  "Name": "1count",
  "CreationDate": "2019-3-1",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://charactercounttool.com/",
      "Value": ""
    },
    {
      "Command": "type",
      "Target": "id=textbox",
      "Value": "test1"
    },
    {
      "Command": "store",
      "Target": "copy and PASTE works!",
      "Value": "!clipboard"
    },
    {
      "Command": "XClick",
      "Target": "id=textbox",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_CMD+KEY_V}",
      "Value": ""
    }
  ]
}

Well, it was a tricky timing issue. Thus it worked fine on some machines/some situations, but not others. But the new XModule V2021-1 fixes this issue. Now it works on all machines all the time :wink: