Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/07/2014 in all areas

  1. This project has been discontinued! Here a small tool I wrote to update my Sysinternal tools collection without the need to download always the whole package or visiting the site to check for updates. I know that there are several tools available (also some tools written in AutoIt) but here another one for the collection. It was good exercise for me to code it. Some files from the live web site cannot be downloaded although they are visible! Here the download link of the source code only: AutoIt Sysinternal Tools Synchronizer v0.99.6 build 2020-09-23 beta.7z (1557 downloads previously) -=> Requires AutoIt version 3.3.13.20 or higher / tested on Win8.1 real machine and some VMs: Win7 / Vista / Win10 Compiled exe only: @MediaFire Just select the Sysinternal Tools folder or create one and press the synchronize button to download the selected items. Click on AutoIt label (near to left upper corner) to open menu. Special thanks to LarsJ, Melba23 and mesale0077 for their help. I've still some ideas to implement which are more gimmick related, so it is not finished yet... If you want to add your language please check out #Region Language. Thanks. Please report any bug or if you have any suggestions. The language of the tool tip from each of the executable in the left list view were automatically created using Google translator and weren't checked for correctness. Br, UEZ
    2 points
  2. a way with a Dummy control : Local $ID_dummy = GUICtrlCreateDummy() Local $aAccelKeys[2][2] = [["{LEFT}", $ID_dummy],["{RIGHT}", $ID_dummy]] GUISetAccelerators($aAccelKeys)
    1 point
  3. Detefon, This little calculation seems to be what you need: For $i = 1 To 25 $iRows = Floor(($i - 1) / 4) ; How many 4's are there to fit in? ConsoleWrite($i & ": [" & $iRows & ", 4]" & @CRLF) Next M23
    1 point
  4. Well, obviously, your xml does not contain exactly what you posted above...and since I can't see it, I assume it's faulty. Good luck. Keep going the regular expression route...I'm not the best at those, so would leave it to others to answer.
    1 point
  5. Well, since last crash i have tried to find a solution. And when i "detach" the FileSelectFolder from his parent gui, and after several tries it seems to work ! $sLocalPath = FileSelectFolder("Folder selection", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", 0, "" ) ;, $hGUI)
    1 point
  6. SmOke_N

    Stuck For... Next loop

    Element 0 of _FileListToArray is the number of files found. As stated by Danp2, your use of For/In is incorrect. Instead of this: For $element In $FileList Try this: For $element = 1 To Ubound($FileList) - 1
    1 point
  7. hello .. you could try adding this line to your script: #pragma compile(AutoItExecuteAllowed,true ) and check your program not having a line like : #NoAutiotExecute forgotten ..from here doesn't look like you have this kind of line ,but this should work
    1 point
  8. kylomas

    Issues with array search

    If the zero offset is a problem then just reference the offset as $search + 1...
    1 point
  9. use .load() when you are loading a file...when loading a string... $file = "<channels><channel ID='2' url='http://videe.com/index.php/channel/3a9a071' name='Guest1588664 live from Android' quality='best'/> <channel ID='3' url='http://videe.com/index.php/channel/ea579cc92d' name='boulon live' quality='best'/> <channel ID='4' url='http://videe.com/index.php/channel/290a3a52b' name='frank11262' quality='best'/> <channel ID='5' url='http://videe.com/index.php/channel/ab6c066e' name='REAL MADRID # LIVERPOOL 19:45 gmt' quality='best'/> </channels>" $oXML = ObjCreate("Microsoft.XMLDOM") $oXML.loadxml($file) $id = $oXML.selectSingleNode("//channels/*[@ID='2']").GetAttribute("url") msgbox(4096, "test", $id)
    1 point
  10. kylomas

    Issues with array search

    Sodori, CLipGet() returns a string suffixed with @CRLF. There are line feeds in the spreadsheet. The following gets you by this problem... #include <IE.au3> #include <Array.au3> #include <Excel.au3> #include <File.au3> #include <Misc.au3> Local $fPath = FileOpenDialog("Select the excel file!", @ScriptDir , "All (*.*)") If @error Then Exit Local $oAppl = _Excel_Open() If @error Then Exit MsgBox($MB_SYSTEMMODAL, "Excel UDF: _Excel_RangeRead Example", "Error creating the Excel application object." & @CRLF & "@error = " & @error & ", @extended = " & @extended) Local $oWorkbook = _Excel_BookOpen($oAppl, $fPath, False, True) If @error Then MsgBox($MB_SYSTEMMODAL, "Excel UDF: _Excel_RangeRead Example", "Error opening workbook '" & $fPath & "'" & @CRLF & "@error = " & @error & ", @extended = " & @extended) _Excel_Close($oAppl) Exit EndIf Local $aArray = _Excel_RangeRead($oWorkbook, "Blad1") ConsoleWrite(@error & @CRLF) _ArrayColInsert($aArray, 1) ClipPut("") Local $time = TimerInit() While 1 If TimerDiff($time) > 1000 Then Local $search = _ArraySearch($aArray, stringreplace(ClipGet(),@CRLF,'')) ; <--- remove @CRLF If @error = 0 Then ConsoleWrite($search & @TAB & ClipGet() & @LF) If @error <> 0 Then ConsoleWrite('"' & ClipGet() & '"' & @TAB & "Nothing found!" & @LF) $time = TimerInit() Else Sleep(50) EndIf WEnd Also, you are opening workbook object "Blad1" but that worksheet does not exist in the example spreadsheet. I renamed it to get this to work. You will get better response if you post runnable reproducers. kylomas edit: Note - there is an _Excel_RangeFind function that might be useful.
    1 point
  11. Melba23

    Issues with array search

    Sodori, What you have posted is not a lot of use - we might well get an array, but we have no indication of what you are searching for within it. What I suggest you do is to create your array and use _FileWriteToArray to get it into a file you can upload. Then type a selection of matches that do not, but should, work for you into another file That way we can load the array and check why the matches fail. M23
    1 point
  12. BTW, just so anyone looking at this in the future, you can eliminate the lines for $days, $minutes, $hours as they're not needed. I just forgot to delete them. Also, this snippet will work for dates in the past as well as the future.
    1 point
  13. jguinch

    Silently Print PDF

    If it can help, I usually use an external application for PDF print, to be sure that it works, even if there is no PDF Reader installed. I use Sumatra PDF (portable version). With some command line parameters, you can either print on the default printer or on that of your choice.
    1 point
  14. ALIBI Controller 2.5.1 Functions that can be used on the controlled computer Send messageboxes Terminate processes Shutdown Run applications Send messages with synthetic voice Emulate keyboard input Disable & Enable keyboard and mouse input Open webpages in default browser Control iTunes and other media players which accepts the media keys (If people are intrested I'll add support to other media players as well) List Windows & processes Capture screenshots Capture Webcam pictures (Shift click the screenshot button) Explore the other computers files remotely Use CMD remotely ALIBI Controller is an application made for controlling another PC in you Local Area Network (It will work worldwide if you do some port (65335) forwarding) Note that ALIBI Controller is not meant for screen sharing, use VNC or RDP For this. The applications consists of a server and a client, the client must be installed on the controlling computer, and the server must be installed on the computer thats being controlled. there are two Hotkeys available to use on the server-side: Ctrl+Shift+Win+Alt+A - Shows if server are running, and if it is connected Ctrl+Shift+Win+Alt+E - Terminates server Both server and client are packed in an installer Please make requests for more functons, I will add them as fast as I can A BIG thanks to Kip's TCP UDF Thanks to Torels for his iTunes UDF Also thanks to Monoceres for his _HighPrecisionSleep() ALIBI_Controller_Installer_2.5.1.zip Downloads as of 2014: ~2500 Comments, suggestions and bugs are always welcome Enjoy Some Screens Main GUI: CMD and Terminate Processes tabs: Media control and Remote Explorer tabs: Edit: added hotkeys Get live support by colafrysen
    1 point
  15. I prefer vbscript (autoit) like syntax over javascript?(ahk) like snytax, anyday
    1 point
×
×
  • Create New...