I'd like to display thumblains which I download from web using rss and webparser plugin. Unfortunately quote plugin displays only images which are in selected directory during startup or refresh.
It would be nice if quote plugin could refresh (periodicaly or on demand) info about content of directory.
It is currently October 6th, 2024, 10:03 am
QuotePlugin refresh directory
-
- Posts: 2
- Joined: June 20th, 2009, 11:41 am
-
- Developer
- Posts: 22821
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: QuotePlugin refresh directory
Try putting this on the meter that displays the image.konio wrote:I'd like to display thumblains which I download from web using rss and webparser plugin. Unfortunately quote plugin displays only images which are in selected directory during startup or refresh.
It would be nice if quote plugin could refresh (periodicaly or on demand) info about content of directory.
LeftMouseUpAction= !execute [!RainmeterRefresh]
-
- Posts: 2
- Joined: June 20th, 2009, 11:41 am
Re: QuotePlugin refresh directory
It's not good. Maybe I explain how it works for better understanding:jsmorley wrote:Try putting this on the meter that displays the image.
LeftMouseUpAction= !execute [!RainmeterRefresh]
1. In my skin config file I parse rss message:
a. I'm extracting links to thumblains.
b. I'm downloading these images using webparser plugin - images are downloaded to Rainmeter-cache folder.
2. Using quote plugin I'm trying to display downloaded images.
But...
In my understanding after !RainmeterRefresh bang config file is reloaded and the content of Rainmeter-cache directory is deleted - refreshed quote plugin has an empty list of images to display (even if after a few seconds images appear in selected directory).
I'm no programmer but there is function called ScanFolder in Quote.cpp which is now executed only during module initialization...