Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

python script to control/query a monitor using ddc

If you have a question or need help, this is the place to be.
Post Reply
derelict
Posts: 38
Joined: Sun Mar 01, 2009 12:55 pm

python script to control/query a monitor using ddc

Post by derelict »

Hi Guys

first of all.... eventghost rules ! i'm loving it!

Here is my "problem":

i would like to tell my asus display to switch to a specific video input (hdmi or dvi) using eventghost. to sad that the screen has no way of controling it (no ir, no serial) remotely.

The only "way" of controlling it is through ccd/ci using this tool: http://www.entechtaiwan.com/lib/softmccs.shtm

using ccd (on vista) with the above tool i'm able to switch the inputs "remotely" and therefore i've done some ugly findwindow --> send keypresses using evenghost.

Anyway... this is a very ugly solution and leaves me with the problem, that the asus display sometimes disables the ccd "extension" rendering my keypresses useless :-(

Can anyone tell me if there is a better solution for my problem?

- does anyone know an extension or module for python in order to query a display using ccd and to send commands to the screen ?
- are there commandline utilities for my approach ?

i would really appreciate any help on this... as this drives me crazy!

Cheers

Marcel
derelict
Posts: 38
Joined: Sun Mar 01, 2009 12:55 pm

Re: python script to control/query a monitor using ddc

Post by derelict »

bump.... no one ? :-(
paseant
Posts: 21
Joined: Sat Jan 26, 2008 1:06 am

Re: python script to control/query a monitor using ddc

Post by paseant »

Hi dereclit,

I have a Dell 2408 monitor and have managed to solve the problem for it with the help of the mControl utility also from EnTechTaiwan. It is not officially released yet but you can find it in http://www.entechtaiwan.com/util/mcontrol.shtm. You can control mControl trough command line commands like

mcontrol.exe /1>setcontrol 60 3
to enable monitor #1 DVI #1

mcontrol.exe /1>setcontrol 60 4
to enable monitor #1 DVI #2

if you have two monitors detected by mControl and

mcontrol.exe /setcontrol 60 3
to enable monitor #1 DVI #1

for only one monitor. See the following discussion in the forum

http://forums.entechtaiwan.com/index.php?topic=6911.0

Regards
Post Reply