how to write the below expression in such a way that untill the notepad.exe exist getting the message box in regular interval
Run("notepad.exe")
Do
MsgBox(0, "Datadriv at end of the file ", $datadrive)
sleep(1000)
Until ProcessExists("notepad.exe") <> '0'
Kindy suggest