You can use a macro to save the current file to always the same temporary file without prompting and then run the tool from inside the macro after saving the selection with the macro command RunTool "tool name". The tool name is case-sensitive! The tool must be set to use the temporary file with the fixed file name.