If I recall correctly, %SelText% contains the selected text. If you use %File%, then the whole file can only be used (as a name).
What PSPad does if you use an external application, is create a temporary file in the temp directory and work with that as if it were the file in your editor. This is also a problem with web development: If something is accidentally highlighted when you want to show a page in your browser, you'll get a "not found" error (because the temp directory is not known as a website to the webserver). -- <http://forum.pspad.com/read.php?2,18695,33677> PSPad freeware editor http://www.pspad.com
