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.
Search found 11 matches
- Mon Jan 07, 2013 12:47 pm
- Forum: Coding Corner
- Topic: EventGhost in VisualBasic
- Replies: 5
- Views: 4001
Re: EventGhost in VisualBasic
The COM object is accessible via vbscript. In the internet, especially on the MSDN, are a lot of tutorials about the COM. But to use a command line command, which is called by the vbscript, is easier.
- Fri Dec 21, 2012 1:33 pm
- Forum: Coding Corner
- Topic: EventGhost in VisualBasic
- Replies: 5
- Views: 4001
Re: EventGhost in VisualBasic
You have two possibilities of passing commands with any programming language to Eventghost: Either you pass your commands per command line call or you pass your commands per COM (Component Object Model).
It should be easy to call a programm per command line with VB. You can use these commands: http ...
It should be easy to call a programm per command line with VB. You can use these commands: http ...
- Sun Dec 16, 2012 10:46 pm
- Forum: Plugin Support
- Topic: Adding mimetype to plugin webserver
- Replies: 0
- Views: 1518
Adding mimetype to plugin webserver
If you want to add a mimetype to the plugin webserver, you must only add extensions_map['.fileExtension'] = 'mimeType' to the "class MyHTTPRequestHandler(SimpleHTTPRequestHandler)" .
For example I have added support for svg images.
class MyHTTPRequestHandler(SimpleHTTPRequestHandler):
extensions ...
For example I have added support for svg images.
class MyHTTPRequestHandler(SimpleHTTPRequestHandler):
extensions ...
- Tue Aug 14, 2012 3:33 pm
- Forum: Plugin Support
- Topic: SchedulGhost
- Replies: 174
- Views: 105169
Re: SchedulGhost
If you add a schedule with the action "AddSchedule" of SchedulGhost, the added schedule will not be saved in SchedulGhost.xml.
I need this function, therefore I have written an addition to the code of SchedulGhost, which adds an action, which saves the added schedule in SchedulGhost.xml.
class ...
I need this function, therefore I have written an addition to the code of SchedulGhost, which adds an action, which saves the added schedule in SchedulGhost.xml.
class ...
- Sun Jun 10, 2012 5:05 pm
- Forum: Coding Corner
- Topic: EventGhost and the Windows COM
- Replies: 5
- Views: 4282
Re: EventGhost and the Windows COM
For Java, it is the best if you use Jthyon and control it from your Java program to use the Windows COM to control EventGhost.
- Sun Jun 10, 2012 5:02 pm
- Forum: Coding Corner
- Topic: EventGhost and the Windows COM
- Replies: 5
- Views: 4282
Re: EventGhost and the Windows COM
I have coded the C# version to control EventGhost through the COM.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Diagnostics;
using System.Runtime.InteropServices.ComTypes ...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.Reflection;
using System.Diagnostics;
using System.Runtime.InteropServices.ComTypes ...
- Wed Mar 28, 2012 9:46 pm
- Forum: Coding Corner
- Topic: EventGhost and the Windows COM
- Replies: 5
- Views: 4282
EventGhost and the Windows COM
Thanks Pako for this great solution.
I have read, that the win32com.client uses the ComponentsObjectModel (COM) of Windows.
Does anyone know / have experience, how I can use EventGhost with C# or Java with help of the Windows COM.
I have read, that the win32com.client uses the ComponentsObjectModel (COM) of Windows.
Does anyone know / have experience, how I can use EventGhost with C# or Java with help of the Windows COM.
- Sat Mar 24, 2012 10:12 pm
- Forum: Coding Corner
- Topic: EventGhost and the Windows COM
- Replies: 5
- Views: 4282
EventGhost and the Windows COM
Is there are possibility with the python interpreter of the apache webserver (mod_python) to access the eg module?
I want to create a webpage and if you click one button, the python interpreter of the apache webserver should call the method eg.TriggerEvent("Name").
I cannot find how an other python ...
I want to create a webpage and if you click one button, the python interpreter of the apache webserver should call the method eg.TriggerEvent("Name").
I cannot find how an other python ...
- Sat Oct 29, 2011 3:07 pm
- Forum: Plugin Support
- Topic: Webserver: More than one web page
- Replies: 4
- Views: 2368
Re: Webserver: More than one web page
Thanks Pako.
My problem was, that I used the URI without path (address.org/ instead of address.org/EventGhost.html).
My problem was, that I used the URI without path (address.org/ instead of address.org/EventGhost.html).
- Sat Oct 29, 2011 11:45 am
- Forum: Plugin Support
- Topic: Webserver: More than one web page
- Replies: 4
- Views: 2368
Re: Webserver: More than one web page
Webser-Plugin adjustments:
Plugin_adjustments.jpg
I have to take the html-file (C:\Program Files\...\www\Webserver.htm) instead of my folder (C:\Program Files\...\www\) as my data directory in the plugin adjustments. Otherwise I can't open the first webpage (Webserver.htm).
Webserver.htm:
<html ...
Plugin_adjustments.jpg
I have to take the html-file (C:\Program Files\...\www\Webserver.htm) instead of my folder (C:\Program Files\...\www\) as my data directory in the plugin adjustments. Otherwise I can't open the first webpage (Webserver.htm).
Webserver.htm:
<html ...
- Fri Oct 28, 2011 6:58 pm
- Forum: Plugin Support
- Topic: Webserver: More than one web page
- Replies: 4
- Views: 2368
Webserver: More than one web page
Good evening,
I can't link my webserverplugin-page with a second webpage. If I do this and open the second webpage I get only the error code 404 (nothing matches the given URI).
HTML-code: <a href="2webpage.htm"> Second Webpage </a>
The second webpage is in the same folder as the first page.
But ...
I can't link my webserverplugin-page with a second webpage. If I do this and open the second webpage I get only the error code 404 (nothing matches the given URI).
HTML-code: <a href="2webpage.htm"> Second Webpage </a>
The second webpage is in the same folder as the first page.
But ...