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.

Problem with xbmc + goodsync + trayit

If you have a question or need help, this is the place to be.
Post Reply
denywinarto
Posts: 1
Joined: Sat Aug 04, 2012 12:34 pm

Problem with xbmc + goodsync + trayit

Post by denywinarto »

Hi,
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>
Post Reply