Sign in to follow this  
Followers 0
Tulsi

Calling Java

5 posts in this topic

Hi,

I need to call a java class from my AutoIT script.Can someone tell me how to implement this?

Thanks in advance.

Tulsi.

Share this post


Link to post
Share on other sites



Hi,

why? Maybe you can do it completly in Autoit.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

I'm a newbie and I'm working on how to call a JAVA class from AutoIT , whih includes passing parameters from AutoIT to Java. I'm unsure as to how I need to implement this. Any help/suggestion would be great!

Share this post


Link to post
Share on other sites

I'm a newbie and I'm working on how to call a JAVA class from AutoIT , whih includes passing parameters from AutoIT to Java. I'm unsure as to how I need to implement this. Any help/suggestion would be great!

quite simple :)

Run("cmd.exe");open cmd
WinWaitActive("C:\WINDOWS\system32\cmd.exe");get a focus
Send("cd c:\javaProject {ENTER}");change dir
Send("javac something.java {ENTER}");compile java file
Send("java something {ENTER}");run java class
Send("exit {ENTER}");exit cmd

regards

Share this post


Link to post
Share on other sites

Perrfecct!!! Thanks a ton!! New Year Wishes!!! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0