Jump to content

Search the Community

Showing results for tags 'Auotit'.

More search options

  • 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 3 results

  1. Hi, I would like to read the output of my cygwin terminal if it is already up and running. I searched the forum, but I think, the samples were cmd/cygwin needs to be re-run or not yet running. The purpose of the script is to check if compiling is done. Func _JAE_Rebuild_Software ($sSoftwarePath) Local $iMinty = 0 ; Open cygwin process and check one instance only if ProcessExists("mintty.exe") Then $iMinty = ProcessExists("mintty.exe") Else ; Run cygwin if not yet running $iMinty = Run("C:\cygwin\bin\mintty.exe -i /Cygwin-Terminal.ico -", "", @SW_SHOW, $STDIN_CHILD + $STDOUT_CHILD) endif ; Loop to check if cygwin terminal is ready While 1 ; if -sh is not error cygwin is still opening Local $hWnd = WinGetHandle("-sh") If @error Then $hWnd = WinGetHandle("~") Else $hWnd = 0 EndIf ; If true cygwin is ready to be written if $hWnd <> '0x00000000' Then ExitLoop EndIf WEnd ; Change Directory $sSoftwarePath = StringReplace($sSoftwarePath,"\", "/") ClipPut($sSoftwarePath) Send('cd ' & $sSoftwarePath & "{ENTER}" ) ; Get New Class after Change Directory Local $sNewClass = WinGetTitle("[ACTIVE]") ; Sleep for 3 seconds. Sleep(3000) ; Change software path to access the makeFile $sSoftwarePath = StringReplace($sSoftwarePath,"/", "\") ; Open Makefile Local $hFileOpen = FileOpen($sSoftwarePath & "\makefile", $FO_READ) If $hFileOpen = -1 Then Return False EndIf Local $sFileRead = FileReadLine($hFileOpen, 12) Local $sSetSource = _StringBetween($sFileRead, "(", ")", $STR_ENDNOTSTART) Local $message Send('source ' & $sSetSource[0] & '.sh' & "{ENTER}") Send('make clean' & "{ENTER}") WinActivate($sNewClass, "") $hWnd = WinWait($sNewClass,"",1) Local $iPID = WinGetProcess($hWnd) While $iMinty $message &= StderrRead($iPID) If @error Then MsgBox(0,"","error") ExitLoop EndIf WEnd ; I only get blank output here since the while condition produces an error MsgBox(0, "Stdout Read:", $message) EndFunc ;==>_JAE_Rebuild_Software
  2. Dear All, Good Day I have created an Autoit script which runs perfectly on local machine,but when i call the same script from a remote machine it failed (window in disable mode, every time when i click manually the screen the script will work). Even i tried mouseclick but failed, please advise. Note: My ultimate aim is to automate the task using a automation scheduler which installed on a separate system. Please check my below script Run("C:\Program Files (x86)\ITProgararm\prgm.exe") Send("{ALTDOWN}{ESC}{ALTUP}") WinWaitActive("Log into Database Server") Send("username{TAB}password{ENTER}") WinWaitActive("Error","") Send("{ENTER}") WinWaitActive("ITProgararm - Program Monitor","") Send("{CTRLDOWN}f{CTRLUP}") MouseClick("left",135,944,1) WinWaitActive("ITProgararm - Program Monitor - [Authorizers]","") MouseClick("left",40,109,2) WinWaitActive("ITProgararm - Program Monitor - [Authorizer VASA Information]","") MouseClick("left",176,95,1) MouseClick("left",87,941,1) MouseClick("left",1266,8,1) Thanks in advance VL.Ganesh
  3. Hello, is there anyway to make a gui with autoit and put it in another programming language?? I want make a program with visual basic but in the same time i want to get some functions and GUIs from autoit. All helps and ideas are appreciated.
  • Create New...