-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCSV-OpenAllNewTab.json
66 lines (66 loc) · 1.43 KB
/
CSV-OpenAllNewTab.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"Name": "CSV-OpenAllNewTabs",
"CreationDate": "2024-10-17",
"Commands": [
{
"Command": "label",
"Target": "start",
"Value": "",
"Description": ""
},
{
"Command": "comment",
"Target": "Read CSV, place urls here, run loops",
"Value": "",
"Description": ""
},
{
"Command": "csvRead",
"Target": "urls.csv",
"Value": "",
"Description": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "var x = parseInt((${!csvReadLineNumber} / ${!csvReadMaxRow})*10000); var x = x/100; return x",
"Value": "percentage",
"Description": ""
},
{
"Command": "echo",
"Target": "${percentage}",
"Value": "",
"Description": ""
},
{
"Command": "echo",
"Target": "Loop ${!csvReadLineNumber} of ${!csvReadMaxRow} (${percentage}%)",
"Value": "",
"Description": ""
},
{
"Command": "executeScript_Sandbox",
"Target": "return Number (${!csvReadLineNumber}) + 1",
"Value": "!csvReadLineNumber",
"Description": ""
},
{
"Command": "comment",
"Target": "New Tab",
"Value": "",
"Description": ""
},
{
"Command": "selectWindow",
"Target": "tab=open",
"Value": "${!col1}",
"Description": ""
},
{
"Command": "gotoLabel",
"Target": "start",
"Value": "",
"Description": ""
}
]
}