I have removed the $$ and replaced with this string. It never seems to get to the UNTIL statement.

Code:
 Do 
sleep 0.5
If $exitapp.tag = 1
$=Execute($ExitApp.DoEvents)
$item=$listview.items.add
$Item.SubItems(0).Text = ("User Aborted Session")
$ExitApp.Tag = "1"
Quit 1
EndIf

Until
Exist ($locallog+$log)

_________________________
I haven't failed. I just found another way that did not work.