Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check files in a directory.
#2
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
Code:
Copy      Help
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"


Messages In This Thread
Check files in a directory. - by asgro - 11-04-2021, 04:07 PM
RE: Check files in a directory. - by Kevin - 11-05-2021, 03:04 AM
RE: Check files in a directory. - by asgro - 11-05-2021, 05:22 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)