11-05-2021, 03:04 AM
this will do all but instead of playing wav file for 10 to 15 seconds repeats it till ok button on alert window is click.
Macro Macro2
Macro Macro2
str filename filenames=
;$desktop$\Archive\test.txt
;$desktop$\Archive\test1.txt
;$desktop$\Archive\test2.txt
;$desktop$\Archive\test3.txt
foreach filename filenames
,if(!FileExists(filename))
,,Play 5 "C:\Windows\Media\Alarm07.wav" 0
,,mes F"{filename} Not Found!" "File Not Found" "atsx"
,,Play 2 0 -1
,,ret
mac- "Macro3"