Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/08/2020 in all areas

  1. UEZ

    Web Screenshot

    Well, it seems that I've overseen the 3rd parameter ($bFreeBmp) ...
    3 points
  2. To make this perfectly clear: The post above is completely rubbish, completely useless and totally wrong. It's simply misinformation. Data in AutoIt variables is internally stored in variants. Data in AutoIt arrays is internally stored in safearrays of variants. Autoit variables are references to these variants and safearrays, but they are not pointers to data. It makes no sense to consider an AutoIt variable as a pointer and try to extract data using that pointer. The Ptr() function is a simple data type conversion function that can convert e.g. a string to pointer. In the same way that Int() can convert a string to an integer. Pointers in AutoIt are primarily used as parameters in functions in external DLLs e.g. all the functions in the Microsoft DLLs.
    2 points
  3. Rei10, $oCaptcha = _IEGetObjByName($oIE, 'Captcha') _IEFormElementSetValue($oCaptcha, '12345') Looks pretty damning evidence to me - thread locked. Please read the Forum rules before you post again - particularly the bit about not discussing bypassing security measures. M23
    1 point
  4. The reason for the difference is that your using "AutoIt Window Info (x64)" rather than "AutoIt Window Info (x86)".
    1 point
  5. @ngocthang26 That looks like Selenium coding, which wouldn't be applicable here. I've just added the answer to your question in the Webdriver wiki entry, which can be found here.
    1 point
  6. my crystal ball shows the OP is running the AutoIt script with elevated permissions, and that script needs to run another process not elevated. there are several ways to do that, one of which is the _RunWithReducedPrivileges which works just fine for me. then again, my crystal ball may be broken... ah, if only there was a way to make the OP describe his purpose more clearly. i'm certain there is a simple way to achieve whatever purpose he has in mind.
    1 point
  7. As you suggested, i tried using hotkeys, its done now, Thank you so much for your help
    1 point
  8. Remo_

    WinHTTP functions

    ok, I found that this one line string works Global $sDta = '[{"destination":"testing99.com","comment":"COMMENT99"}]' Now I need to figure out how to replcae tesing99.com and COMMENT99 with $varibles. Fixed it, posting answer as it may help somone else. $URL = "testing1003.com" $Comment = "Comment1003" Global $sDta = '[{"destination":"' & $URL & _ '","comment":"' & $Comment & _ '"}]'
    1 point
  9. I now do it the same way as Zedna when adding to a listview. As to leaking control ID's, it can be an issue if you have a lot of items that you're creating and deleting a lot, but it would take a long time for it to become an issue because you can have up to 64k control ids. I ran into this before when creating a Listview for a media program I created, and was deleting them and recreating the LV everytime I updated it. I eventually lost all the items in the listview when I ran out of IDs. It takes longer to create the listview with the UDF, but I've never run out of control IDs that way. For around 4500 items it takes about 3-5 seconds to create a listview with subitems.
    1 point
×
×
  • Create New...