I'm trying to create a Buttoncode that will do a Google Images search. It's working fine with {file|nopath} as the search keyword even if the filename contains spaces but with {sourcepath|nopath|noterm} or {filepath|nopath|noterm|..} it's only working if there are no spaces in the name of {sourcepath}.
The complete Code I'm trying to get working: http://images.google.com/images?q={sourcepath|nopath|noterm}+{file|noext} rel="results"
Is there a way to tell DOpus to replace spaces with + or %20 or something like that?
A dirty workaround that uses a temporary file is working for me:
Clipboard PASTE
Rename FILEINFO Zwischenablage.txt TO "{parent} {file|noext}"
Select "{sourcepath|nopath|noterm} {file|noext}" DESELECTNOMATCH
Rename FINDREP PATTERN " " TO "+"
Clipboard COPYNAMES=nopaths
http://images.google.com/images?q={clip} rel="results"
Delete