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.

Search found 4 matches

by sws
Mon Jun 01, 2015 1:45 pm
Forum: Coding Corner
Topic: 64-bit python?
Replies: 1
Views: 2342

64-bit python?

Hi,

I'm importing some Python code into EventGhost, and need to use the lxml module to read/write XML. I'm running Windows 7 (64-bit), but the Python version in EventGhost is 32-bit. When I import lxml, I get the followjng error: 'DLL load failed: %1 is not a valid Win32 application', presumably ...
by sws
Thu Sep 18, 2014 3:40 pm
Forum: General Support
Topic: Triggering EG actions from python
Replies: 12
Views: 5162

Re: Triggering EG actions from python

So, the thing that led me to ask this was seeing the 'Copy As Python' entry in the context menu that you get when right-clicking an action. This provides the code you need to run each plugin action from the python shell within EventGhost. Here, an instance of the eg module is already accessible ...
by sws
Thu Sep 18, 2014 9:36 am
Forum: General Support
Topic: Triggering EG actions from python
Replies: 12
Views: 5162

Re: Triggering EG actions from python

The main reason I would like to do this is that in order to trigger an action from the com EventGhost instance, I have to add an event to each action within EG. For example, with the VLC media player plugin, the 'Start' macro needs to have an event manually added to it in order to trigger it from ...
by sws
Wed Sep 17, 2014 5:56 pm
Forum: General Support
Topic: Triggering EG actions from python
Replies: 12
Views: 5162

Triggering EG actions from python

I'm interested in controlling/automating a couple of programs using Python, and it seems to me that much of the functionality I need is already included in EventGhost. However, I would like to access the eg module from an external Python (2.7) command line, and am wondering if this is possible ...