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.

How to save my eventghost Set-up / config

If you have a question or need help, this is the place to be.
Post Reply
byngo
Posts: 8
Joined: Mon Oct 13, 2008 8:06 pm

How to save my eventghost Set-up / config

Post by byngo »

Hi, I might need to re-install my Xp installation soon (part of troubleshooting random Bluescreens) but it took me a while to set-up my hauppage remote and eventghost the way i wanted it.
What should I save so that i can replace it and get to where i was after a fresh install of the OS?
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: How to save my eventghost Set-up / config

Post by CollinR »

File>Save As
Put it on your desktop.

Burn to CD or email to yourself.

Drink a beer. :mrgreen: You are done.
byngo
Posts: 8
Joined: Mon Oct 13, 2008 8:06 pm

Re: How to save my eventghost Set-up / config

Post by byngo »

Sorry, you mean open Event Ghost and use file>save as.

I didn't realise it was that simple. I thought there was some config file in C:\program files\event ghost\????? i would need.

Thanks.
:lol:
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: How to save my eventghost Set-up / config

Post by CollinR »

I'm think you hadn't noticed you can copy/paste from anywhere to anywhere too huh?

Well ya can just try it, EventGhost to EventGhost, EventGhost to text editor, text editor to EventGhost.


For a realworld example of how this has made a major PITA simple...

Okay so I use EventGhost to launch wget to make a request to the HAL HomeNet webserver to control x10 Lighting. The Macros look something all look something like this and I have 60-70 of them.
(copy/pasted directly into bbcode code tags.)

Code: Select all

<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1480">
    <Macro Name="Front Porch Light On" Expanded="True">
        <Event Name="TCP.FrontPorchLightOn" />
        <Action>
            System.Execute(u'C:\\AutomationApps\\GnuWin32\\bin\\wget.exe', u'--delete-after  http://10.10.1.5/HALHomeNet.html?filter=landa&submit_area=Device&DEV_PAGE=1&DEVNAMEON%7EEXTERIOR+FRONT+PORCH+LIGHT.x=1&DEVNAMEON%7EEXTERIOR+FRONT+PORCH+LIGHT.y=1', 3, False, 2, u'')
        </Action>
    </Macro>
</EventGhost>
Well I now have an automation box dedicated to HAL, EventGhost and several other misc apps. Guess what all 60-70 macros now have the wrong IP in the path. What to do?

EventGhost makes this simple, just copy/paste the folder with the macros into notepad.

Then in Notepad use the find/replace function like this:

Find:
http://10.10.1.5/HALHomeNet

Replace with
http://10.10.1.6/HALHomeNet

Then click the replace all button

Select all the text (Crtl+A) and copy it (Ctrl+C) then jump back into EventGhost and paste it (Ctrl+V)

Now in your config you will have 2 folders with the same name, the newer works with the new IP. Run some tests and if all is good simply delete the old folder with old IP.

In my Applied Digital Ocelot or HomeAutomated Living this would take me ages and be a complete PITA. With EventGhost thats 60-70 macros fixed in under 2 minutes.

Bitmonster really outdid himself in this aspect.
Post Reply