The path that needs is not printing in xtype correctly

See this the xtype is not working properly what to do to fix this. i have tried all the possible ways to make it right but it is not working.

I do not know Mac but i suggest you to try to save in clipboard the content and after you can paste it in the field with xtype.

I think the field you use can have a delay to be visible and xtype can use a fast speed and try to type before the filed is active.

Read here

Do I see this correctly that the first few characters behind the / are missing?

I made a quick test and it works for me:

If you run this test, does it work then?

{
  "Name": "mac",
  "CreationDate": "2020-7-17",
  "Commands": [
    {
      "Command": "pause",
      "Target": "3000",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "/Users/user/Desktop/uivision/aaa/s2.png",
      "Value": ""
    }
  ]
}

The other option (workaround) would be as @newuserkantu suggested to use copy and paste. Here you store the value in !clipboard special variable and then right-click on the field and paste it in: