Script:hide_ext

...
commandData.func.sourcetab.format.hide_ext = true
...

该方法被错误调用。 (0x8000ffff)

The Format object doesn't support setting properties like that - it is read-only.
Instead, most things can be modified by running a command (using func.command.RunCommand("Set ....").)

The only problem is that currently the Hide Extensions flag can't be modified by a command, however we will add that in the next update (so that after version 11.5.2, you'll be able to do func.command.RunCommand("Set HIDEEXT=on");.