It is currently April 19th, 2024, 1:21 am

Parsing works but the string is cut out.

Get help with creating, editing & fixing problems with skins
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Parsing works but the string is cut out.

Post by kyriakos876 »

Here is my problem:

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1

[Metadata]
Name=SimpleStockExchange
Author=BananaMAster
Information="."
Version=1.0
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0

[Variables]
RSS=http://www.nasdaq.com/symbol/ssw
Reg=(?siU).*<div id="qwidget_lastsale" class="qwidget-dollar">(.*)</div>

[Parser]
Measure=Plugin
Plugin=WebParser
URL=#RSS#
RegExp=#Reg#
FinishAction=[!Update]

[MeasureLastSale]
Measure=Plugin
Plugin=WebParser
URL=[Parser]
StringIndex=1
DynamicVariables=1

[MeterLasteSaleValue]
Meter=String
MeasureName=MeasureLastSale
LeftMouseUpAction=[!Update]
FontSize=100
Text="%1        ""
AntiAlias=1
DynamicVariables=1
If you run this you will see a number and the symbol of the dollar before it, but if you erase the spaces in the [MeterLasteSaleValue] at Text="%1 "" along with the extra (") the value won't show... it's being cut out. How can I fix this?
-Thanks in advance.
Last edited by kyriakos876 on July 15th, 2017, 3:19 pm, edited 1 time in total.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Parsing works but the string is cut out.

Post by jsmorley »

[Rainmeter]
Update=1000
AccurateText=1
DyanmicWindowSize=1
User avatar
kyriakos876
Posts: 919
Joined: January 30th, 2017, 2:01 am
Location: Greece

Re: Parsing works but the string is cut out.

Post by kyriakos876 »

jsmorley wrote:[Rainmeter]
Update=1000
AccurateText=1
DyanmicWindowSize=1
Ah yea... It's always the Dynamic thing....