I have a problem auto-starting xbmc with event ghost,
I'll explain it first because my xbmc setup is a little complex,
first i have a server that's supplying only userdata folder (ubuntu)
then i sync (with goodsync) that folder to D drive > D:\Userdata
next i hardlink that folder to my xbmc installation folder in C
I use hardlink with this guide
Why not sync to C directly? Well because my C drive is deepfreezed.
Now here's what i'm trying to accomplish
1. Start xbmc on startup
2. Hide it to tray using trayit
That's it, the goal is to start xbmc when windows start (and hide it to tray) to reduce its load times.
And i tried eventghost with this setup:
1. run hardlink files to start the service (ln.exe and senable.exe)
2. run trayit
3. run xbmc
4. find xbmc window
5. minimize
But xbmc seems to freeze in minimized position and i can't even bring it up...
Anyone know what could be the problem?
Here's my eventghost script
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1572" Guid="{8703B828-1BDB-42D7-8937-A079EFEB6A8F}" Time="1344083268.03">
<Autostart Name="Autostart" />
<Macro Name="Start Program: ln.exe" Expanded="True">
<Action>
System.Execute(u'C:\\HARDLINK\\symlink-1.06-x86\\ln.exe', u'', 3, False, 2, u'', False)
</Action>
</Macro>
<Macro Name="Start Program: senable.exe" Expanded="True">
<Action>
System.Execute(u'C:\\HARDLINK\\symlink-1.06-x86\\senable.exe', u'', 3, True, 2, u'', True)
</Action>
</Macro>
<Macro Name="Start Program: explorer.exe" Expanded="True">
<Action>
System.Execute(u'C:\\WINDOWS\\explorer.exe', u'', 0, False, 2, u'', False)
</Action>
</Macro>
<Macro Name="Find Window: explorer.exe" Expanded="True">
<Action>
Window.FindWindow(u'explorer.exe', None, None, None, None, None, False, 0.0, 0)
</Action>
</Macro>
<Macro Name="Close" Expanded="True">
<Action>
Window.Close()
</Action>
</Macro>
<Macro Name="Start Program: XBMC.exe" Expanded="True">
<Action>
System.Execute(u'C:\\Program Files\\XBMC\\XBMC.exe', u'', 2, False, 2, u'', False)
</Action>
</Macro>
<Macro Name="Start Program: TrayIt!.exe" Expanded="True">
<Action>
System.Execute(u'C:\\trayit_4_6_5_5\\TrayIt!.exe', u'', 3, False, 2, u'', False)
</Action>
</Macro>
<Macro Name="Find Window: XBMC.exe" Expanded="True">
<Action>
Window.FindWindow(u'XBMC.exe', None, None, None, None, None, False, 0.0, 0)
</Action>
</Macro>
<Macro Name="Minimize" Expanded="True">
<Action>
Window.Minimize()
</Action>
</Macro>
</EventGhost>