Thanks for the reply Mathias.
I haven't tried many scripts via the RES, but the one that would like most,
name as folder (from the thread I mentioned above), doesn't work on single or multiple selected files.
Using less complex instructions does work in some cases e.g. search & replace chars in a found item, works fine.
I'm guessing the call to get the folder name doesn't interpret the virtual path of the RES correctly.
Maybe I just need to alter how the folder name variable is looked for by MS?