This is just an idea that came to my mind recently and I post it here to remind myself of it and to collect additional ideas and opinions.
The idea is to create plugins that are build by normal macros but look like plugins from the user perspective.
So the developer can build a EventGhost folder full of macros consisting of already defined actions like StartApplication, FindWindow, SendMessage, SendKeys, PythonScript and so on. The macros will get additional properties for the description, icon and such and the same for the root folder and possible sub-folders (that act as subgroups later). After he has finished it so far, the developer can press a magical button and this whole folder is stuffed inside a file that a user can load as a plugin.
Thus the root folder will get a plugin, sub-folders will get sub-groups for actions, macros will get actions and the end-user will not see the actual actions inside, because they are only implementation details.
This might also replace the need for an import/export function and actually supersedes it, because this way the "plugin" can be changed (for example because the target program has changed its window names) without the need that the end-user has to change its configuration.
And this way people without programming skills, but a deeper knowledge of automation tasks can create full featured plugins.
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.
Plugin builder
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Plugin builder
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Re: Plugin builder
Well thank you for thinking of me.Bitmonster wrote:And this way people without programming skills, but a deeper knowledge of automation tasks can create full featured plugins.
I think this is a great idea! The only thing not mentioned that I feel would add to it is the ability to include/extend existing plugins.
In the SageTV plugin...
If the user has the web interface installed they can multiply the current plugin by the number of clients on the system using wget or most likely native EventGhost web requests. Specifically they can issue a command that will put any client to sleep, thus freeing up it's tuner slot. This is very valueable to SageTV as often the guests/kids/wife fall asleep in one room while watching live TV taking up an encoder all night. You get the all tuners busy error.
So the SageTV plugin would need to ask local/remote, server address and port, user/PW and context (MAC address), the rest stays the same. If local is chosen the action configures as normal. If remote is chosen the command will use the web interface instead.
Obviously this would allow for an easy x10 plugin too, x10 command line interface is about as easy as it comes.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: Plugin builder
Wonderful idea!
Would this also cover scripts?
If so I could see need for a feature where you "tag" script variables and they will then be displayed and "editable" in the gui.
Best regards, Walter
Would this also cover scripts?
If so I could see need for a feature where you "tag" script variables and they will then be displayed and "editable" in the gui.
Best regards, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: Plugin builder
Good idea, but to me personally more is absent something elseBitmonster wrote:The idea is to create plugins that are build by normal macros but look like plugins from the user perspective.
Source: http://www.eventghost.org/forum/viewtop ... cript#p263In the future EG will get an object that can be configured to the keys the user wants, but currently some scripting is needed.
Pako