Skip to content

Cannot apply scripts using Classes, SysUtils, StrUtils or Windows units #697

Description

@pragasette

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:

  1. Go to Edit Scripts folder
  2. Copy the _newscript_.pas template into a new userscript.pas
  3. Update it as suggested at https://tes5edit.github.io/docs/11-Scripting-Functions.html#s_11-2 example: userscript.zip
  4. Run SSEEdit.exe
  5. Right click on any record, Apply Script..., choose userscript, OK
  6. 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
classes-pas-error

Metadata

Metadata

Assignees

Labels

BackBurnerWill be considered but not a project targetEnhancementEnhancement or Feature Request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions