JavaManagement.au3 UDF 2016/03/04

   (0 reviews)

About This File

This UDF is desinged to manage JAVA Settings and Environment. This UDF is NOT designed to interact with JAVA Applets

 

Support topic is here:

 

 

note: Oh, only now (27 minutes) I noticed that there is no AU3 file - now it is sorry.

 





User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

  • Similar Content

    • initspawn
      By initspawn
      Hello,
      I've been trying to automate a process to check in the GUI of a Java program for a certain condition. When I use the Autoit Window information tool I don't get anything under the control tab, which seems to be normal for a Java program. I've been able to automate what I need using ControlSend and checking for the condition using ImageSearch but the Java program will not accept ControlSend unless it is the active window. I'd like to run the script while the window is inactive so I can still use the PC but haven't been able to come up with a solution other than a virtual machine. I even tried sysinternals desktops to create a second virtual desktop but that just causes WinActivate to return a failure after you switch to another virtual desktop. Does anyone have any ideas for getting a window to think its active when its not or an alternative to ControlSend that may work?
      Thanks. 
    • Muhammad_Awais_Sharif
      By Muhammad_Awais_Sharif
      Hi
      I have Java 8 installer 
      I want to automate it's installation process. 
      I have found silent installation method but I want to install it using controls clicking like as normal user do 
      But I don't find any control using  AutoIt v3 Window Info 
      How I can find it's control buttons ?
      Thank you 
    • DCAlliances
      By DCAlliances
      Hi there
      We have a legacy app that utilising this AutoIt/Selenium for automating the web app that have. It's been running well since 2010 late 2014. We stoped a bit on this. Then start again this year.
      We have an issue on one of the step which is relating on PDF Save Dialog Box Stop working - basically it won't click to Save button for some reason. We pin point this and we believe it stop at lib.AU3_Send("!S",0); ... line 7 below.
      Any ideas?
       
      public void SaveDialogueBox(String filePath, String firstName, String lastName) { lib.AU3_WinWaitActive("File Download", "", 10); lib.AU3_WinActivate("File Download", ""); // Debug: VV - swap // lib.AU3_ControlClick("File Download", "", "[CLASS:Button; INSTANCE:2]","",1, 1, 1); lib.AU3_Send("!S", 0); lib.AU3_WinWaitActive("Save As", "", 10); lib.AU3_Sleep(500); lib.AU3_Send(filePath + firstName + " " + lastName, 1); lib.AU3_Sleep(2000); if (reader.getWindowVersion().equals("Windows Vista or Windows 7")) { //lib.AU3_ControlClick("Save As", "", "[CLASS:Button; INSTANCE:1]","",1, 1, 1); lib.AU3_Send("!S", 0); } else { lib.AU3_ControlClick("Save As", "", "[CLASS:Button; INSTANCE:2]","",1, 1, 1); } lib.AU3_WinWaitActive("Download complete", "", 10); lib.AU3_Sleep(2000); lib.AU3_ControlClick("Download complete", "", "[CLASS:Button; INSTANCE:4]","",1, 1, 1); lib.AU3_WinActivate("[REGEXPTITLE:.*EUC .*]", ""); }  
       
    • Duck
      By Duck
      I am having some issue coming up with the logic to detect the latest version of Java installed on a PC via the JRE in C:\Program Files\Java\*
      I need to detect the latest version of Java (JRE) to dynamically create a batch file that points to the correct Java version. 
      I have already put all the subfolders name's in an array but now i need to find the latest version for my $version variable
       
       
       
    • mLipok
      By mLipok
      Some time ago I had the need to check and change some JAVA configuration  settings.
      Here is the result of my work.

      This UDF is desinged to manage JAVA Settings and Environment. This UDF is NOT designed to interact with JAVA Applets.
      EXAMPLE:
      #AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7 #Tidy_Parameters=/sort_funcs /reel #AutoIt3Wrapper_Run_Tidy=Y #include "JavaManagement.au3" _Example() Func _Example() Local $aRecommendedVersion = _JavaMan_Version_Latest() If Not @error Then _ArrayDisplay($aRecommendedVersion, '$aRecommendedVersion') EndIf Local $aInstaledVersion = _JavaMan_Version_Instaled() If Not @error Then _ArrayDisplay($aInstaledVersion, '$aInstaledVersion') EndIf MsgBox($MB_ICONINFORMATION, '_JavaMan_Version_IsLatest()', _JavaMan_Version_IsLatest()) EndFunc ;==>_Example Downolad section:

      Regards,
      mLipok