There are variables:
${selected_resource_loc}
,${selected_resource_name}
,${selected_resource_path}
but none in plural:
${selected_resources_locs}
,${selected_resources_names}
,${selected_resources_paths}
If you select more than one resource and run your external tool the former variables resolve to the first resource only.
The variables available to me: