COMMENT
Bing Rewards Automation by Just_The_Letter_D
Modifications by: mvan231
V3.1 - back to random item from list
V3.0 - made the tabs closing alert only show when there are tabs to be closed
V2.9 - Adjusted search term random item
V2.8 - added optional sounds when user input is needed
- added import question about sounds
V2.7 - Changed close tab action to happen after finished with desktop and mobile searches
V2.6 - added more search terms and a slight delay when launching edge to wait for the app to load
NUMBER
42

Number
SCRIPTING
Show alert
Informational Message
DICTIONARY

Dictionary
MATHS
Desktop Searches
+
Mobile Searches
Options Under Construction

Calculation Result
SCRIPTING
Repeat
Desktop + Mobile Searches

Repeat Results
SCRIPTING
Get
Value
for
Desktop Searches
in
Dictionary

Dictionary Value
SCRIPTING
If
Desktop Searches Value
is greater than
0
SCRIPTING
If
Repeat Index
is
1
SAFARI
Open
www.bing.com
SCRIPTING
If
Play Sound Switch
is
1
SCRIPTING
Play sound
Sound File
Choose Variable
SCRIPTING
End If

If Result
SCRIPTING
Show alert
Starting Desktop Searches
Title
Starting Desktop Searches
SCRIPTING
Wait to return
SCRIPTING
End If

If Result
MATHS
Desktop Searches Value
+
1
Options Under Construction

Calculation Result
SCRIPTING
If
Repeat Index
is
Calculation Result
SAFARI
Open
www.bing.com
SCRIPTING
If
Play Sound Switch
is
1
SCRIPTING
Play sound
Sound File
Choose Variable
SCRIPTING
End If

If Result
SCRIPTING
Show alert
Starting Mobile Seaches
Title
Starting Mobile Seaches
SCRIPTING
Wait to return
SCRIPTING
End If

If Result
SCRIPTING
End If

If Result
SCRIPTING
Get
Random Item
from
searchTerms

Item from List
MATHS
Random number between
15
and
25

Random Number
URL
www.bing.com/search?q=
Random Number
%20
Item from List

URL
SAFARI
Open
URL
MATHS
Random Number
÷
10
Options Under Construction

Calculation Result
SCRIPTING
Wait
Calculation Result
SCRIPTING
End Repeat

Repeat Results
SCRIPTING
If
Play Sound Switch
is
1
SCRIPTING
Play sound
Sound File
Repeat Results
SCRIPTING
End If

If Result
SCRIPTING
If
Desktop + Mobile Searches
is greater than
0
SCRIPTING
Show alert
Informational Message
SCRIPTING
End If

If Result
SCRIPTING
Repeat
Desktop + Mobile Searches

Repeat Results
MISSING
Under Construction
SCRIPTING
Get
Last Item
from
Tabs

Item from List
MISSING
Under Construction
SCRIPTING
End Repeat

Repeat Results
SCRIPTING
Get
Value
for
Edge Searches
in
Dictionary

Dictionary Value
SCRIPTING
If
Dictionary Value
is greater than
0
SCRIPTING
If
Play Sound Switch
is
1
SCRIPTING
Play sound
Sound File
Choose Variable
SCRIPTING
End If

If Result
SCRIPTING
Show alert
Starting Edge Searches
Title
Starting Edge Searches
SCRIPTING
Open
com.microsoft.msedge
SCRIPTING
Wait
2 seconds
SCRIPTING
Repeat
Dictionary Value

Repeat Results
MATHS
Random number between
15
and
25

Random Number
MATHS
Random Number
÷
10
Options Under Construction

Calculation Result
SCRIPTING
Get
Random Item
from
searchTerms

Item from List
URL
www.bing.com/search?q=
Random Number
%20
Item from List

URL
MISSING
Under Construction
SCRIPTING
Wait
Calculation Result
SCRIPTING
End Repeat

Repeat Results
SCRIPTING
Wait to return
SCRIPTING
End If

If Result
SCRIPTING
Get
Value
for
Daily Activities
in
Dictionary

Dictionary Value
SCRIPTING
If
Dictionary Value
is
<value>
SCRIPTING
If
Play Sound Switch
is
1
SCRIPTING
Play sound
Sound File
Dictionary Value
SCRIPTING
End If

If Result
SCRIPTING
Show alert
Starting Daily Activities
Title
Starting Daily Activities
MISSING
Under Construction
SCRIPTING
End If

If Result