Jump to content

Search the Community

Showing results for tags 'java'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 25 results

  1. Launch the web application which has security certificate associated. On launching we get "Select a Certificate from the list of certificates" . how to handle this certificates using AutoIT and certificates are in a drop down. i have only chrome browser to launch the application. do i need to install autoIt or just the add jar files and dll to it. it is not a pop up. Tried adding the certificate to trusted source dint work.. Please find the screenshot attached for the screen obtained.
  2. I have a autoit exe file which is used in upload/browse file functionality. This has been integrated with selenium framework and I am invoking the autoit exe using Java process and runtime. Now the issue is when I run the scripts and invoke the autoit exe in local it works perfectly. But when I use selenium grid or jenkins to run the scripts in another windows server it is not working. Can anyone please suggest any solution for this?
  3. have a requirement of running an exe file(autoit exe) for uploading a file. This is working fine in local machine but not when run in jenkins(windows server) or in another remote using Selenium server(hub). Process p = Runtime.getRuntime().exec("full path of Autoit.exe"); Could someone help on how to deal with this using Java?
  4. I have to press tab to reach a selected button then double click on that Here's my script but its not working: WinActivate("Policy Decisions -- Webpage Dialog","") Sleep(3000) Send("{TAB}") Send("{TAB}") Send("{TAB}") // at this point its working according to my need but double click is not working Mouseclick("Left",510, 320, 2, 0)
  5. Hi There ! I have a script here : ;Launch CMD Run("C:\Windows\System32\cmd.exe") sleep(2000) $cmdHandle = WinActivate("C:\Windows\System32\cmd.exe") Sleep(2000) ;Sending document ControlSend($cmdHandle, "", "", "ftp" & @CRLF) ControlSend($cmdHandle, "", "", "open" & @CRLF) Sleep(2000) ControlSend($cmdHandle, "", "", "first command" & @CRLF) Sleep(2000) ControlSend($cmdHandle, "", "", "second-coomand" & @CRLF) first-command and second-command I can't provide cause it's internal. I have complied this .au3 file into an exe an
  6. Hi team, I have a "well-built" autoIt exe app. Its running smooth until I open another application that when I run through the window info tool, returns as "SunAwtFrame". After running said application, my "well-built" autoIt exe app ceases to run. What seems to be the problem here and is there a possible turn around for it? Any suggestion or recommendation will be greatly appreciated. Thanks in advance. ~XN~
  7. I have a script that has to work on multiple resolutions but each resolution has slightly different co-ordinates due to automatic UI scaling. I have had to make separate files for each but would like to implement them all in one script. I have a similar program written for Java which uses else if statements to use different co-ordinates for each resolution after it has been detected. I'm not good with Java so I would like to implement this on AutoIt before later making a Java version. This is a snippet of the autoit code I have. ToolTip("1 - Search") MouseClick("Left", @Desk
  8. I have a super simple login screen I'm trying to access that is written in java. My java testing tools can't access the login screen because it's a modal window. So I figured I'd see if AutoIt can manipulate 'something' on it. I can enter text within the text boxes for user name and password. But I can't see to click on the login button. I've tried just tabbing to it and hitting the enter key (as I really wouldn't have to be completely interacting with the frame). But that didn't work. I was hoping to throw it some coordinates and just double click in that relative area, but when I get
  9. 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
  10. 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 e
  11. 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&
  12. 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
  13. Version 2016/03/04


    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.
  14. 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, '$aReco
  15. I'm using ie.au3 UDF to manage some website Using it I'm getting in SciTE such console output: QUESTION: How to capture this string, so as not to display in the console but I could it, for example. saved to a file, or display in a MsgBox ? EDIT: The case/question is not strictly related to IE. Rather, the ActiveX objects and the messages sent through these objects to the console.
  16. Hi, im new to autoit and i have a little problem i have to do a app to start some web pages and some windows base programs oane of them is Skype, the problem is that Skype starts but only in system tray and i do not know how to appear on desktop the code i use is below: public static String jvmBitVersion(){ return System.getProperty("sun.arch.data.model"); } private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) { String jacobDllVersionToUse; if (jvmBitVersion()
  17. #include <WinAPIShPath.au3> #include <Array.au3> #include <File.au3> Global $file = "filenamectt.txt" FileOpen($file, 0) For $i = 1 to _FileCountLines($file) Global $line = FileReadLine($file, $i) ;msgbox(0,'', $line) Next FileClose($file) Global $aDays = StringSplit($line, "::") Global $fileName = $aDays[1] ;Local $aCmdLine = _WinAPI_CommandLineToArgv($CmdLineRaw) WinActivate($fileName) ;MsgBox (0,"Details",$fileName) Send("^c")I used above code to activate my document. It working fine when I run from Au
  18. Hi! Im trying to use Java.au3 UDF into a develop but when i hit F5 i receive an error saying "$javaferret_obj_role: undeclared global Variable" This part of develop its not mine so i dont understund why the error. I have instaled Java as i saw in other topic and dosnt work. Any can help me? Im working with Chrome. Regards
  19. I´ve got an already usably working script for entering a reservation in to a Java App, but to give it more than very basic functionality and stability I´m stuck. Is there any way beyond MouseGetCursor and WinActivate, and other than lot´s of Sleep, that I can make this more stable? sometimes there is a popup in the app, which of course the script doesn´t see, and sometimes the script "trips" and enters the wrong data in the wrong field, and that of course causes lots of errors and popups... yes, there´s a "Java UDF" Topic in the example scripts section, but that didn´t work for me, and
  20. I'm trying to write to the output stream and read the input stream of a simple Autoit script from java. If I do not use the newLine() character, I get the expected output: a line is sent to auto it, a line is sent to java, and that is repeated. If I add the newLine() character, it seems every cycle an extra line is sent to autoit. Why would this be? Seems like ConsoleRead() doesn't acknowledge cr or lf as EOF.
  21. Here is another UDF . With this UDF now you can check if a specified browser/software is installed an you are also able to get what version is in used. Supported Software: Internet Explorer, Mozilla Firefox, Mozilla Thunderbird, Google Chrome, Opera, Safari, Java and Silverlight. Changelog v.1.2.0 (08/05/2013) Fixed Huge code improvements ;Thnks to guinness for the suggestion Fixed Wrong return value if path ends with a backslash ;===================================================== v.1.1.0 (06/04/2013) Added _NavInfo_GetFirefoxLocation Added _NavInfo_GetThunderbirdLocation Added _NavInfo
  22. I'm new to AutoIt and am attempting to automate a desktop Java application on Windows XP. I've set up Java Ferret to enable viewing the objects in the Java app window. I need to have the AutoIt script click on a search button, but have been unable to figure out how to do it. I have set up the AutoIt Java UDF and have tried using some of these functions to click the button, but to no avail. The following is the Java Ferret output when the mouse is hovering over the button to be clicked . What is the syntax of the AutoIt (or Java UDF) command that should be used to click the search b
  23. I wanted to see who else is using OATS 12?
  24. ok so i have a website that i trying to collect information from in the most accurate way possible. currently, i have it just doing A LOT of PixelSearch's and depending on which radio button is selected, the page changes slightly. i have already looked at the source of the webpage and it looks like its opening up java files and just allowing me to view them in a nice UI via web browser. my question is, is there a way to read these java files if i were somehow able to access them without the UI? i can supply the source for the website if anyone is interested in helpin with finding out how i
  25. how can i active ActiveX in IE Control? i want use activex in java script & then load html file in IE Control in my program but i dont know how can i do it. (run autoit code in javascript and i just run Au3Code in IE Control in my program not in IE Windows(Not Separate Windows) ) My Au3Code: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <IE.au3> $oIE = _IECreateEmbedded() $form_main = GUICreate("AI in JS", 483, 385, 302, 218) $ctrl_ie = GUICtrlCreateObj($oIE, 0, 0, 482, 384) GUISetState(@SW_SHOW) _IENavigate($oIE,@ScriptDir&"\Test.
  • Create New...