Hi Am new to autoit, first of all I want to congratulate all of. Autoit is fantastico! My doubt is the following, you can change the emulation IE version before it is opened. My IE is in version 11 but when you open is version 8 in the emulator. Thank you
This is what I use, you could easily wrap a GUI around it: #include <MsgBoxConstants.au3>
$sName = InputBox("Uninstall Wizard", "Please type the first few letters of the application name to search")
$oWMI = ObjGet("winmgmts:{impersonationLevel=impersonate}!\\" & @ComputerName & "\root\cimv2")
$aProducts = $oWMI.ExecQuery("Select * from Win32_Product Where Name LIKE '%" & $sName & "%'")
For $app in $aProducts
$popup = MsgBox($MB_YESNOCANCEL, "Uninstall Wizard", "Would you like to uninstall " & $app.Name & "?")
If $popup = $IDYES Then
$app.Uninstall()
ElseIf $popup = $IDCANCEL Then
ExitLoop
EndIf
Next
yessiree, That simplifies things a lot: HotKeySet("{ESC}", "_Exit")
; Create array holding binds, delay times and associated timestamps
Global $aArray[3][3] = [[5, 10, TimerInit()], [6, 5, TimerInit()], [7, 2, TimerInit()]]
ConsoleWrite("Started at " & @SEC & @CRLF)
While 1
; Check the timer
For $i = 0 To UBound($aArray) - 1
If TimerDiff($aArray[$i][2]) > ($aArray[$i][1] * 1000) Then
; Reset timestamp
$aArray[$i][2] = TimerInit()
; Do what you need
ConsoleWrite("Bind " & $aArray[$i][0] & " fired at " & @SEC & @CRLF)
EndIf
Next
WEnd
Func _Exit()
Exit
EndFuncAnd I get: this returned Started at 44 5 6 7
Bind 7 fired at 46 46
Bind 7 fired at 48 48
Bind 6 fired at 49 49
Bind 7 fired at 50 50
Bind 7 fired at 52 52
Bind 5 fired at 54 54
Bind 6 fired at 54 54
Bind 7 fired at 54 54
Bind 7 fired at 56 56
Bind 7 fired at 58 58
Bind 6 fired at 59 59
Bind 7 fired at 00 00
Bind 7 fired at 02 02
Bind 5 fired at 04 04
Bind 6 fired at 04 04
Bind 7 fired at 04 04
Bind 7 fired at 06 06
Required gap 10 05 02which looks just what you wanted. M23