Tulsi Posted December 27, 2007 Share Posted December 27, 2007 Hi, I need to call a java class from my AutoIT script.Can someone tell me how to implement this? Thanks in advance. Tulsi. Link to comment Share on other sites More sharing options...
Xenobiologist Posted December 27, 2007 Share Posted December 27, 2007 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 Link to comment Share on other sites More sharing options...
Tulsi Posted December 28, 2007 Author Share Posted December 28, 2007 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! Link to comment Share on other sites More sharing options...
Alexman Posted December 30, 2007 Share Posted December 30, 2007 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 Link to comment Share on other sites More sharing options...
Tulsi Posted January 2, 2008 Author Share Posted January 2, 2008 Perrfecct!!! Thanks a ton!! New Year Wishes!!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now