<http://forum.pspad.com/read.php?f=2&i=12250&t=12250> ----------------------------------------------------------------
Hi Just an idea: It would be easier to handle files, when the following fuctions would return a code, when they did not find the file/editor window: assignEditorByName openFile when the file is not opened or does not exist, the functions return an vbscript error, so you have to test the existence (check all open editorwindows/check if file exists). A returncode like -1 would make it somewhat easyer Or is there another way to test for it? just an idea Roland -- PSPad freeware editor http://www.pspad.com
