Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
switch resolution profiles
#1
i have two monitors on my computer and sometimes
i need to disconnect the second screen when administrating
a second computer (booting, recover, ...).
as long there is no access via vnc to this computer i have
to switch my desktop to one screen.

how to manage this by script, so that my original settings
will be restored on reconnect ?

currently i have to open the display cpl and activate the second screen
by hand (sometimes, because of strange xp behaivor even the
frequence - 85 has to be manualy adjusted)

thanks
pi
#2
well this can't be the solution:

turn off second monitor
Code:
Copy      Help
run ":: 14001F50E04FD020EA3A6910A2D808002B30309D 14002E1E2020EC21EA3A6910A2DD08002B30309D 5E0100009CFFFFFF00000000006A0000000000001D00250043003A005C00570049004E0044004F00570053005C00730079007300740065006D00330032005C006400650073006B002E00630070006C00000041006E007A0065006900670065000000C4006E006400650072007400200064006900650020004400650073006B0074006F0070006400610072007300740065006C006C0075006E0067002C00200077006900650020007A002E0042002E002000640065006E002000480069006E007400650072006700720075006E0064002C002000420069006C006400730063006800690072006D007300630068006F006E00650072002C002000460061007200620065006E002C002000530063006800720069006600740067007200610064006500200075006E00640020006400690065002000420069006C006400730063006800690072006D006100750066006C00F600730075006E0067002E000000" ;;Anzeige
SelectTab(id(12320 "Eigenschaften von Anzeige") 4)
CB_SelectString child(1800 "1. Philips Brilliance 109P (109P1) mit SAPPHIRE RADEON 9600 ATLANTIS" "ComboBox" "Eigenschaften von Anzeige" 0x5) "2."
but id(1805 "Eigenschaften von Anzeige")
but id(1 "Eigenschaften von Anzeige")

activate second monitor again
Code:
Copy      Help
run ":: 14001F50E04FD020EA3A6910A2D808002B30309D 14002E1E2020EC21EA3A6910A2DD08002B30309D 5E0100009CFFFFFF00000000006A0000000000001D00250043003A005C00570049004E0044004F00570053005C00730079007300740065006D00330032005C006400650073006B002E00630070006C00000041006E007A0065006900670065000000C4006E006400650072007400200064006900650020004400650073006B0074006F0070006400610072007300740065006C006C0075006E0067002C00200077006900650020007A002E0042002E002000640065006E002000480069006E007400650072006700720075006E0064002C002000420069006C006400730063006800690072006D007300630068006F006E00650072002C002000460061007200620065006E002C002000530063006800720069006600740067007200610064006500200075006E00640020006400690065002000420069006C006400730063006800690072006D006100750066006C00F600730075006E0067002E000000" ;;Anzeige
SelectTab(id(12320 "Eigenschaften von Anzeige") 4)
CB_SelectString child(1800 "1. Philips Brilliance 109P (109P1) mit SAPPHIRE RADEON 9600 ATLANTIS" "ComboBox" "Eigenschaften von Anzeige" 0x5) "2."
but id(1805 "Eigenschaften von Anzeige")
but id(1802 "Eigenschaften von Anzeige")
wait 3 WC win("" "#32770" "rundll32" 0x200)
SelectTab(id(12320 win("$.SAPPHIRE" "#32770" "rundll32" 0x1)) 2)
CB_SelectString id(205 win("$.SAPPHIRE" "#32770" "rundll32" 0x1)) "60"
CB_SelectString id(205 win("$.SAPPHIRE" "#32770" "rundll32" 0x1)) "85"
but id(12321 win("$.SAPPHIRE" "#32770" "rundll32" 0x1))
but id(1 win("$.SAPPHIRE" "#32770" "rundll32" 0x1))
but id(1 "Eigenschaften von Anzeige")
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)