Automator to open random file on Windows share

I have created through automator the ability to locally open a random file in a specified folder with subfolders. I cannot figure out how to do this on a networked Windows share.

I have:

  1. Get Specified Servers = smb://Share/Folder 1

  2. Connect to Servers = it connects

  3. Run AppleScript

    tell application "Finder"      set location to :: -- NOT WORKING!      set randomFolder to some folder in folder "location"     open some file in randomFolder end tell 

Any thoughts to what the syntax is for location? Or am I missing the mark completely with these actions? I have tried several variations and nothing works.

Note: there is a space in the location “Folder 1”