It is currently April 27th, 2024, 4:29 pm

Displaying file content?

Get help with creating, editing & fixing problems with skins
Anjelen
Posts: 1
Joined: December 15th, 2011, 3:46 pm

Displaying file content?

Post by Anjelen »

So i've made a little PHP script that returns a random quote from the Tao Te Ching... Which i now want to display on my desktop, updating every 60 minutes.

( http://www.anjelen.me/tao/random.php )

Thing is... i've NO idea what i'm doing when it comes to making rainmeter skins.

... Help?
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Displaying file content?

Post by jsmorley »

Using something like this will get you the quote every 60 minutes and put it on the screen. You may want to play with cosmetics or layout, and I recommend starting here: http://rainmeter.net/cms/Rainmeter101 and keeping this handy as well as you learn: http://rainmeter.net/cms/Manual

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[MeasureWebParser]
Measure=Plugin
Plugin=WebParser.dll
URL=http://www.anjelen.me/tao/random.php
RegExp="(?siU)<pre>(.*)</pre>"
StringIndex=1
UpdateRate=3600

[MeterOne]
Meter=String
MeasureName=MeasureWebParser
FontSize=9
FontColor=255,255,255,255
StringStyle=Bold
AntiAlias=1
12-15-2011 11-00-00 AM.jpg
You do not have the required permissions to view the files attached to this post.