It is currently April 25th, 2024, 2:03 am

SendTweet - Input and send "Tweets" from your Rainmeter skin

Share and get help with Plugins and Addons
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by jsmorley »

I have created a skin which will allow you to input text, and have that text sent to Twitter as a "Tweet".

It uses my RainInput program (included) to capture text in a Rainmeter skin and send the text to the cURL executable (also included) to talk to the internet and send the Tweet. Works like a champ.

Just put everything in your skin folder and you are all set. You will either have to drag the skin to match where the input box is, or change the location of the input box in "RainInput.cfg" to line things up.

The skin for download: http://www.redirectwebhosting2.com/ghall/share/SendTweet.zip

A couple of screenshots:

Image

Image



Take a look at the included "RainInput.cfg" file to see how to use RainInput to put the input box exactly where you want it, and to set colors and fonts and such. RainInput can be used to communicate with just about any program which accepts command line input.

BE SURE TO CHANGE "yourname" and "yourpassword" in RainInput.cfg...
Last edited by jsmorley on June 21st, 2009, 8:49 pm, edited 1 time in total.
sgtevmckay

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by sgtevmckay »

By the Gods Morley-Sama :o

Please tell me you have posted this to DA, Customize, and LifeHacker :!: :?:

This is so exciting, I actually have the shakes. :lol:

Can the RainInput be modified to do GUI entries to the skin INI file?

This is something that DM and I have been playing with for a while. GUI entry instead of INI editing could be a very large step for Rainmeter.

A concept of leaving the ini for modification, but a GUI for the average user, so that hey could enter basic information to the skin (ie. Address code, Feed URL's, Time perameters, Usernames & Passwords, etc), any input that could be quickly added and adjusted as needed.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by jsmorley »

sgtevmckay wrote:By the Gods Morley-Sama :o

Please tell me you have posted this to DA, Customize, and LifeHacker :!: :?:

This is so exciting, I actually have the shakes. :lol:

Can the RainInput be modified to do GUI entries to the skin INI file?

This is something that DM and I have been playing with for a while. GUI entry instead of INI editing could be a very large step for Rainmeter.

A concept of leaving the ini for modification, but a GUI for the average user, so that hey could enter basic information to the skin (ie. Address code, Feed URL's, Time perameters, Usernames & Passwords, etc), any input that could be quickly added and adjusted as needed.
I thought I would wait for a few days to have time for folks to beat it up a bit and see if there are any issues before I send it out in the world.

As to using it for configuring skins in the skin... Not sure. Probably be complicated. RainInput is a simple enough program, it puts one text input box where ever you want it, and sends the captured text to any external program which accepts command line instructions. It would take a bit of a Rube Goldberg to collect input in the skin, send that to some (not yet defined) helper app which would automatically modify the skin's .ini file and restart the skin and exit. I doubt this is the right tool (as is) for something that robust.
sgtevmckay

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by sgtevmckay »

Maybe, but it does seem a step closer today than yesterday :ugeek:
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by Chewtoy »

Are you able to link the inputbox to say, the run-"terminal" ?
I would find that of interest... Much interest...
I don't think, therefore I'm not.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by jsmorley »

Chewtoy wrote:Are you able to link the inputbox to say, the run-"terminal" ?
I would find that of interest... Much interest...
No sure I follow, unless you mean something like launchy?
User avatar
Chewtoy
Moderator
Posts: 995
Joined: June 10th, 2009, 12:44 pm
Location: Sweden

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by Chewtoy »

jsmorley wrote: No sure I follow, unless you mean something like launchy?

Start -> Run
Win-Key + R
Run

The little thingy which allowes you to type things like "RegEdit" and "cmd" and the pop up.
I don't think, therefore I'm not.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by jsmorley »

Chewtoy wrote:
Start -> Run
Win-Key + R
Run

The little thingy which allowes you to type things like "RegEdit" and "cmd" and the pop up.
You can run anything in RainInput. However, you will either need to create a "section" in RainInput.cfg for each application you want to run (so you can put the path to the executable) or type in the entire path and executable name unless it is a bult-in Windows application like calc or notepad.

RainInput isn't really designed for what you are looking for, although it could probably be extended. It is meant as a way of capturing "parameters" to send to a program that can be run from the command line.
cralor
Posts: 7
Joined: June 21st, 2009, 12:34 am

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by cralor »

What's the correct path for this?

C:\Program Files\Rainmeter\Skins\SendTweet?

or

C:\Program Files\Rainmeter\Skins\*CONTENTS OF SendTweet FOLDER*

Thank you :)
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: SendTweet - Input and send "Tweets" from your Rainmeter skin

Post by jsmorley »

cralor wrote:What's the correct path for this?

C:\Program Files\Rainmeter\Skins\SendTweet?

or

C:\Program Files\Rainmeter\Skins\*CONTENTS OF SendTweet FOLDER*

Thank you :)
Which path do you mean?

There are two in RainInput.cfg and they should look like this:

ProgramPath="C:\Program Files\Rainmeter\Skins\SendTweet\curl.exe"
ProgramWorkingFolder="C:\Program Files\Rainmeter\Skins\SendTweet"

There is one in SentTweet.ini and it should look like this:

LeftMouseDownAction=!execute ["C:\Program Files\Rainmeter\Skins\SendTweet\RainInput.exe" SendTweet]