Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/07/2015 in all areas

  1. $sURL = "https://www.nsa.gov/" _RunNonElevated(@ProgramFilesDir & "\Internet Explorer\iexplore.exe " & $sURL)
    2 points
  2. Gerr

    IE emulator

    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
    1 point
  3. JLogan3o13

    WMIC uninstaller

    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
    1 point
  4. 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
    1 point
  5. An other way... #include <Date.au3> $epoch = 1444077951 $aCall = DllCall("msvcrt.dll", "str:cdecl", "ctime", "int*", $epoch) $tmp = StringSplit($aCall[0], " ") For $i = 1 to 12 If $tmp[2] = _DateToMonth($i, $DMW_SHORTNAME) Then $tmp[2] = $i Next $date = StringFormat("%4i/%02i/%02i %8s", $tmp[5], $tmp[2], $tmp[3], $tmp[4]) msgbox(0,"", $date)
    1 point
×
×
  • Create New...