Jump to content

Leaderboard

Popular Content

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

  1. Maybe I can recommend a mental coach to help you deal with a standard Windows feature?
    2 points
  2. 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
  3. This is a pretty good guide for improving your script. Step 1 is pretty much the most important one and has the best advice.
    1 point
  4. Does this work for you? Local $s = '"Video or movie" no_quotes "parent" ''action or drama'' "Media or entertainment" "1" ''2" "3"'' "0" "0"' Local $a = StringRegExp($s & " ", '(?|(".*?") +|(''.*?'') +|([^ "'']+) +)', 3) _ArrayDisplay($a)
    1 point
  5. Ah, ok, how about this then... #include<Array.au3> Local $x = 'So this is Christmas... "Video or movie" "parent" ''Media or entertainment'' "1" "1" "1" "0" "0"' Local $a = StringRegExp($x, '["''].*?["'']|[^ ]+', $STR_REGEXPARRAYGLOBALMATCH) _ArrayDisplay($a)
    1 point
  6. TheSaint, you have compiled an impressive list of GUI creators/designers. Thanks for that Would it make sense to move the list to the wiki (like there are lists of UDFs or programs written in AutoIt)? I think it would be easier to find and could be extended by any user. What do you think?
    1 point
  7. Some HTML Snippet please .... or URL
    1 point
  8. Taurillon

    Weird Autoit File

    This was very helpfull thanks a lot Taurillon
    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. Once again, a trip through the help file would be beneficial. Look at _Excel_BookList. Edit: D'oh, too slow
    1 point
  11. Use _Excel_BookList to retrieve an array of open workbooks. Then select the needed one and use _Excel_BookAttach to connect to this workbook.
    1 point
  12. This is a methode to clear to Output pane during script execution: For $x = 1 to 100 ConsoleWrite($x & @CRLF) Next ConsoleWrite("clear output in 1 sec" & @CRLF) Sleep(1000) SendSciTE_Command("menucommand:420") ; Clear Output pane "IDM_CLEAROUTPUT" ConsoleWrite("cleared" & @CRLF) For $x = 1 to 100 ConsoleWrite($x & @CRLF) Next Exit ; ; Send command to SciTE Func SendSciTE_Command($sCmd) Local $Scite_hwnd = WinGetHandle("DirectorExtension") Local $WM_COPYDATA = 74 Local $CmdStruct = DllStructCreate('Char[' & StringLen($sCmd) + 1 & ']') DllStructSetData($CmdStruct, 1, $sCmd) Local $COPYDATA = DllStructCreate('Ptr;DWord;Ptr') DllStructSetData($COPYDATA, 1, 1) DllStructSetData($COPYDATA, 2, StringLen($sCmd) + 1) DllStructSetData($COPYDATA, 3, DllStructGetPtr($CmdStruct)) DllCall('User32.dll', 'None', 'SendMessage', 'HWnd', $Scite_hwnd, _ 'Int', $WM_COPYDATA, 'HWnd', 0, _ 'Ptr', DllStructGetPtr($COPYDATA)) EndFunc ;==>SendSciTE_Command Jos
    1 point
×
×
  • Create New...