What is the version of xEdit you are using?
SSEEdit 4.0.2 (F796EF8E) starting session 2019-05-10 15:52:06
Describe the bug
Applying a script which uses any unit in the title results in an error.
To reproduce
Steps to reproduce the behavior:
- Go to
Edit Scripts folder
- Copy the
_newscript_.pas template into a new userscript.pas
- Update it as suggested at https://tes5edit.github.io/docs/11-Scripting-Functions.html#s_11-2 example: userscript.zip
- Run
SSEEdit.exe
- Right click on any record, Apply Script..., choose userscript, OK
- Execution fails with:
Cannot open file "C:\Path\To\SSEEdit\Edit Scripts\Classes.pas". The system cannot find the file specified.
Expected behavior
The script should be applied successfully, as it was with SSEEdit 3.2.2.
Screenshots

What is the version of xEdit you are using?
SSEEdit 4.0.2 (F796EF8E) starting session 2019-05-10 15:52:06Describe the bug
Applying a script which uses any unit in the title results in an error.
To reproduce
Steps to reproduce the behavior:
Edit Scriptsfolder_newscript_.pastemplate into a newuserscript.pasSSEEdit.exeExpected behavior
The script should be applied successfully, as it was with SSEEdit 3.2.2.
Screenshots
