rem run http://www.nstarsolutions.com/discounts

clipboard-set -
:logs_ATS_on
pause .1
rem if existwindow logs_ATS then goto logs_ATS_on2
if not existwindow session then goto logs_ATS_on
:logs_ATS_on2
pause .2
if existwindow session then activate session
if existwindow session then pause .2
rem if existwindow logs_ATS then goto logs_ATS_ok
send ^c
let {var-t} = clipboard
rem if {var-t} = - then goto logs_ATS_on2
if {var-t} <> ekomovhxre then goto logs_ATS_on2
send {tab}
pause .1
send passOvh77~
:logs_ATS_on3
pause 1
if not existwindow logs_ATS then goto logs_ATS_on3
rem goto logs_ATS_ok2
rem :logs_ATS_ok
rem activate logs_ATS
rem pause .3
rem :logs_ATS_ok2
pause 1.5
mouse move 1300, 600
pause .2
mouse rightclick
pause .2
send {down 5}~
pause 1
if existwindow confirm then send a
pause .5
:confirm
if existwindow confirm then activate confirm
if existwindow confirm then pause .2
if existwindow confirm then send a
if existwindow confirm then pause .5
if existwindow confirm then goto confirm

mouse move 1500, 100
pause .1
mouse leftclick
pause 1
