What I want to do is take the user input and store that into a variable,
then select 1 random file from each sub folder, copy the random file and add a suffix of the user input to the end of it before the filetype.
so it will be like this:
Enter Text:
Enter Text: texmod
subfolder/
image.dds
background.dds
healthmeter.dds
powermeter.dds
engine.dds
cursor.dds
subfolder2/
image.dds
background.dds
healthmeter.dds
powermeter.dds
engine.dds
cursor.dds
When the user presses enter, a single random file in each sub folder will be copied and pasted, with the user input added as a suffix before the filetype.
subfolder/
image.dds
background#texmod.dds was randomly selected and added the user input suffix
healthmeter.dds
powermeter.dds
engine.dds
cursor.dds
subfolder2/
image.dds
background.dds
healthmeter.dds
powermeter#texmod.dds was randomly selected and added the user input suffix
engine.dds
cursor.dds
Aucun commentaire:
Enregistrer un commentaire