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.

Different icons of actions with config options

Got a good idea? You can suggest new features here.
Post Reply
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Different icons of actions with config options

Post by Pako »

Would be very useful, if in config tree was the different icon the actions,
which they have some options configuration.
Pako
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Different icons of actions with config options

Post by Bitmonster »

I actually haven't understood you. Please try to describe it in another way.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Different icons of actions with config options

Post by Pako »

Situation:
1) I add new plugin with "createMacrosOnAdd = True" option to config tree.
2) Now I don't know, which Actions have options of configuration and which Actions have no options of configuration.
3) I execute a action, which have options of configuration (but I don't know it), and I get error message:
"TypeError: __call__() takes exactly 2 arguments (1 given)"
4) Now I know, that I must make configuration, but not everybody know ...

My idea:
Action with options of configuration have a "icon 1" and
action without options of configuration have a "icon 2".

Pako
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Different icons of actions with config options

Post by Bitmonster »

No bad idea, but we would need a new icon background, that is different but also looks like the other action icon background.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Different icons of actions with config options

Post by Pako »

And only different colour variant would was perhaps ?
My other idea:
Would be possible, to EventGhost after insert plug-in made automatic configuration with using default values ?
Pako
Bartman
Plugin Developer
Posts: 881
Joined: Sun Feb 12, 2006 9:03 am

Re: Different icons of actions with config options

Post by Bartman »

Pako wrote:Would be possible, to EventGhost after insert plug-in made automatic configuration with using default values ?
So just suppressing the config dialog? You can already assign default values as a plugin developer.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Different icons of actions with config options

Post by Pako »

Bartman wrote: You can already assign default values as a plugin developer.
Certainly, but I have in view not me and my plugins, but common user and all plugins.
Anymore is here alternative solution:
1) Add plugin with "createMacrosOnAdd = True" option to config tree
2) EG step by step opens all configuration dialogs and user must either confirm default value or set the other
Pako
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Different icons of actions with config options

Post by Bitmonster »

Pako wrote: Anymore is here alternative solution:
1) Add plugin with "createMacrosOnAdd = True" option to config tree
2) EG step by step opens all configuration dialogs and user must either confirm default value or set the other
Pako
I have thought of this in the beginning, I guess the user will only use a small part of the available functions of the plugin in the end, and to ask him to configure every action would be much to bothersome. If a plugin has actions that won't work good with default parameters, it should not use createMacrosOnAdd. This option is mainly intended for plugins that only have "straight" actions.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply