WTS Posted June 27, 2006 Posted June 27, 2006 (edited) hello once again.. The basic idea of what i'm trying to do is, instead of launching a java application with batch, I want to do it with autoit that way i have more control.. but unfortunetly it doesn't do anthing. the batch displays a splash screen which launches the program,but the cmd window i want to be hidden [batch] java gui.Splash [Autoit] ;#notrayicon run(@comspec & 'java gui.splash ', '' ,@sw_hide) Edited June 27, 2006 by WTS
WTS Posted June 27, 2006 Author Posted June 27, 2006 (edited) Run(@ComSpec & " /C " & 'javaw.exe gui.splash', @ScriptDir, @SW_HIDE) Run(@ComSpec & " /C " & 'javaw '& @ScriptDir & '\gui\Splash.class','' , @SW_HIDE) Run('cmd java gui.Splash', '', @SW_SHOW) #include <process.au3> _RunDOS('javaw.exe gui.splash') how to avoid this error? Could not find main class. Program will now exit Edited June 27, 2006 by WTS
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