Jump to content

[Almost Solved] Multiple Displays for MCE?


Recommended Posts

I have on-board Intel Graphics hardware, which I want to use for my desktop. I also have an nVidia MX440 that I plan on using for MCE at the same time. How can I launch MCE only on the nVidia card? I appreciate any assistance given.

EDIT: Also, is there any way of switching MCE from one screen to the other? Just thought I'd ask.... Oh, I've tried searching and found many forum topics, however all of the ones I've read are not applicable. Thanks in advance!

EDIT2: Just had another thought.... Do I need to share the desktop between the two screens? The nVidia card is going to be hooked up to my TV in the living room and the Intel hardware is hooked up to my monitor in another room. Thanks!

Edited by dougiefresh
Link to comment
Share on other sites


UPDATE: My nVidia MX440 has two displays, one monitor and one TV. Turns out I don't need the Intel hardware enabled..... I found MCE Mover v1.0, but it only moves the MCE Window upon a certain combo being pressed.... Not exactly what I'm looking for. Oh, yeah: I do need to share the desktop between monitors....

Edited by dougiefresh
Link to comment
Share on other sites

Well, I guess I've just about solved my own problem....

Yes, and hopefully your solution will help some other users! :)

Good work! :thumbup

if you could post your autoit script, it would even be better.

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

does ultramon help you?
Ultramon? What's that, bledd?
if you could post your autoit script, it would even be better.
Sure, jaclaz! I'm sure that the code could be improved upon, but here it is. Please note that when it is run from a folder other than "%WinDir%\Script", it copies itself to "%WinDir%\Script" and registers itself to run on startup.

; Default tray menu items (Script Paused/Exit) will not be shown.
Opt("TrayMenuMode",1)

; If script is run from anywhere other than script folder in Windows install, copy there and exit:
If @ScriptDir <> @WindowsDir & "\Script" then
DirCreate( @WindowsDir & "\Script" )
FileCopy( @ScriptFullPath, @WindowsDir & "\Script", 1 )
RegWrite( "HKLM\Software\Microsoft\Windows\CurrentVersion\Run", "RunMCE", "REG_SZ", @WindowsDir & "\Script\" & @ScriptName )
Exit
Endif

; Launch Media Center software:
Run( @WindowsDir & "\ehome\ehShell.exe" )
WinWaitActive( "Media Center" )
WinMove( "Media Center", "", @DesktopWidth, 0, 800, 600 )

; Create Tray Menu:
TraySetIcon( @WindowsDir & "\ehome\ehShell.exe" )
$First = TrayCreateItem( "Move to Monitor" )
$Second = TrayCreateItem( "Move to TV" )
TrayCreateItem( "" )
$Exit = TrayCreateItem( "Exit MCE Helper" )
TraySetState()

; Answer tray messages as they come in:
While 1
$msg = TrayGetMsg()
Select
Case $msg = 0
ContinueLoop
Case $msg = $First
WinMove( "Media Center", "", 0, 0, 800, 600 )
Case $msg = $Second
WinMove( "Media Center", "", @DesktopWidth, 0, 800, 600 )
Case $msg = $Exit
ExitLoop
EndSelect
WEnd
Exit

EDIT: Note that when script launches from "%WinDir%\Script", it runs MCE then moves it to beyond desktop (assumes TV is at @DeskTopWidth+1 and TV is set to 800x600). Right-clicking tray icon allows movement of MCE between Monitor and TV, assuming it isn't maximized.

Edited by dougiefresh
Link to comment
Share on other sites

  • 1 month later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...