gAJLAIVxAC4=
gAIoiIiJiXRxAC4=
gAIpLg==
gAIpLg==
System.Execute(u'C:\\Users\\Sage\\AppData\\Local\\HuluDesktop\\HuluDesktop.exe', u'', 2, False, 2, u'')
EventGhost.EnableExclusive(XmlIdLink(163))
EventGhost.ShowOSD(u'Switching to Hulu', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
Window.SendKeys(u'{Alt+Space+X}', False)
EventGhost.Wait(1.0)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
System.Execute(u'C:\\Program Files\\SageTV\\SageTV\\SageTV.exe', u'', 2, False, 2, u'')
SageTV.PowerOn()
EventGhost.Wait(1.0)
Window.FindWindow(u'SageTV.exe', u'SageTV', u'SunAwtFrame', u'', u'SunAwtCanvas', 7, False, 0.0, 0)
Window.BringToFront()
EventGhost.PythonCommand("Window.FindWindow(u'SageTV.exe', None, None, None, None, None, False, 0.0, 0)")
EventGhost.PythonCommand('Window.BringToFront()')
EventGhost.PythonCommand('Window.Maximize()')
EventGhost.Comment()
Window.SendKeys(u'{Ctrl+Shift+F}', False)
EventGhost.PythonCommand("Window.SendKeys(u'{Ctrl+Shift+F}', False)")
SageTV.FullScreen()
EventGhost.Comment()
EventGhost.PythonCommand("Window.SendKeys(u'{Ctrl+Shift+N}', False)")
EventGhost.Comment()
EventGhost.PythonCommand("Window.SendKeys(u'{Ctrl+Shift+P}', False)")
SageTV.MuteOff()
EventGhost.EnableExclusive(XmlIdLink(301))
System.Execute(u'C:\\Program Files\\Boxee\\BOXEE.exe', u'', 2, False, 2, u'')
EventGhost.Wait(1.0)
Window.FindWindow(u'BOXEE.exe', u'BOXEE', u'SDL_app', None, None, None, False, 0.0, 0)
EventGhost.EnableExclusive(XmlIdLink(611))
EventGhost.ShowOSD(u'Switching to Boxee', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
Window.SendKeys(u'{Alt+Space+X}', False)
System.Execute(u'C:\\dvbdream\\dvbdream.exe', u'/renderless=on /minimized', 0, False, 2, u'')
EventGhost.EnableExclusive(XmlIdLink(55))
EventGhost.ShowOSD(u'Switching to Hulu', u'0;-24;0;0;0;700;0;0;0;1;0;0;2;32;Arial', (255, 255, 255), (0, 0, 0), 0, (0, 0), 0, 3.0, False)
Window.SendKeys(u'{Alt+Space+X}', False)
DVBDream.Power()
DVBDream.Mute()
DVBDream.Zero()
DVBDream.One()
DVBDream.Two()
DVBDream.Three()
DVBDream.Four()
DVBDream.Five()
DVBDream.Six()
DVBDream.Seven()
DVBDream.Eight()
DVBDream.Nine()
DVBDream.ChUp()
DVBDream.ChDn()
DVBDream.VolumeUp()
DVBDream.VolumeDn()
DVBDream.Ok()
DVBDream.Record()
DVBDream.Recall()
DVBDream.Fullscreen()
DVBDream.Teletext()
DVBDream.EPG()
DVBDream.Tab()
DVBDream.Info()
DVBDream.Optional1()
DVBDream.Optional2()
DVBDream.Optional3()
DVBDream.Optional4()
DVBDream.Optional5()
DVBDream.Optional6()
DVBDream.Optional7()
DVBDream.Optional8()
DVBDream.Optional9()
DVBDream.Play()
DVBDream.Stop()
DVBDream.Forward()
DVBDream.Rewind()
DVBDream.Pause()
DVBDream.Scheduler()
DVBDream.Menu()
DVBDream.Red()
DVBDream.Green()
DVBDream.Yellow()
DVBDream.Blue()
DVBDream.Radio()
DVBDream.RecordList()
DVBDream.Exit()
EventGhost.NewJumpIf(XmlIdLink(18), 2, False)
EventGhost.NewJumpIf(XmlIdLink(8), 2, False)
EventGhost.NewJumpIf(XmlIdLink(39), 2, False)
EventGhost.NewJumpIf(XmlIdLink(48), 2, False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Up}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Down}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Left}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Right}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Enter}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Enter}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Space}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Space},{Escape}', False)
Window.BringToFront()
EventGhost.Wait(0.5)
Window.SendKeys(u'E', False)
Window.BringToFront()
Window.SendKeys(u'T', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Right}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Left}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'F', False)
EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Left}', False)
EventGhost.AutoRepeat(0.59999999999999998, 0.29999999999999999, 0.01, 3.0)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Alt+Space+X}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Alt+Space+N}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'{Escape}', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', None, None, None, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'F', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', None, None, None, False, 0.0, 0)
Window.BringToFront()
Window.SendKeys(u'F', False)
Window.FindWindow(u'HuluDesktop.exe', u'Hulu Desktop', u'HuluDesktop_Host', u'', u'MacromediaFlashPlayerActiveX', 1, False, 0.0, 0)
Window.SendKeys(u'{Alt+F4}', False)
EventGhost.DisableItem(XmlIdLink(163))
EventGhost.NewJumpIf(XmlIdLink(18), 2, False)
EventGhost.NewJumpIf(XmlIdLink(8), 2, False)
EventGhost.NewJumpIf(XmlIdLink(39), 2, False)
EventGhost.NewJumpIf(XmlIdLink(48), 2, False)
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(18,0,0,0)\nwin32api.keybd_event(9,0,0,0)\nwin32api.keybd_event(9,0,2,0)')
EventGhost.PythonScript(u'import win32api\nwin32api.keybd_event(18,0,2,0)')
SageTV.Left()
SageTV.Right()
SageTV.Up()
SageTV.Down()
SageTV.Pause()
SageTV.Play()
SageTV.SkipFwdPageRight()
SageTV.SkipBkwdPageLeft()
SageTV.TimeScroll()
SageTV.ChannelUpPageUp()
SageTV.ChannelDownPageDown()
SageTV.VolumeUp()
SageTV.VolumeDown()
SageTV.Tv()
SageTV.PlayFaster()
SageTV.PlaySlower()
SageTV.Guide()
SageTV.Power()
SageTV.Select()
SageTV.Watched()
SageTV.Favorite()
SageTV.DontLike()
SageTV.Info()
SageTV.Record()
SageTV.Mute()
SageTV.FullScreen()
SageTV.Home()
SageTV.Options()
SageTV.Num0()
SageTV.Num1()
SageTV.Num2()
SageTV.Num3()
SageTV.Num4()
SageTV.Num5()
SageTV.Num6()
SageTV.Num7()
SageTV.Num8()
SageTV.Num9()
SageTV.Search()
SageTV.Setup()
SageTV.Library()
SageTV.PowerOn()
SageTV.PowerOff()
SageTV.MuteOn()
SageTV.MuteOff()
SageTV.AspectRatioFill()
SageTV.AspectRatio4x3()
SageTV.AspectRatio16x9()
SageTV.AspectRatioSource()
SageTV.RightVolumeUp()
SageTV.LeftVolumeDown()
SageTV.UpChannelUp()
SageTV.DownChannelDown()
SageTV.PageUp()
SageTV.PageDown()
SageTV.PageRight()
SageTV.PageLeft()
SageTV.PlayPause()
SageTV.PreviousChannel()
SageTV.SkipFwd2()
SageTV.SkipBkwd2()
SageTV.LiveTv()
SageTV.DvdReversePlay()
SageTV.DvdNextChapter()
SageTV.DvdPrevChapter()
SageTV.DvdMenu()
SageTV.DvdTitleMenu()
SageTV.DvdReturn()
SageTV.DvdSubtitleChange()
SageTV.DvdSubtitleToggle()
SageTV.DvdAudioChange()
SageTV.DvdAngleChange()
SageTV.Dvd()
SageTV.Back()
SageTV.Forward()
SageTV.Customize()
SageTV.Custom1()
SageTV.Custom2()
SageTV.Custom3()
SageTV.Custom4()
SageTV.Custom5()
SageTV.Delete()
SageTV.MusicJukebox()
SageTV.RecordingSchedule()
SageTV.SageTvRecordings()
SageTV.PictureLibrary()
SageTV.VideoLibrary()
SageTV.Stop()
SageTV.Eject()
SageTV.StopEject()
SageTV.Input()
SageTV.SmoothFF()
SageTV.SmoothRew()
SageTV.AspectRatioToggle()
SageTV.FullScreenOn()
SageTV.FullScreenOff()
SageTV.RightSkipFwd()
SageTV.LeftSkipBkwd()
SageTV.UpVolUp()
SageTV.DownVolDown()
SageTV.Online()
SageTV.VideoOutput()
System.Execute(u'C:\\Program Files\\12noon Display Changer\\dc.exe', u' -width=1920 -height=1080 -refresh=24', 3, False, 2, u'')
System.Execute(u'C:\\Program Files\\12noon Display Changer\\dc.exe', u'-width=1920 -height=1080 -refresh=60', 3, False, 2, u'')
EventGhost.NewJumpIf(XmlIdLink(18), 2, False)
EventGhost.NewJumpIf(XmlIdLink(8), 2, False)
EventGhost.NewJumpIf(XmlIdLink(39), 2, False)
EventGhost.NewJumpIf(XmlIdLink(48), 2, False)
Window.SendKeys(u'{Up}', False)
Window.SendKeys(u'{Down}', False)
Window.SendKeys(u'{Left}', False)
Window.SendKeys(u'{Right}', False)
XBMC.PageUp()
XBMC.PageDown()
Window.SendKeys(u'{Enter}', False)
Window.SendKeys(u'{Esc}', False)
XBMC.ContextMenu()
XBMC.Play()
Window.SendKeys(u'{P}', False)
XBMC.Stop()
XBMC.FastForward()
XBMC.Rewind()
XBMC.SkipNext()
XBMC.SkipPrevious()
XBMC.Record()
XBMC.BigSkipBackward()
XBMC.BigSkipForward()
XBMC.SmallSkipBackward()
XBMC.SmallSkipForward()
XBMC.AspectRatio()
XBMC.CodecInfo()
XBMC.FullScreen()
XBMC.Repeat()
XBMC.ShowSubtitles()
XBMC.OSD()
XBMC.ShowTime()
XBMC.VolumeUp()
XBMC.VolumeDown()
XBMC.Mute()
XBMC.ScrollUp()
XBMC.ScrollDown()
XBMC.Close()
XBMC.Number0()
XBMC.Number1()
XBMC.Number2()
XBMC.Number3()
XBMC.Number4()
XBMC.Number5()
XBMC.Number6()
XBMC.Number7()
XBMC.Number8()
XBMC.Number9()
XBMC.Playlist()
XBMC.Queue()
XBMC.MoveItemUp()
XBMC.MoveItemDown()
XBMC.Delete()
XBMC.Random()
XBMC.Repeat()
XBMC.PartyMode()
XBMC.ParentDir()
Window.SendKeys(u'{I}', False)
XBMC.TakeScreenShot()
XBMC.EjectTray()
XBMC.PlayDVD()
Window.SendKeys(u'{H}', False)
XBMC.MyVideos()
XBMC.MyMusic()
XBMC.MyPictures()
XBMC.MyMovies()
XBMC.MyTVShows()
XBMC.Weather()
XBMC.Settings()
XBMC.Favorites()
XBMC.SystemInfo()
XBMC.LastFMLove()
XBMC.LastFMBan()
XBMC.UpdateVideoLibrary()
XBMC.UpdateMusicLibrary()
XBMC.ShutdownMenu()
XBMC.Quit()
XBMC.Shutdown()
XBMC.Powerdown()
XBMC.Suspend()
XBMC.Hibernate()
XBMC.Reset()
EventGhost.NewJumpIf(XmlIdLink(18), 0, False)
EventGhost.NewJumpIf(XmlIdLink(18), 2, False)
EventGhost.NewJumpIf(XmlIdLink(8), 2, False)
EventGhost.NewJumpIf(XmlIdLink(39), 2, False)
EventGhost.NewJumpIf(XmlIdLink(48), 2, False)