SHARE
TWEET

Untitled

a guest Mar 1st, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "Name": "TestsOnly",
  3.   "CreationDate": "2019-3-1",
  4.   "Commands": [
  5.     {
  6.       "Command": "comment",
  7.       "Target": "CSV Variables:",
  8.       "Value": ""
  9.     },
  10.     {
  11.       "Command": "store",
  12.       "Target": "testsonly-variables.csv",
  13.       "Value": "loop_csv"
  14.     },
  15.     {
  16.       "Command": "store",
  17.       "Target": "testsonly-file.csv",
  18.       "Value": "read_from_this_csv"
  19.     },
  20.     {
  21.       "Command": "comment",
  22.       "Target": "Last visited item line:",
  23.       "Value": ""
  24.     },
  25.     {
  26.       "Command": "csvRead",
  27.       "Target": "${loop_csv}",
  28.       "Value": ""
  29.     },
  30.     {
  31.       "Command": "store",
  32.       "Target": "${!csvReadMaxRow}",
  33.       "Value": "!csvReadLineNumber"
  34.     },
  35.     {
  36.       "Command": "csvRead",
  37.       "Target": "${loop_csv}",
  38.       "Value": ""
  39.     },
  40.     {
  41.       "Command": "store",
  42.       "Target": "${!COL1}",
  43.       "Value": "startpage"
  44.     },
  45.     {
  46.       "Command": "comment",
  47.       "Target": "Total of lines in CSV",
  48.       "Value": ""
  49.     },
  50.     {
  51.       "Command": "csvRead",
  52.       "Target": "${read_from_this_csv}",
  53.       "Value": ""
  54.     },
  55.     {
  56.       "Command": "store",
  57.       "Target": "${!csvReadMaxRow}",
  58.       "Value": "!csvReadLineNumber"
  59.     },
  60.     {
  61.       "Command": "echo",
  62.       "Target": "Total Lines: ${!csvReadMaxRow}\\nCurrent Line: ${startpage}",
  63.       "Value": ""
  64.     },
  65.     {
  66.       "Command": "comment",
  67.       "Target": "Code starts here",
  68.       "Value": ""
  69.     },
  70.     {
  71.       "Command": "store",
  72.       "Target": "true ",
  73.       "Value": "!errorignore"
  74.     },
  75.     {
  76.       "Command": "while",
  77.       "Target": "(${startpage} <= ${!csvReadMaxRow})",
  78.       "Value": ""
  79.     },
  80.     {
  81.       "Command": "echo",
  82.       "Target": "Starting page ${startpage}...",
  83.       "Value": ""
  84.     },
  85.     {
  86.       "Command": "csvRead",
  87.       "Target": "${read_from_this_csv}",
  88.       "Value": ""
  89.     },
  90.     {
  91.       "Command": "store",
  92.       "Target": "${startpage} ",
  93.       "Value": "!csvReadLineNumber"
  94.     },
  95.     {
  96.       "Command": "echo",
  97.       "Target": "Line: ${startpage}: ${!COL1} [${!csvReadLineNumber}]",
  98.       "Value": ""
  99.     },
  100.     {
  101.       "Command": "storeEval",
  102.       "Target": "${startpage}+1",
  103.       "Value": "startpage"
  104.     },
  105.     {
  106.       "Command": "store",
  107.       "Target": "${startpage}",
  108.       "Value": "!csvLine"
  109.     },
  110.     {
  111.       "Command": "csvSave",
  112.       "Target": "${loop_csv}",
  113.       "Value": ""
  114.     },
  115.     {
  116.       "Command": "endWhile",
  117.       "Target": "",
  118.       "Value": ""
  119.     },
  120.     {
  121.       "Command": "echo",
  122.       "Target": "ReadMaxRow: ${!csvReadMaxRow} ~ ${!csvReadLineNumber}",
  123.       "Value": ""
  124.     }
  125.   ]
  126. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top