Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 326

WebParser Reading from a File

$
0
0
Hello :welcome: , i try to read with WebParser from a File. All Measures workes great till the Image Meter. The Image Meter becomes the Information from the Webparser. I allways become the same error from the console :-(

"Unable to open: C:\Users\Windows-11\Documents\Rainmeter\Skins\TestBase\Radio\@Icon\[MEA2_ICO].png"

So i added manuall the ImageName or Image File Path, it works and displayed the image. I have tryed many different metodes but my knowlege is over. So i set back the source code to the Base. Mabye some one can find the Solution. :oops: :bow:

Source-Code from Web-Radio.ini

Code:

[Rainmeter]Update=100DynamicWindowSize=1[WEBP_1]Measure=WebParserUrl=file://#CURRENTPATH#Radio-Stations-Settings.txtRegExp=(?siU)^(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n(.*)\n(.*)$;;----------------------------------------------; #MEASURES#MEASURES#MEASURES;----------------------------------------------[RADIO1_NAME]Measure=WebParserUrl=[WEBP_1]StringIndex=3DynamicVariables=1[RADIO1_ICO]Measure=PluginPlugin=WebParserUrl=[WEBP_1]StringIndex=6DynamicVariables=1[RADIO1_URL]Measure=PluginPlugin=WebParserUrl=[WEBP_1]StringIndex=9DynamicVariables=1;----------------------------------------------; #STRINGS#STRINGS#STRINGS;----------------------------------------------[STGR_1]Meter=STRINGMeasureName=RADIO1_NAMEFontFace=ArialFontSize=20FontColor=255,255,255,255X=7Y=10Text="Name:%1"AntiAlias=1DynamicVariables=1;----------------------------------------[STGR_2]Meter=STRINGMeasureName=RADIO1_ICOFontFace=ArialFontSize=20FontColor=255,255,255,255X=7Y=10RText="Picture Name:%1"AntiAlias=1DynamicVariables=1;----------------------------------------[STGR_3]Meter=STRINGMeasureName=RADIO1_URLFontFace=ArialFontSize=20FontColor=255,255,255,255X=7Y=10RText="Website:%1"AntiAlias=1DynamicVariables=1;----------------------------------------[ICO_1]Meter=ImageImageName="#CURRENTPATH#@Icon\[RADIO1_ICO]"X=0Y=0H=75W=75DynamicVariables=1
Source-Code from Radio-Stations-Settings.txt

Code:

,------------------------------- Radio-Station 1 -Radio One,------------------------------- Radio-Station-Icon 1 -radio1.png;==============================- Web-Link -www.TestURL.com;==============================

Image

Thanks :thumbup: :great:

Statistics: Posted by Rooky_89 — Yesterday, 1:12 pm — Replies 7 — Views 183



Viewing all articles
Browse latest Browse all 326

Trending Articles