pbutler6 wrote: ↑August 19th, 2020, 11:17 pmWhen I was saving the temp files to the skin folder I could rename the downloade file with
DownloadFile=Newname.gif. How can I specify a name other than
inmasirmr_bos.gif for the downloaded file in the TEMP folder?
I don't think you can. The rule seems to be that if the file is downloaded in the TEMP folder, the file keeps its original name and Windows handles everything, while if the file is downloaded in one of Rainmeter's folders (current skin folder or its DownloadFile subfolder) the name can be changed. That being said, although it's not necessarily about the TEMP folder, you can try using a combination of
Debug=2 and
Debug2File=SomeExistingPath\SomeFileName.gif options to set the path and the filename as desired.
pbutler6 wrote: ↑August 19th, 2020, 11:17 pmThis seems to work (at least in the short term). However, I could suddenly start to get inmasirmr_bos_2.gif, and then things would fail. I would prefer to figure out how to use Yincognito's approach.
I'm not sure what approach are you talking about. If you're talking about my GIF approach, it was somewhat similar to yours, putting an emphasis to separate the operations (i.e. downloading and extracting) as much as possible in order to avoid overlapping - this worked for me, but didn't always work for the user in the thread I linked to earlier. If you're talking about by PNG/Bitmap meter approach, this will almost certainly work (like it did in the other thread) but the key is finding a replacement for that GIF (similar to what I found
here, for example).
In other words, only the 1st option is available at the moment, i.e. the GIF one (for that, try to adapt the code
here, it's no big deal, the URLs are different and while there it was Rain and Lightning images, here it's about
inmasirmr_bos.gif and
inmasirmr_bos_1.gif or whatever they are called). For the 2nd option to be available, you'd need to find an image holding all the frames either horizontally or vertically (so you can show the desired part aka frame using a Bitmap meter).
P.S. Even if the files keep their original names and you use the
Download=1 option, I believe you can still check if you need to extract
inmasirmr_bos.gif versus
inmasirmr_bos_1.gif using an
IfMatch on the path+filename returned by
Download=1. Or, even better, pass the path and filename directly to the RunCommand measure by using something like
Parameter=[MeasureImageBosSm] or even
Parameter=#@#gif2frames.exe [MeasureImageBosSm] and no
Program option (this of course assumes that you don't use the
DownloadFile option). Then, adapt the
ImagePath and
ImageName options accordingly as well in the Image meter used for animation.