Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/10/2016 in all areas

  1. For some time I was wondering how to execute AutoIt code from a web browser. I made some solutions using IE.au3, but that's only one browser. Is there a way to execute AutoIt from ANY browser? There is one - custom protocols. So, I looked how to add one, and here it is - running AutoIt from any web browser. AutoIt Protocol Example (run install.au3 before!): 2+2 in a MsgBox Edit: you can't use this protocol in posts here, how sad Have fun!
    1 point
  2. czardas, I had thought of that - the mirroring only takes place for columns where there are unequal numbers of 0s and 1s. If there is a column with equal numbers of 0s and 1s then it gets rotated - that is determined by this line: ; Determine column after which we can mirror $iMirror = Ceiling(($iBit + 1) / 2) M23 Edit: I see you have already noticed this.
    1 point
  3. I suggest to use the Excel UDF that comes with AutoIt plus the OutlookEX UDF which you can download from my signature. First use _Excel_RangeRead to read the whole worksheet into an array, then loop through the array and call _OL_Wrapper_SendMail to create the mail and send it. If needed I can provide an example script.
    1 point
  4. I assume the problem is caused by the Sleep statements followed by Send. When the application isn't ready after the Sleep the Send statement will never reach the application. I suggest to use UDFs to automate Chrome and SQLite. You will find them in the wiki: https://www.autoitscript.com/wiki/User_Defined_Functions
    1 point
  5. The only thing I can see from the code here is that ShellExecute might not be starting the file(s) given to it from the array. Test if it works on one file... Find out what program starts/runs the DB ( I assume ) file you are trying to start and write the code accordingly.
    1 point
  6. When posting code, please use AutoIt code tags (that's the "<>" button in the editor). Greatly enhances readability of your code
    1 point
  7. The problem with your script is that you're jumping 3 lines, but only inserting 2, so after the first loop through you're trying to write to lines of the file that don't exist. ; Change $line = $line + 3 ; To $line = $line + 2 ; Or even better $line += 2
    1 point
  8. I'm on vacation. Please bump me after 20.08.2016
    1 point
  9. To allow a 32-bit process to run a 64-bit process, please add the following to the top of your script. #include <WinAPIFiles.au3> _WinAPI_Wow64EnableWow64FsRedirection(False) You will then not have an issue with any of the "Run" commands not running 64-bit processes. Adam
    1 point
  10. [BUGFIX VERSION] 9 Aug 16 (exactly 1 year since the last!) Fixed: The UDF depended on all buttons having consecutive ControlIDs - which is not always the case. Code rewritten to remove this requirement. Thanks to bymeapc who discovered the problem New UDF and examples in first post. M23
    1 point
×
×
  • Create New...