Moving object into local view via a startup script

I am trying to run a script to start Blender, select a specific object and place it into local view.

Batch file:

"C:\Program Files\Blender Foundation\Blender 3.3\blender 3.30.exe " "C:\Users\askin\Documents\test.blend "-P “C:\Users\askin\Documents\bl_start_no_splash.py”

bl_start_no_splash.py:

image

This works up to a point. Blender launches and selects the object, but doesn’t place the object into local view. The py script was tested and works in the text editor.

I’m beginning to wonder if this approach is possible. Any help getting me past this roadblock would be appreciated. Thanks