Troubleshooting: Commands that alter the window or views seem delayed
Cause
In Smart Client scripts, the <Script> body executes only after the login process has completed and the main workspace has fully rendered.
Commands such as SCS.Application.Minimize(); or view selections do not run during the startup phase. As a result, the main window briefly displays on screen before it minimizes or switches views.
Solution
This is expected behavior. If your deployment requires specific default views on launch, consider configuring the Application start view in Smart Client settings alongside your script.