Description
- Selects a file at random from a folder & runs it using the program associated with the file extension.
Syntax
- File.RunRandom(fpath)
Parameters
- fpath
- (string) path with wildcards
Examples
- File.RunRandom(?"c:\sounds\*.wav")
- Plays a random .wav file from "c:\sounds".
See Also
- PowerPro Help CHM > Built-in Commands > *File > Working with a randomly selected file