Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/17/2018 in all areas

  1. BBs19

    MetroGUI UDF

    Version 5.1

    8,855 downloads

    Features: Create modern looking borderless and resizable GUIs with control buttons (Close,Maximize/Restore,Minimize, Fullscreen, Menu) True borderless, resizeable GUI with full support for aerosnap etc. Many color schemes/themes included. See MetroThemes.au3 for more details. 2 type of Windows 8/10 style buttons. Modern checkboxes, radios, toggles and progressbar. All buttons, checkboxes etc. have hover effects! Windows 10 style modern MsgBox. Windows 10/Android style menu that slides in from left.
    1 point
  2. I found a solution #include <GUIToolbar.au3> GoogleSyncWait() Func GoogleSyncWait($timeout = 60) ;in seconds Opt("MustDeclareVars", 1) Local $hTimer = TimerInit() ;for timeout Local $hSysTray = ControlGetHandle("[CLASS:Shell_TrayWnd]", "", "[CLASS:ToolbarWindow32;TEXT:Obszar powiadomień użytkownika]") ;instead of instance I used "text" value to find proper system tray element if @error then Exit MsgBox($MB_ICONERROR, @ScriptName, "ControlGetHandle() failed. Exit") Local $bFound = false, $iSysTray_ButCount, $CMDiD, $sText, $counter = 0, $fDiff while not $bFound $iSysTray_ButCount = _GUICtrlToolbar_ButtonCount($hSysTray) If $iSysTray_ButCount = 0 Then Exit MsgBox($MB_ICONERROR, @ScriptName, "_GUICtrlToolbar_ButtonCount() No items found in system tray") for $iSystray_ButtonNumber=0 to $iSystray_ButCount - 1 $CMDiD = _GUICtrlToolbar_IndexToCommand($hSysTray, $iSystray_ButtonNumber) $sText = _GUICtrlToolbar_GetButtonText($hSysTray, $CMDiD) if StringInStr($sText, "Kopia zapasowa i synchronizacja w usługach Google - Zaktualizowano") then $bFound = true ExitLoop EndIf Next Sleep(1000) $fDiff = Int(TimerDiff($hTimer)/1000) if Int($fDiff) > $timeout then Return MsgBox($MB_ICONERROR, @ScriptName, "GoogleSyncWait() timeout. Return", 10) WEnd EndFunc
    1 point
  3. klpc

    AutoIt versionning policy

    Hello Could you please explain me how you manage AutoIt versions because I'm a little lost ? Downloads > AutoIt Team AutoIt (Latest Stable Version) v3.3.14.2 (Updated: 2015-09-18) Downloads > AutoIt Team > Beta AutoIt v3.3.15.0 Beta (Submitted: 2015-07-14) Forum Announcements and Site News AutoIt v3.3.14.3 Released (2018-02-02) v3.3.14.3 has been released in 2018 but it's v3.3.14.2 (2015) that is first available for download v3.15.0 Beta has not changed since 2015 No v3.15.0 Final or v3.15.1 with bug fixes of v3.14.3 v3.14 continues to evolve but v3.15 does not I chose v3.3.15.0 Beta because I wanted to use Maps, but this version seems dead. I wonder if I was not wrong to choose this version. I'm dealing with a weird problem with Maps but I'm afraid it will never be corrected and I wonder if it's worth it that I submit it. Best regards
    1 point
  4. Au3Builder, I do not understand the problem - have you disabled the Pic control as explained in the Help file? You should then still have the picture visible, but an actionable button. M23
    1 point
  5. You could write to a single file with @ComputerName as the Key Name using a timer (if the file fails to write because its been written to by another computer) for example: While 1 If IniWrite($Server & "\ComPorts.ini" , @ComputerName, "OriginalComPort" , $OriginalIniRead) = 0 Then Sleep(Random(5000, 15000)) ;~ Wait between 5 and 10 seconds before trying again. Else ExitLoop EndIf Wend Or you could write to csv file using similar method for example: Local $sFileName = "\\Server\ComPort.csv" While 1 If FileWrite($sFileName, @ComputerName & "," & "Original Comport" & "," & IniRead ($OriginalIni, "Scanner","ComPort","Null") & @CRLF) = 0 Then Sleep(Random(5000, 15000)) ;~ Sleep 5 - 15 Seconds and try again Else ExitLoop EndIf Wend Alternatively you could write to individual .ini files like you have posted and then use a separate script to write that data into csv format for example: #include <File.au3> Local $hFileList = FileOpen(@ScriptDir & "\" & @Year & "-" & @Mon & "=" & @MDay & "_Comport.csv", 2) Local $aFileList = "\\Server", "*.ini", 1, 0, 1, 0) If @Error Then Exit MsgBox(32, "Error", "Unable to find any ini files.") Local $sOriginalComPort = "" For $i = 1 To $aFileList[0] FileWrite($hFileList, StringReplace($aFileList[0], ".ini", "") & "," & IniRead ("\\Server\" & $aFileList[$i], "OriginalComPort" , "Value", "Null") & @CRLF) Next Please note none of the code above has been tested, but hopefully should give you some ideas.
    1 point
  6. i super like weird problems and maps, together that sounds hella fun.
    1 point
  7. AdamUL

    v3.3.14.3

    Use the AutoIt3Wrapper directive #AutoIt3Wrapper_Autoit3Dir. Get the zip file version of the AutoIt version that you want to use. It can be multiple versions in different directories. You can then use any version of AutoIt that you want. I have versions going back to 3.3.8.1 in the AutoIt directory, and use this directive to use the version that I need for the script that I am working on. This works really well when I need to do simple bug fixes on an old script using the old version it was wrote for. Example below. ;~ #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.8.1 ;Optionally override the AutoIt3 install directory to use. ;~ #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.12.0 ;Optionally override the AutoIt3 install directory to use. ;~ #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.14.2 ;Optionally override the AutoIt3 install directory to use. #AutoIt3Wrapper_Autoit3Dir=C:\Program Files (x86)\AutoIt3\3.3.14.3 ;Optionally override the AutoIt3 install directory to use. This also allows you to test new versions of AutoIt without installing them, including Beta versions. Adam
    1 point
  8. BrewManNH

    v3.3.14.3

    It does what it's supposed to do. The text won't change as you click things, because it's not supposed to. There's an #Autoit3wrapper directive that you can tell it to run the beta installation #AutoIt3Wrapper_Version=Beta And you could install a second version in the beta folder instead of the beta.
    1 point
  9. If you use IE - it is very easy - check out the IE UDF ! FireFox also has an UDF and it is easy to get the url.
    1 point
  10. Jon

    AutoIt v3.3.14.3 Released

    AutoIt v3.3.14.3 has been released. Thanks to everyone involved, both visible and behind the scenes. Download it here. Complete list of changes: History
    1 point
×
×
  • Create New...