Looking for somebody to create a script for me

Hi everyone.
I need a script which does not seem overly complicated, and I personally do not have the knowledge to create. Is there somebody that could do it for me. I am willing to pay a reasonable price if i must.
The script should just change the laptop’s screen orientation to portrait when connected to a docking station and back to landscape when disconnected.
Otherwise, any kind of help is welcome.
Thank you

Welcome to the forum. :wave:t3:

This forum is for scripting questions rather than script requests. We do not write customized and ready to use scripts or solutions on request.

We actually expect you to make an own attempt at the first place to get your task done or to solve your problem. If you have done so already please document here what exactly you have done and show your code. Then we probably might be able to help you step further.

you may try it on