Sign in to follow this  
Followers 0
Guest guardianx

Select Tv Out

7 posts in this topic

hi i'm a newbie.

how do i write a script to swtch the monitor from analog output to s vid output...

i tried reading the manual... and ran autospy... it is all jibberish to me. please help .

thanx in advance chad

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

let's start with a detailed explanation of how you would manually accomplish this.

Lar.

<{POST_SNAPBACK}>

well i have a ti nvida card. when i want to switch the monitor display to tv outpus...

i click on the nvida icon which is locate in the task bar... scroll up to display>tv.... then the screen flash it will jump to the tv.... there will be a dialog asking me if this is the correct display..... a yes and no button apear.... the no button is highlighted. i press the left arrow button to highlight the yes button.... hit enter..

that is it...

Edited by guardianx

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Is there an option in that nvidia menu to show a control panel where you can do the same tv-out switch?

Lar.

<{POST_SNAPBACK}>

well you can get do the same thing if you right click the destop>properties>setting>advance

then go a few steps to the display option.... then select tv out... the nvidia program is a shortcut to the monitor seclection. i will take some screen shot when i'm at home.

basically i watch anime on the tv screen because it looks better. there is a program called tvswitch but it cost 25 dollar for it... i'm sure auto it can perform this repeatitive task.....

Edited by guardianx

Share this post


Link to post
Share on other sites

Hi

It's a very old topic - I know - but it's what I want to do.

In my computer (WinXP) is an ATI video adapter. Only the display drivers are installed without the ATI control panel crap. I don't like it.

To view my videos with MediaPortal on tv I run an AutoIt-Script which calls the display settings dialog and make the settings with ControlClick, ControlSend etc. But this isn't a good solution amongst others the time of switching can vary so I have to wait with Sleep() a long time so that it will work even if it takes a longer time because of higher priority tasks in background.

With Regmon I tried to analyze what the display settings dialog changes in the registry when I click the accept button. But I really don't know what I have to do. With RegShot I analyzed the different values before and after changing the settings. I set my tv as attached desktop space and set it as primary display. Here the relevant different registry values (the pairs consist of two values: the first value is before, the second after changing).

Here it is:

HKLM\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\ControlSet001\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\ControlSet001\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\ControlSet001\Services\ati2mtag\Device1\DALLastSelected: 01 00 00 00

HKLM\SYSTEM\ControlSet001\Services\ati2mtag\Device1\DALLastSelected: 09 00 00 00

HKLM\SYSTEM\ControlSet001\Services\ati2mtag\Device1\DALObjectData0: 01 01 00 01 01 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 04 00 01 04 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 02 00 01 03 08 01 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 01 00 01 01 00 01 01 00 00 00 00 01 02 00 00 00 00 01 01 00 02 00 02 01 04 00 00 00 00 01 01 00 02 00 04 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 02 00 01 01 08 00 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 01 01 00 02 00 08 01 02 00 00 00 00 01 01 00 02 00 02 01 10 00 00 00 00 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 04 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

HKLM\SYSTEM\ControlSet001\Services\ati2mtag\Device1\DALObjectData0: 01 01 00 01 01 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 04 00 01 04 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 03 08 01 03 08 01 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 01 00 01 01 00 01 01 00 00 00 00 01 02 00 00 00 00 01 01 00 02 00 02 01 04 00 00 00 00 01 01 00 02 00 04 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 02 00 01 01 08 00 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 01 01 00 02 00 08 01 02 00 00 00 00 01 01 00 02 00 02 01 10 00 00 00 00 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 04 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

HKLM\SYSTEM\ControlSet001\Services\ati2mtag\Device1\DALCurrentObjectData: 02 00 01 00 00 00

HKLM\SYSTEM\ControlSet001\Services\ati2mtag\Device1\DALCurrentObjectData: 02 00 01 01 08 00

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\0001\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000000

HKLM\SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\SERVICES\ATI2MTAG\DEVICE0\Mon10000013\Attach.ToDesktop: 0x00000001

HKLM\SYSTEM\CurrentControlSet\Services\ati2mtag\Device1\DALLastSelected: 01 00 00 00

HKLM\SYSTEM\CurrentControlSet\Services\ati2mtag\Device1\DALLastSelected: 09 00 00 00

HKLM\SYSTEM\CurrentControlSet\Services\ati2mtag\Device1\DALObjectData0: 01 01 00 01 01 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 04 00 01 04 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 02 00 01 03 08 01 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 01 00 01 01 00 01 01 00 00 00 00 01 02 00 00 00 00 01 01 00 02 00 02 01 04 00 00 00 00 01 01 00 02 00 04 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 02 00 01 01 08 00 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 01 01 00 02 00 08 01 02 00 00 00 00 01 01 00 02 00 02 01 10 00 00 00 00 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 04 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

HKLM\SYSTEM\CurrentControlSet\Services\ati2mtag\Device1\DALObjectData0: 01 01 00 01 01 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 04 00 01 04 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 03 08 01 03 08 01 01 02 00 01 02 00 01 01 00 01 01 00 01 08 00 01 08 00 01 01 00 01 01 00 01 02 00 01 02 00 01 01 00 01 01 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 10 00 01 01 00 01 01 00 01 01 00 00 00 00 01 02 00 00 00 00 01 01 00 02 00 02 01 04 00 00 00 00 01 01 00 02 00 04 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 02 00 01 01 08 00 01 02 00 00 00 00 01 01 00 02 00 02 01 08 00 00 00 00 01 01 00 02 00 08 01 02 00 00 00 00 01 01 00 02 00 02 01 10 00 00 00 00 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 04 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 01 10 00 02 00 08 01 10 00 02 00 01 01 10 00 02 00 02 01 10 00 02 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

HKLM\SYSTEM\CurrentControlSet\Services\ati2mtag\Device1\DALCurrentObjectData: 02 00 01 00 00 00

HKLM\SYSTEM\CurrentControlSet\Services\ati2mtag\Device1\DALCurrentObjectData: 02 00 01 01 08 00

HKU\S-1-5-21-527237240-776561741-839522115-500\Software\Microsoft\Internet Explorer\Desktop\General\WallpaperFileTime: 05 16 4A 8F C8 DF C6 01

HKU\S-1-5-21-527237240-776561741-839522115-500\Software\Microsoft\Internet Explorer\Desktop\General\WallpaperFileTime: 89 4C E4 06 CA DF C6 01

HKU\S-1-5-21-527237240-776561741-839522115-500\Software\Microsoft\Internet Explorer\Desktop\General\WallpaperLocalFileTime: 05 E6 D2 52 D9 DF C6 01

HKU\S-1-5-21-527237240-776561741-839522115-500\Software\Microsoft\Internet Explorer\Desktop\General\WallpaperLocalFileTime: 89 1C 6D CA DA DF C6 01

I don't know if it helps. I only want to switch between my monitor and my tv. Have you an idea to realize? If it isn't possible with Autoit (I don't think so) is there maybe a software (commandline tool) which can do this and I didn't find with google?

Thanks in advance :)

Regards, Buffo

Share this post


Link to post
Share on other sites

I don't know if it helps. I only want to switch between my monitor and my tv. Have you an idea to realize? If it isn't possible with Autoit (I don't think so) is there maybe a software (commandline tool) which can do this and I didn't find with google?

there is a program called tvswitch but it cost 25 dollar for it

Don't suppose either of you tried just automating the way you would do it manually? AutoIt can do that.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

To view my videos with MediaPortal on tv I run an AutoIt-Script which calls the display settings dialog and make the settings with ControlClick, ControlSend etc. But this isn't a good solution amongst others the time of switching can vary so I have to wait with Sleep() a long time so that it will work even if it takes a longer time because of higher priority tasks in background.

Yes, I tried but it isn't satisfying :)

Anyone other suggestion?

Regards,

Buffo

Edited by Buffo

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

*Bump*

I've got an NVidia card running dual monitors, and I'd like to automate switching a monitor to the S-Video output. I have done this with the script below, but the problem is that sometimes the window I need doesn't get focus (a specialized side-menu for nvidia), and then nothing works :lmao:

Anyway to do this with a dll call, and/or a regedit?

Note: this script opens PowerDVD and moves it to the tv (when it works) using another script. If PowerDVD is already running, it puts everything back.

If WinExists("PowerDVD") = 1 Then
    WinClose("PowerDVD")
    
    Run("rundll32.exe shell32.dll, Control_RunDLL desk.cpl")
    WinWaitActive("Display Properties")
    Send("^+{TAB}")
    Send("+{tab}+{tab}+{tab}+{tab}{space}")
    WinWaitActive("SyncMaster 940T/940B/940Be,SyncMaster Magic CX914B(Digital) and NVIDIA GeForce 6600 GT  Properties")
    Send("^+{TAB}")
    sleep(5000)
    Send("{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{down}{tab}{tab}{UP}{UP}{tab}{tab}{tab}{tab}{tab}{ENTER}")
    WinWaitActive("Display Properties")
    Send("{tab}{down}")
    Send("{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}{down}")
    Send("{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}{left}")
    Send("{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}")
    sleep(5000)
    Send("{ENTER}")
    MsgBox(0, "Script Completed", "The Script to end a Movie is complete, this message will disappear in 5 seconds", 5)

Else

    Run("rundll32.exe shell32.dll, Control_RunDLL desk.cpl")
    WinWaitActive("Display Properties")
    Send("^+{TAB}")
    Send("+{tab}+{tab}+{tab}+{tab}{space}")
    WinWaitActive("SyncMaster 940T/940B/940Be,SyncMaster Magic CX914B(Digital) and NVIDIA GeForce 6600 GT  Properties")
    Send("^+{TAB}")
    sleep(5000)
    Send("{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{up}{down}{tab}{tab}{DOWN}{DOWN}{tab}{tab}{tab}{tab}{tab}{ENTER}")
    WinWaitActive("Display Properties")
    Send("{ENTER}")
    sleep(3000)
    Run("C:\Program Files\CyberLink\PowerDVD\PowerDVD.exe F:\", "", @SW_MAXIMIZE)
    WinWaitActive("PowerDVD")
    sleep(15000)
    Send("!z")
    Send("!{TAB}")
    Send("!z")
    Send("!{TAB}")
    MsgBox(0, "Script Completed", "The Script to start a Movie is complete, this message will disappear in 5 seconds", 5)
    
EndIf
Edited by fisofo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0