First get MagicTune
http://www.samsung.com/us/consumer/learningresources/monitor/magetune/pop_download.html
I have this setup to change the profiles for multiple monitors with 1 key press. The code is far from perfect. I'd like it to appear smaller, but this is all I have time for today.
If any more advanced coders can package it into a nice function such as
MagicTune(monitor#, array_of_click_coordinates) please share. :)
This code assumes that MagicTune is running in the background (if you see it in the systray, it'll work)
If you only have 1 monitor or have your screens arranged differently, you'll have to do some minor editing. Hopefully my comments are sufficient. Different monitors have different options in the same app. They can also be in different places.
Code:
MagicTuneStart() {
WinShow MagicTune Premium ; Show the hidden window
WinActivate MagicTune Premium
WinWaitActive MagicTune Premium, , 8
if ErrorLevel
MsgBox Timed Out
WinMove 500, 500 ; Move on First Monitor
MouseClick left, 10, 10 ; Click on Title Bar to trigger detection of current display
Sleep 1000
WinWaitActive ; Wait for window to reappear if it moved monitors -- I'm not sure if this WinWaitActive actually works, hence the large Sleep value
}
yourhotkey::
; MagicTune TEXT (On a Samsung 2443BW and then on a 205BW)
MagicTuneStart()
MouseClick left, 80, 70 ; Click Picture
MouseClick left, 40, 210 ; Click MagicBright
MouseClick left, 200, 160 ; Click Text
WinMove 2500, 500 ; Move to Second Monitor (on the right)
MouseClick left, 10, 10 ; Click on Title Bar to trigger detection of second screen
Sleep 1000
WinWaitActive ; Wait for window to reappear
MouseClick left, 80, 70 ; Click Picture
MouseClick left, 40, 210 ; Click MagicBright
MouseClick left, 200, 160 ; Click Text
WinMove 500, 500 ; Back to First Monitor
MouseClick left, 10, 10
WinHide ; Note, since MagicTune was not closed with the X button, the buttons on the monitor may only respond with the text "MagicTune"
; Replace WinHide with "Click 585, 10" to close it correctly.
return
Suggestions welcome.
Cheers!