Error 9 (UTSM) on Restart After Setting InterfaceColors

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
Wk2much
Posts: 1
Joined: 29 Aug 2026 06:11

Error 9 (UTSM) on Restart After Setting InterfaceColors

Post by Wk2much »

I am running XYplorer 28.30.2000 (64-bit) on Windows 11 Pro 25H2.

I have reproduced the following problem several times from a known-good configuration backup.

I ran a script containing:

interfacecolors("EDE8E2");

The interface color changed successfully during the current XYplorer session. However, after closing XYplorer and starting it again, I received:

Error: 9 (0x00000009)
Desc: Subscript out of range
Proc: UTSM

Restoring my XYplorer configuration from a backup made before running the script eliminates the startup error.

One additional observation: after running the script, XYplorer.ini contained:

InterfaceColors=EDE8E2

However, simply having that value in the INI file does not by itself reproduce the Error 9. Also, manually placing that value in the INI does not reproduce the same interface appearance that I obtained when running interfacecolors().

So the reproducible trigger appears to involve running interfacecolors() rather than simply the presence of InterfaceColors=EDE8E2 in the INI file.

I can provide the complete script and error information if useful.

admin
Site Admin
Posts: 66726
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Error 9 (UTSM) on Restart After Setting InterfaceColors

Post by admin »

I cannot reproduce it with interfacecolors("EDE8E2"); alone, so please provide the complete script.

And what is your screen scaling, 100%?

Post Reply