{
  "Name": "Nha1001-import-FB-1078420556195555",
  "CreationDate": "2026-10-3",
  "Commands": [
    {
      "Command": "comment",
      "Target": "pause // 3000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "store // nodisplay",
      "Value": "!replayspeed",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "true",
      "Value": "!ErrorIgnore",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=open",
      "Value": "https://nha1001.com/wp-admin/admin.php?page=pmxi-admin-import",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "3000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "executeScript",
      "Target": "var d= new Date(); var m=((d.getMonth()+1)<10)?'0'+(d.getMonth()+1):(d.getMonth()+1); return m+\"/\"+d.getDate()+\"/\"+d.getFullYear();",
      "Value": "date1",
      "Description": ""
    },
    {
      "Command": "executeScript",
      "Target": "var today= new Date(); \n\nreturn (today.getHours()<10?'0':'') + today.getHours() + ':' + (today.getMinutes()<10?'0':'') + today.getMinutes();",
      "Value": "time1",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "executeScript // \nvar d= new Date(); return d.getDate().toString().padStart(2, \"0\");",
      "Value": "Date3",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "${date1}",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "csvRead",
      "Target": "FB-1078420556195555-crawled-filename-20260930.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "times // ${!CsvReadMaxRow}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "store // ${!times}",
      "Value": "!csvReadLineNumber",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "csvRead // Indices-name.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "type // xpath=/html/body/div[1]/div[3]/div/div/div/div[1]/div/form/div[2]/div[2]/input[2]",
      "Value": "${!COL1}",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "pause // 2000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XClick",
      "Target": "xpath=//*[@id=\"file_upload_type\"]",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "XType // E:\\Nha1001.com\\Web\\Crawler\\Download-File-Import\\20260930\\Posts Exporter-group-1078420556195555-20-posts---30092026--0024.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${!COL1}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_ENTER}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "storeText // xpath=//*[@id=\"price-history-table\"]/tbody/tr[1]/td[13]",
      "Value": "value1",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "echo // ${value1}",
      "Value": "green",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "executeScript // var myRe = /\\d/;\nvar myArray = myRe.exec(${value1}); return myArray",
      "Value": "value2",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "executeScript // return ${value1}*1000000000;",
      "Value": "value2",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "store // ${!COL2}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "store // ${value1}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "store // ${time1}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "comment",
      "Target": "csvSave // ${date2}-Trading-Indices.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "selectWindow",
      "Target": "tab=close",
      "Value": "",
      "Description": ""
    }
  ]
}