It is currently November 15th, 2019, 3:40 am

Working with InputText

Our most popular Tips and Tricks from the Rainmeter Team and others
User avatar
jsmorley
Developer
Posts: 19710
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Working with InputText

jsmorley » March 14th, 2017, 12:17 pm

nemo081 wrote:I understood, thanks! everything works!

Section google:
Each button allows a search on the Google site search, G image, G news, G translate, G drive, G mail.

Section Purchasing:
a single entry to do research on Amazon, Eprice, and TrovaPrezzi.

PC Search section:
you search in Windows.

You like it?
Nicely done!
saggypro001
Posts: 1
Joined: April 10th, 2017, 9:20 am

Re: Working with InputText

saggypro001 » April 10th, 2017, 9:22 am

Hi,

That looks perfect applications. Can you share the code for that?

Regards,
Sagar
aihehe
Posts: 7
Joined: May 5th, 2017, 11:46 pm

Re: Working with InputText

aihehe » May 6th, 2017, 8:02 am

Hello everyone,

just joined the community today and was wondering if someone can help me with this input text situation I have. It's a very basic skin that I wish to add input text in but my coding skills is very basic and honestly don't know where to start.
I dont know how to put up a link for a download of my skin here but i'll put the code of what I got so far here with this reply.

any and all assistance would be really appreciate. I have been trying to work this out all day but I'm struggling so hard, well at least i tried...

Kind regards in advance.

[Signature]
Meter=STRING
FontColor=#FontColor#
StringStyle=bold
FontSize=60
FontFace=Beastform
Antialias=1
Postfix="put any txt here"
User avatar
rbriddickk84
Rainmeter Sage
Posts: 208
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Working with InputText

rbriddickk84 » June 1st, 2017, 8:22 am

aihehe wrote: any and all assistance would be really appreciate. I have been trying to work this out all day but I'm struggling so hard, well at least i tried...
Hey there!

Please tell more info about what you would like to achieve, to be able to help you.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 208
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Working with InputText

rbriddickk84 » June 1st, 2017, 8:24 am

Just a note for the InputText plugin. If there was mentioned already, then i am very sorry! :)
I am working on a note skin, and i just realised that the plugin won't accept any Pasted text, only typed.
So probably because the plugin listens to keyboard key inputs only. :)
User avatar
fonpaolo
Moderator
Posts: 1343
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Working with InputText

fonpaolo » June 1st, 2017, 8:40 am

That's really strange, rbriddickk84, I often use ImputText pasting urls and other phrases or words... :???:
User avatar
balala
Rainmeter Sage
Posts: 9052
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Working with InputText

balala » June 1st, 2017, 8:49 am

fonpaolo wrote:That's really strange, rbriddickk84, I often use ImputText pasting urls and other phrases or words... :???:
Me too. It definitely works.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 208
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Working with InputText

rbriddickk84 » June 2nd, 2017, 7:34 am

Hmm... that is strange then. :???:
Correction, now it's working again, but with short texts. It seems if i want to paste very long texts, like 100 characters, then it's not accept it. But it accepts more characters when i am typing.

--Mystery solved: I saved texts with Enter in it, so the variable saved till the Enter was hit in original text. After that in the txt file it's in the new line, so it's not assigned to any variable. So pasting is working till it's not an Enter in it!
User avatar
fonpaolo
Moderator
Posts: 1343
Joined: April 11th, 2013, 8:08 pm
Location: Italy

Re: Working with InputText

fonpaolo » June 2nd, 2017, 8:35 am

As a clarification, rbriddickk84, ImputText works in this way:
- click on the box that activates ImputText (to detect mouse click);
- write or paste what you want *;
- hit Enter to save the text.

*- the text visualized depends on the ImputText box width (W), only the part contained in the box is visible, but all the text is saved. Before hitting Enter, you can scroll the whole text using the right, left arrows and also beginning and end keys.
User avatar
rbriddickk84
Rainmeter Sage
Posts: 208
Joined: February 17th, 2014, 12:39 pm
Location: Hungary

Re: Working with InputText

rbriddickk84 » June 2nd, 2017, 8:44 am

fonpaolo wrote:As a clarification, rbriddickk84, ImputText works in this way:
- click on the box that activates ImputText (to detect mouse click);
- write or paste what you want *;
- hit Enter to save the text.

*- the text visualized depends on the ImputText box width (W), only the part contained in the box is visible, but all the text is saved. Before hitting Enter, you can scroll the whole text using the right, left arrows and also beginning and end keys.
Thank you for the clarification! :)
I already knew that long time now! ;)