Hello
1. I wrote following small script for testing the behaviour of the %File%
variable.
sub TestFilename
FileName = getVarValue("%File%")
msgbox FileName
end sub
2. I created a project and set a file as main file of the project. But, the
message box displays always the name of the open file and not the name of the
main file. If there is no file open, then the msgbox is empty.
Did I understand anything wrong?
--
<https://forum.pspad.com/read.php?2,78769,78771>
PSPad freeware editor https://www.pspad.com