Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/27/2011 in all areas

  1. martin

    Struct within struct?

    You can just break the struct into its components and add then in sequence in the 'parent struct' in th ecorrect position. So if you have a struct like this struct str1 {int a1, a2; char dummy[80]; } and you had it in a struct like this Struct2 {int bb; struct str1; int figs[20]; } then this is equivalent to Struct2 {int BB; int a1; int a2; char dummy[80]; int figs[20]; } I think that transexx has a udf in example scripts for structs in structs. Definitely worth looking for.
    1 point
  2. DaleHohm

    Replacing IE images.

    You can obviously only affect what is in the browser, not the source file. Here are several examples that demonstrate what I think you wnat to do: #include <ie.au3> ; 1 $oIE = _IE_Example() sleep(2000) _IEBodyWriteHTML($oIE, '<IMG src="http://www.autoitscript.com/images/download_autoit.png">') ; 2 $oIE = _IE_Example() sleep(2000) $oImg = _IETagnameGetCollection($oIE, "img", 0) _IEPropertySet($oImg, "outerhtml", '<IMG src="http://www.autoitscript.com/images/download_autoit.png">') ; 3 $oIE = _IE_Example() sleep(2000) $oImg = _IETagnameGetCollection($oIE, "img", 0) $oImg.src = "http://www.autoitscript.com/images/download_autoit.png" Dale
    1 point
×
×
  • Create New...