Changing Dropdown Value on Client When Opening Project From Different Gateway

Current setup: Dashboard that links to other projects in many different gateways. When my project is opened from the dashboard, the dropdown on the dock to the left is set to value 1 by default which has different tabs than values 2-5. Each value has different tabs for a specific machine (1-5). When on the main dashboard, you can select exactly which machine you want to open from the start. However, even if I select machine 2 from the dashboard, the dropdown will default to value 1. This results in the first window opening on startup correctly (machine 2 overview) but if an option is selected in the dock it will take you to a tab for machine 1. You have to change the dropdown selection to your desired value before changing tabs when the project has just been opened.

Want: Setting the dropdown value based on the machine selected from the dashboard so you do not have to change the dropdown value when opening the project directly for machines 2-5. I looked into startup scripts but those run before any windows are opened. Any ideas?

P.S. sorry for the abstract/unclear explanation. I can not provide many details or any screenshots so if there are any clarification questions please let me know.

Use a startup script. Don't set any windows to "Open on startup". Examine your machine conditions in the startup script and open all of the correct windows from the script with parameters, including the docked windows, so that all components have access to the proper state. (The dropdown would be bound to a root container custom property that is supplied by the script parameter.)