It is currently September 29th, 2024, 3:35 pm

Can Rainmeter use java?

General topics related to Rainmeter.
Aucun
Posts: 2
Joined: January 27th, 2014, 6:49 am

Can Rainmeter use java?

Post by Aucun »

Hello, I'm new to rainmeter and I have a question regarding outside programs. Can rainmeter use the output of other programs to populate information to the screen? For example, if I have a Java program that collects information, can rainmeter then use that information?
User avatar
jsmorley
Developer
Posts: 22790
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Can Rainmeter use java?

Post by jsmorley »

If the java application can be made to output to a text file of some kind, then you can use WebParser to parse the file and use the information.

http://docs.rainmeter.net/manual-beta/plugins/webparser
http://docs.rainmeter.net/tips/webparser-tutorial
http://docs.rainmeter.net/tips/webparser-local-files
User avatar
Mordasius
Posts: 1178
Joined: January 22nd, 2011, 4:23 pm
Location: GMT +8

Re: Can Rainmeter use java?

Post by Mordasius »

No you can't use a java script to directly drive a rainmeter skin. You can however use Lua Scripting and it is possible to convert many types of java script to lua.
Aucun
Posts: 2
Joined: January 27th, 2014, 6:49 am

Re: Can Rainmeter use java?

Post by Aucun »

jsmorley wrote:If the java application can be made to output to a text file of some kind, then you can use WebParser to parse the file and use the information.

http://docs.rainmeter.net/manual-beta/plugins/webparser
http://docs.rainmeter.net/tips/webparser-tutorial
http://docs.rainmeter.net/tips/webparser-local-files
That would work nicely, thanks.
Aucun wrote:Hello, I'm new to rainmeter and I have a question regarding outside programs. Can rainmeter use the output of other programs to populate information to the screen? For example, if I have a Java program that collects information, can rainmeter then use that information?
Never used Lua before, but it shouldn't be to hard to learn. I didn't know rainmeter could use Lua scripts, thanks.
User avatar
Aragas
Posts: 64
Joined: December 24th, 2012, 6:56 pm

Re: Can Rainmeter use java?

Post by Aragas »

You can convert you java code to C# :sly: