AutoHotkey Community

It is currently May 27th, 2012, 11:11 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: January 26th, 2012, 4:47 pm 
Offline

Joined: March 16th, 2008, 6:19 pm
Posts: 6
Download from: http://www.autohotkey.net/~shinywong/Ma ... icTune.ahk

Main features:
Automatically change MagicBright modes of Samsung monitors (This feature is called "Auto MagicBright"). When you are playing a game, the script will set Game mode of MagicBright; When you are watching a movie or an online flash video, the script will set Cinema mode of MagicBright.

Other features:
Provide hotkeys to change MagicBright modes manually.
Provide hotkeys to change Brightness and Contrast.

How does it work?
The script will check the active window, to see if it is a game application or a media player. It will send mouse messages to MagicTune (software made by Samsung), to simulate mouse clicks.

Requirements:
1. A Samsung monitor, of course.
2. MagicTune software, download here: http://www.samsung.com/us/consumer/lear ... nload.html
3. Latest version of AutoHotkey_L is recommended.

Notes:
1. This script will only apply to full screen windows. If you want to apply to normal or maximized windows, you can implement by yourself.
2. If your monitor is an old model, and its MagicBright modes are not Standard, Game, Cinema, Custom and Dynamic Contrast. You must modify the "monitorModes[1]" in the script to match your monitor's modes.
3. Multi-Samsung-monitors are supported, but only in theory. Because I only have 1 monitor, I couldn't test it.
4. If you have more than one monitor, and some of them are not Sumsang, it is better to make Samsung the primary monitor. Because MagicTune always starts in primary monitor.

Predefined hotkeys:
Win+Numpad0/NumpadIns: Start or restart Auto MagicBright.
Win+NumpadDot/NumpadDel: Stop Auto MagicBright.
Win+Numpad1~5: Set Standdard, Game, Cinema, Custom and Dynamic Contrast mode manually.
Win+Numpad9/NumpadPgup: Show info of active window.

Known issues:
1. The biggest problem is Auto MagicBright will not always success. The success rate is over 95%. When it fails, you can press Win+Numpad0/NumpadIns to restart it. I think the reason why it fails is not because of the script. If you keep MagicTune window shown, you will see that sometimes MagicTune sometimes has successfully changed mode, but the physical monitor doesn't respond.
2. Do NOT use OSD and this script at the same time, othewise MagicTune and OSD may crash (you can use the power button). If you want to avoid this, just keep MagicTune window always shown. And if you start MagicTune software manually, be sure to start it from "MagicTuneLauncher.exe", not from "MagicTune.exe" (The script will automatically start MagicTune if it is not running).


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Exabot [Bot], iDrug, nomissenrojb, Rajat, Yahoo [Bot] and 58 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group