Would be very useful, if in config tree was the different icon the actions,
which they have some options configuration.
Pako
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.
Different icons of actions with config options
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Different icons of actions with config options
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!
- 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
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
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
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Different icons of actions with config options
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!
- 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
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
My other idea:
Would be possible, to EventGhost after insert plug-in made automatic configuration with using default values ?
Pako
Re: Different icons of actions with config options
So just suppressing the config dialog? You can already assign default values as a plugin developer.Pako wrote:Would be possible, to EventGhost after insert plug-in made automatic configuration with using default values ?
- 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
Certainly, but I have in view not me and my plugins, but common user and all plugins.Bartman wrote: You can already assign default values as a plugin developer.
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
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Re: Different icons of actions with config options
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.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
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!