Hi all,
Is there any way to make a custom XML file the default EG Tree that opens?
I'm creating a program in Visual Basic, and I can copy my XML file to the EventGhost root folder, where it can then be easily opened. However, I would like if the user didn't have to manually open it, and it instead was automatically the default.
I've tried using keyboard emulation for "Ctrl O, Tab Tab " etc. but it was very unreliable.
Thanks for any help.
EventGhost 0.4.1.r1534
Windows Vista Home Premium
6.0.6001 Service Pack 1 Build 6001
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.
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.
Default XML File
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Default XML File
If you from your vb app first see to that eg is not running, you could edit the name of the xml-file to be opened (it's in the config.py file)
Best regards, Walter
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
-
jmsosullivan
- Posts: 10
- Joined: Thu Aug 11, 2011 1:48 pm
Re: Default XML File
Thanks for your reply Walter,
I've found 2 "config.py" files, one in "eg\classes", the other in "tools\builder". I've looked thoroughly through both files but can't find anywhere where an xml file is called or loaded.
Which file is the correct one? And where in that file should I make the appropriate changes?
Thanks for your help
I've found 2 "config.py" files, one in "eg\classes", the other in "tools\builder". I've looked thoroughly through both files but can't find anywhere where an xml file is called or loaded.
Which file is the correct one? And where in that file should I make the appropriate changes?
Thanks for your help
-
jmsosullivan
- Posts: 10
- Joined: Thu Aug 11, 2011 1:48 pm
Re: Default XML File
I think I found it in the "AppData" folder of the user. Thanks
-
jmsosullivan
- Posts: 10
- Joined: Thu Aug 11, 2011 1:48 pm
Re: Default XML File
Got it working exactly the way I wanted it to. I've been banging my head for weeks trying to do this; it's amazing how such a simple suggestion yields a solution.