Random Images and Automator

What would be the script if you are using it in Automator with the “Get Specified Finder Items” step before it? I tried it and it works if I put the items in the Documents folder, but I’d like to use any folder including any

external drives.