Okay, so I've been able to Frankenstein / edit most skins into doing what I want them to do, but this is apparently out of my scope of capabilities because I have no idea how to accomplish this. In the image below is my RSS reader skin. Each icon on top is a separate section of news stories from RSS feeds. I want to make it so that it changes to the next section after a set interval... say every 5 minutes.
chompskyhomp wrote: ↑May 19th, 2020, 3:51 am
Okay, so I've been able to Frankenstein / edit most skins into doing what I want them to do, but this is apparently out of my scope of capabilities because I have no idea how to accomplish this. In the image below is my RSS reader skin. Each icon on top is a separate section of news stories from RSS feeds. I want to make it so that it changes to the next section after a set interval... say every 5 minutes.
The posted code is completely useless, because there is an included file (@Resources\Variables_Reader.inc), which we don't have. That file contains probably some absolutely needed variables, like URLNews1, URLNews2 and so on.
The used images would also be great.
So, when there are a lot of included files, like this time, would be much better to pack the whole config and upload the package. That package would contain all included files (images, the .inc file and so on), so we should work with it.
So, please post the package.
I didn't post the variables_reader file because it's useless in this situation with what I'm trying to do. The only variables included in that file are the URL links.
[Variables]
; =======================================================
; RSS WEBSITE ADDRESS
; =======================================================
;URL1 = Deals
;URL2 = Games
;URL3 = Music
;URL4 = Tech
;URL5 = News
;URL6 = Movie releases
URLNews1=http://www.rssmix.com/u/11622224/rss.xml
URLNews2=http://www.rssmix.com/u/11622227/rss.xml
URLNews3=http://feeds.feedburner.com/realmofmetal
URLNews4=http://www.rssmix.com/u/11622232/rss.xml
URLNews5=http://www.rssmix.com/u/11622233/rss.xml
URLNews6=http://www.rssmix.com/u/8303411/rss.xml
; The icons are in Images\Reader\Icons folder
; To change them you just have to replace with the same name
; =======================================================
; 3600=60 minuts RSS UPDATE EVERY...
; =======================================================
; For news feed...
UpdateRate=900
chompskyhomp wrote: ↑May 19th, 2020, 5:13 pm
I didn't post the variables_reader file because it's useless in this situation with what I'm trying to do. The only variables included in that file are the URL links.
No, it's not. Having a functional skin, instead of a not working code, is much more useful. Extremely useful. Note that the code, besides the @Resources\Variables_Reader.inc included file and the needed images, has a few other still missing things: for instance we don't have neither the Substitute variable, nor the Reader.lua script file and so on. As said, when you have a code which uses more included files of any type (images, included variables, .lua script files or whatever) is always a good approach to upload the package, to help us to can help you. Otherwise we can't help, no one will recreate everything needed in the code, especially that in many cases we can't even (like this time).
Just downloaded the file on a different computer on a different account. No problems. Not sure what your problem is, but yeah... there's nothing wrong with the upload.
chompskyhomp wrote: ↑May 19th, 2020, 8:44 pm
Just downloaded the file on a different computer on a different account. No problems. Not sure what your problem is, but yeah... there's nothing wrong with the upload.
Google will let the owner download infected files, but no one else... you need to clean your PC and eliminate the virus(es).
So after some research I found that apparently for some reason Google Drive marks some archives as infected if there are .exe files contained within it. I was perplexed at first, because 1) I had my automatic virus scans run last night and nothing was detected and 2) Ran another scan and again, nothing detected. There were old .exe's in the original skin archive like RainRGB4 and RainFile, which aren't used by anything in my edited version of this skin anymore, so I just removed them from the folder and re-uploaded a fresh archive. I just downloaded it from a different IP address entirely, so it should be fixed now.
chompskyhomp wrote: ↑May 20th, 2020, 12:53 am
So after some research I found that apparently for some reason Google Drive marks some archives as infected if there are .exe files contained within it. I was perplexed at first, because 1) I had my automatic virus scans run last night and nothing was detected and 2) Ran another scan and again, nothing detected. There were old .exe's in the original skin archive like RainRGB4 and RainFile, which aren't used by anything in my edited version of this skin anymore, so I just removed them from the folder and re-uploaded a fresh archive. I just downloaded it from a different IP address entirely, so it should be fixed now.
Yeah, those excutable files can sometimes get flagged as potential viruses!
Can you post an updated link to your skin package, the one above is no longer valid?
For example, create a new variable called 'NewFeedSeconds' and set it's value to 300 (5 minutes).
Then add 2 measures, a time measure and a calc measure. The calc measure uses modulo math to reset the formula value to zero based on the number of seconds in the Time measure defined by 'NewFeedSeconds'. The If Condition will test if the value is zero and if true, will increase the currentfeed value in a loop from 1 to 6 and command the reader script to show the next feed.
chompskyhomp wrote: ↑May 20th, 2020, 12:53 am
so I just removed them from the folder and re-uploaded a fresh archive. I just downloaded it from a different IP address entirely, so it should be fixed now.
Where? Because as eclectic-tech said:
eclectic-tech wrote: ↑May 20th, 2020, 2:11 am
the one above is no longer valid?