It is currently March 29th, 2024, 7:14 am

Text box possible?

Get help with creating, editing & fixing problems with skins
csm725
Posts: 46
Joined: August 16th, 2010, 4:29 pm

Text box possible?

Post by csm725 »

Is something like a text box possible in Rainmeter?
A keyboard input text box would be optimal, but an on-screen Rainmeter-made keyboard would be fine too.
Is this at all possible?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Text box possible?

Post by jsmorley »

csm725 wrote:Is something like a text box possible in Rainmeter?
A keyboard input text box would be optimal, but an on-screen Rainmeter-made keyboard would be fine too.
Is this at all possible?
Not with just Rainmeter. It does not have any support for inputting text. You might search the forums for RainInput, which is an addon that might help.
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Text box possible?

Post by JpsCrazy »

A text box you can just type into - no.

A text box you could write in with a Rainmeter-made keyboard - yes. But the only way I can think of is going to be a horrid mess of code.
You'd have to have like 300 variables (dynamic) that are just Var1, Var2, Var3, etc... and when you click on the on screen keyboard it sets the first variable to whatever key that was, then the next key sets the next variable, and etc.
Then have a string meter that's just every variable touching eachother without spaces (Text=#Var1##Var2##Var3#etc...)
We dealt with this problem in a calc skin we're creating. The forum link - http://rainmeter.net/forum/viewtopic.php?f=15&t=2831&start=20


You're better off parsing a local file and just having a link to open the .txt file on demand.
http://rainmeter.net/cms/Tips-WebParserLocalFiles