Function: GetSelectedGames
Version 2.0+

Function GetSelectedGames(SourceDest As Integer) As Variant

This function returns an array of strings containing the filename of each selected file in the source or destination directory. If SourceDest is 1 then you will receive a list of files from the Source directory, otherwise you'll receive a list from the Destination directory.

Use the GetSelectedGamesCount function to find out how many files are selected.

Example

Dim Games As Variant
    
Print "SOURCE GAMES"
Print "============"
    
Games = EF.GetSelectedGames(1)
    
For i = 1 To EF.GetSelectedGamesCount(1)
    Print Games(i)
Next i
    
Print "DEST GAMES"
Print "=========="
    
Games = EF.GetSelectedGames(2)
    
For i = 1 To EF.GetSelectedGamesCount(2)
    Print Games(i)
Next i