Jump to content

AlbertChimbindi

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by AlbertChimbindi

  1. The above image is on putting the finder tool on the button, I am trying to click next and begin the installation steps , my code so far is included below i have looked at forums on the site already. #include <MsgBoxConstants.au3> Example() Func Example() ; Run Notepad Local $iReturn = ShellExecuteWait("C:\Users\1ds9188\Desktop\Pulseway Clients\JHCH_EndUserPC_agent_x64.msi") ; Wait 10 seconds for the Notepad window to appear. WinActivate("[CLASS:MsiDialogCloseClass]") If WinActive("[CLASS:MsiDialogCloseClass]") Then ; Check if Notepad is currently active. ; MsgBox($MB_SYSTEMMODAL, "", "WinActive" & @CRLF & "Pulseway is active.") ControlClick("[CLASS:MsiDialogCloseClass]", "", "&Next >") Else MsgBox($MB_SYSTEMMODAL, "", "Pulseway Popup" & @CRLF & "Pulseway is not active.") EndIf EndFunc ;==>Example
  2. So I made the change and still no response I tried it with everything else but the script open and no response.
  3. I am trying to switch to the System DSN Tab with the keyboard I can do it with cntrl+tab and have tried the send function with similar controls. #include <MsgBoxConstants.au3> #include <GuiTab.au3> $folderpath = "C:\Windows\SysWOW64\odbcad32.exe " ShellExecute($folderpath) WinWaitActive("ODBC Data Source Administrator (32-bit)") Sleep(5000) ;WinActivate("ODBC Data Source Administrator (32-bit)","") ;Both Dont work ControlCommand("ODBC Data Source Administrator (32-bit)", "", "SysTabControl32", "TabRight", "") Send("+{Tab}") All help would be welcome I am pretty new to AutoIT.
×
×
  • Create New...