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.

Populate the EventGhost wiki with useful articles

If you have a question or need help, this is the place to be.
Post Reply
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Populate the EventGhost wiki with useful articles

Post by jinxdone »

Hi!

I have noticed that the same questions seem to pop up on the forum over and over again. For example right now the hot topic seems to be the problematic MCE remotes. (just look at the general support forum topics at a quick glance).

So, what about we (the users who know something about a given subject, own a specific kind of hardware etc.) try to fill the wiki with some useful information so that the newer users could read up on before they start asking all sorts of things on the forum.

We need atleast good tutorial/guides on these subjects:
  • MCE remote FAQ and HOW-TO
  • Keyboard plugin FAQ (how it works, how to block keypress from going to another application for example).
  • Generic HID plugin FAQ
  • Finding windows and sending keypresses
  • Finding window controls (using winspector?) and sending windows messages for more advanced users.
  • Serial port HOW-TO
  • IRDecoder FAQ (why the events are showing up as Unknown.*)
  • Switching parts of the config with the 'enable exclusive' action, this is what everybody wants to do but it still seems to puzzle some people.
  • Some more real-world configuration examples
  • Triggering eventghost actions from python scripts and passing variables between them using the eg.payload variable.
  • In general how to pass variables and use enabled/disabled states and do conditional jumps so that you can build more complex configurations.
  • Examples and templates of useful python scripts. For example a simple ( and well commented!), TCP/IP sender/receiver plugin template that you can easily modify for your purposes.
  • Regexp examples (regexp is always useful ;))
  • EventGhost specific wxwindows examples, hints and notes for scripters, it's such a mess to get to grips with if you have not used it before..
  • Using dll:s from python scripts. Useful for setting and getting system-wide windows parameters for example.
This is just some of the things from the top of my list that would probably be useful for lots of people. Anybody have time and/or interest to write any of them?

-jinxdone
manjh
Posts: 41
Joined: Thu Mar 12, 2009 11:14 am

Re: Populate the EventGhost wiki with useful articles

Post by manjh »

is there a list of variables that I can use in plugins, e.g. in file operations?
Sofar I have found eg.result, but I'd like to know more!
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Populate the EventGhost wiki with useful articles

Post by stottle »

I'm not sure I understand the question. Within your plugin (i.e., you aren't trying to pass info to EG's core or other plugins), you can create any variables you want (or import whatever you want). If you want to communicate outside your plugin and EG's events (including payload) won't work, it gets much more complicated. What are you trying to do?

Brett
krambriw
Plugin Developer
Posts: 2570
Joined: Sat Jun 30, 2007 2:51 pm
Location: Stockholm, Sweden
Contact:

Re: Populate the EventGhost wiki with useful articles

Post by krambriw »

Look in core.py, there you find it

Best regards, Walter
eli2k
Posts: 26
Joined: Mon Jun 29, 2009 10:34 pm

Re: Populate the EventGhost wiki with useful articles

Post by eli2k »

jinxdone wrote:Hi!

I have noticed that the same questions seem to pop up on the forum over and over again. For example right now the hot topic seems to be the problematic MCE remotes. (just look at the general support forum topics at a quick glance).

So, what about we (the users who know something about a given subject, own a specific kind of hardware etc.) try to fill the wiki with some useful information so that the newer users could read up on before they start asking all sorts of things on the forum.

-jinxdone
I agree, it's a great idea. We can even post a FAQ in the forums, with a post for each general question. The concept behind Macros/Events/Actions/Plugins in EventGhost is pretty simple, but it takes a little bit of time to actually figure out how it works. I read the only useable guide on the Wiki, but still didn't get it, until I took an hour to do some trial and error with EventGhost before understanding how I can make it do what I want it to.
setup: windows 7 + EventGhost 0.5.0-rc4 + Intel nuc6i5syh
User avatar
zian
Site Admin
Posts: 569
Joined: Wed Jun 24, 2009 3:54 pm

Re: Populate the EventGhost wiki with useful articles

Post by zian »

eli2k wrote:
I agree, it's a great idea.
Me Too.
eventghost.net
Be there or be square.
manjh
Posts: 41
Joined: Thu Mar 12, 2009 11:14 am

Re: Populate the EventGhost wiki with useful articles

Post by manjh »

krambriw wrote:Look in core.py, there you find it

Best regards, Walter
Silly question perhaps, but where do I find core.py? I've got lots of py files in the installation file, but no core-py!
Prinz
Plugin Developer
Posts: 194
Joined: Mon Apr 07, 2008 4:58 am

Re: Populate the EventGhost wiki with useful articles

Post by Prinz »

manjh wrote: Silly question perhaps, but where do I find core.py?
It should be here:
EventGhostDirectory\eg\Core.py


Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
nosignal
Posts: 9
Joined: Thu Oct 08, 2009 1:20 am

Re: Populate the EventGhost wiki with useful articles

Post by nosignal »

I have been able to add the following 3 pages to the Wiki:

MCE_Remote_FAQ - How to Use a Windows Media Center Edition IR Remote
MCE Remote Drivers for Windows XP - How to install a MCE Remote on Windows XP, even if it does not come with XP drivers (e.g. the Philips SRM5100).
MCE_Remote_Bruno - A more advanced alternative (unnecessary for 90% or users) is to use MCE Replacement Drivers by Bruno FLEURETTE or 'and-81'.

I went to for 3 separate pages for a number of reasons:
[*]I wanted to somewhat retain the original material, but extend it.
[*]There have been quite a few techniques over the years, most of which can still be useful to some people, so I wanted to include them all without confusing the issue.
[*]The wiki has a page length limit which meant it could not all go on one page :?
Post Reply