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.
New action System\Display Image
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
New action System\Display Image
I needed to use System\Display\Show Picture action. But I found that it does not meet all my needs.
And so I created a new action System\Display\Display Image.
I prefer to preserve the original Show Picture action for backward compatibility.
Here you can see what it looks like the configuration dialog of new action:I'm asking you about two things:
1) Please check that all the English strings are fine.
2) Please test it. I prepared a simple example of using as slideshow, but please test it as much as possible option.
You must replace the __ init__.py file in the folder EventGhost\plugins\System using the file that is attached.Pako
And so I created a new action System\Display\Display Image.
I prefer to preserve the original Show Picture action for backward compatibility.
Here you can see what it looks like the configuration dialog of new action:I'm asking you about two things:
1) Please check that all the English strings are fine.
2) Please test it. I prepared a simple example of using as slideshow, but please test it as much as possible option.
You must replace the __ init__.py file in the folder EventGhost\plugins\System using the file that is attached.Pako
- Attachments
-
- System.zip
- __init__.py
DisplayImageDemonstration.xml - (15.67 KiB) Downloaded 324 times
-
homecontrol
- Posts: 2
- Joined: Sat Jan 28, 2012 9:51 am
Re: New action System\Display Image
Thx Pako!
Exactly what I am looking for! Works perfect!
Exactly what I am looking for! Works perfect!
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: New action System\Display Image
Indeed, no one comments on my English ?
This is weird, I know it's not worth anything.
Indeed, no one here is willing to do something for others for free ?
It's a shame because I would like to soon release a new version of the EG and I thought that there will be a corrected version.
Pako
This is weird, I know it's not worth anything.
Indeed, no one here is willing to do something for others for free ?
It's a shame because I would like to soon release a new version of the EG and I thought that there will be a corrected version.
Pako
Re: New action System\Display Image
Hi Pako,
Anyway, the English used in the initial screenshot, under "Other options" section;
Starts with a Window Border option, which all seems fine however the next line;
"The window automatically to disappear after ..."
in English would be better represented by "The window automatically disappears after ..."
My point is your English is generally good and what I've just pointed out is very pedantic and IMHO not even worth changing, as it makes sense either way, and is clearly not a problem as long as the programming works.
No offence meant, but since you asked for it, there is one bit of English that could be improved, by looking at the screenshots you posted. (I actually haven't used the Plugin/Code you posted, but I'm sure it works well, otherwise you would have heard about it by now by those that have tried it.)Pako wrote:Indeed, no one comments on my English ?
This is weird, I know it's not worth anything.
Indeed, no one here is willing to do something for others for free ?
It's a shame because I would like to soon release a new version of the EG and I thought that there will be a corrected version.
Pako
Anyway, the English used in the initial screenshot, under "Other options" section;
Starts with a Window Border option, which all seems fine however the next line;
"The window automatically to disappear after ..."
in English would be better represented by "The window automatically disappears after ..."
My point is your English is generally good and what I've just pointed out is very pedantic and IMHO not even worth changing, as it makes sense either way, and is clearly not a problem as long as the programming works.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: New action System\Display Image
Thank you very much for your comments.noesis wrote:"The window automatically to disappear after ..."
in English would be better represented by "The window automatically disappears after ..."
I will use your modification in System plugin.
Pako
-
this-is-me
- Posts: 3
- Joined: Fri Jul 20, 2012 11:38 pm
Re: New action System\Display Image
Bug: if "0" is used as the timeout, there is no way to make the image disappear off the screen. It should be possible to hide an existing image like the "Show Picture" action by specifying no picture to show.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: New action System\Display Image
And that's a problem, right-click on the image?
Pako
Pako
-
this-is-me
- Posts: 3
- Joined: Fri Jul 20, 2012 11:38 pm
Re: New action System\Display Image
Yes, that's a problem, because the whole idea of EventGhost is that the user doesn't need to interact with things as much. Why should I have to get up from the couch, walk over to the computer, and right click on an image to get rid of it? I need to have EventGhost be able to do this instead of me.
One example is If I display a picture on the screen, and then need to show a more updated picture later (such as album art for the currently playing song). If EventGhost cannot hide the existing album art, then the next album is stacked on top of the previous one. If I was not at the computer, but had music playing for an hour, I might have 20 different pictures to dismiss from the screen. This should be handled in EventGhost, and not by me as a user.
One example is If I display a picture on the screen, and then need to show a more updated picture later (such as album art for the currently playing song). If EventGhost cannot hide the existing album art, then the next album is stacked on top of the previous one. If I was not at the computer, but had music playing for an hour, I might have 20 different pictures to dismiss from the screen. This should be handled in EventGhost, and not by me as a user.
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: New action System\Display Image
Yes, I understand and agree.
But this action is not ready for such use, because you can display an unlimited number of images simultaneously.
I'll have to add an identifier to each image.
Then it will be possible to programmatically close the appropriate window (based on a known identifier).
Pako
But this action is not ready for such use, because you can display an unlimited number of images simultaneously.
I'll have to add an identifier to each image.
Then it will be possible to programmatically close the appropriate window (based on a known identifier).
Pako
- Pako
- Plugin Developer
- Posts: 2294
- Joined: Sat Nov 11, 2006 1:31 pm
- Location: Czech Republic
- Contact:
Re: New action System\Display Image
=> 0.4.1.r1582
Added the action Hide Image.
In dialogue of action Display Image you must define the name of the image.
If an image with the same name already exists, it is overwritten with the new image.
Pako
Added the action Hide Image.
In dialogue of action Display Image you must define the name of the image.
If an image with the same name already exists, it is overwritten with the new image.
Pako
-
this-is-me
- Posts: 3
- Joined: Fri Jul 20, 2012 11:38 pm
Re: New action System\Display Image
Thank You.
-
krambriw
- Plugin Developer
- Posts: 2570
- Joined: Sat Jun 30, 2007 2:51 pm
- Location: Stockholm, Sweden
- Contact:
Re: New action System\Display Image
Pako, now really pedantic, it should be "an image",
Very best regards my friend, Walter
Very best regards my friend, Walter
My released plugins
https://drive.google.com/drive/folders/ ... y01eVBKeHM
https://drive.google.com/drive/folders/ ... y01eVBKeHM