Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/05/2013 in all areas

  1. Maybe something similar. $find = "test-page-1" $next = 0 For $oLink In $oLinks If StringInStr($oLink.href, $find) Then If $next Then ConsoleWrite($oLink.href & @CRLF) ExitLoop Else $next = 1 EndIf EndIf Next
    1 point
  2. I have zero opinion on this, but this is a good argument against.
    1 point
  3. For sure you can have two UDFs in a single script: #include <Excel.au3> #include <IE.au3> Global $sExcelFile = "xxxx" ; <== Add the name of the Excel file here Global $oExcel = _ExcelBookOpen($sExcelFile) Global $aExcelData = _ExcelReadSheetToArray($Excel) For $iRow = 1 To $aExcelData ; Process all read Excel rows _Process($aExcelData[$iRow][1], $aExcelData[$iRow][2], $aExcelData[$iRow][3], $aExcelData[$iRow][4]) Next Now you just have to pack the code from your first post into a function named _Process. The 4 parameters passed to the function are the first 4 fields of the record. E.g: 1, 111111111, 1.00 and 07/01/2013
    1 point
  4. JohnOne

    Explain This To Me

    There was no mention of snake game or indeed any code earlier I still must try to play with my snake more though.
    1 point
  5. Funny that you know what i thought and what i have problems with. But that is probably because you are so "brilliant". Clearly... citing a crappy comic show and urban dictionary is a true display of brilliance. It's also interesting that you go to a thread and post nothing but insults and crap, even though you think that "this has to be the friendliest place in the Universe" (as you said earlier).
    1 point
  6. Zedna

    AutoIt in Windows 8 ?

    '?do=embed' frameborder='0' data-embedContent>>
    1 point
  7. Thats exactly the code i posted, why should it work now?
    1 point
  8. orbs

    Unhandle exception

    do you mean your process is something like this: 1) script1 is calling program 2) script1 is calling script2 3) script2 is checking the exit code of program script1 you already have program is anything you may need to check script2 you are trying to build is this the case?
    1 point
  9. orbs

    Unhandle exception

    do you mean that you want to write a script to capture and analyse exit code 3 of other executables?
    1 point
  10. water

    Posting to website

    BTW: Don't use "Dim" as it is deprecated, use "Global".
    1 point
  11. orbs

    PSD View

    doc files can be viewed by AutoIt? AutoIt can access the application installed to handle specific file types. for example, AutoIt can communicate with Word to handle doc files, using Word internal functionality known as COM objects. if you know of an application that opens psd files and supports COM, then this is possible. otherwise, AutoIt can automate your work with Photoshop by simulate clicking on menus and such.
    1 point
  12. I'm going to guess you are running into the same issue that we resolved >here.
    1 point
  13. Philip Hazel (author of PCRE) recommends the following pattern for matching a palindrome, right in the PCRE pattern doc: (?i)^\W*+(?:((.)\W*+(?1)\W*+\2|)|((.)\W*+(?3)\W*+\4|\W*+.\W*+))\W*+$ <leitmotiv> Of course what is under W or not is a subject open to debate (another instance where UCP support is the right way to go). </leitmotiv>
    1 point
  14. lorenkinzel

    Posting to website

    ;Globals Dim $var1 Dim $sHTML Dim $sSearchText Dim $oTable Dim $oTR Dim $oTD Dim $sTblCont Dim $oLink ;$Oexcel =_ExcelBookOpen("C:\Users\Corey\Documents\fantasyvalues.xls") _ExcelBookOpen(@DesktopDir & "\fantasyvalues.xlsx") $oExcel = ObjGet("", "Excel.Application") That gets me past the $oExcel error & on to the $oIE errorBeyond that I will be of little use to you on this one.
    1 point
×
×
  • Create New...