Jump to content

Recommended Posts

Posted

huhu,

i need help with A3LMemory.au3

how do i use it? I have this data given:

;Memory Read for WoW 1.12.1

[life]

currentlife1=0BAF1DD0 ;int 2 bytes

maxlife1=0BAF1DE8 ;int 2 bytes

now how do i make autoit read it out using a3lmemory.au3???

please help

Posted

problem in the AL3LanMan in the last release =>

CODE
C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(85,101) : WARNING: $MAX_PREFERRED_LENGTH: possibly used before declaration.

"ptr", $pQualifier, "int", 1, "ptr", $pConnInfo, "int", $MAX_PREFERRED_LENGTH,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(94,52) : WARNING: $CONNECTION_INFO_1: possibly used before declaration.

$rConnInfo = DllStructCreate($CONNECTION_INFO_1,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(95,65) : WARNING: $CI1_ID: possibly used before declaration.

$aConnInfo[$iI][0] = DllStructGetData($rConnInfo, $CI1_ID )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(96,65) : WARNING: $CI1_TYPE: possibly used before declaration.

$aConnInfo[$iI][1] = DllStructGetData($rConnInfo, $CI1_TYPE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(97,65) : WARNING: $CI1_OPENS: possibly used before declaration.

$aConnInfo[$iI][2] = DllStructGetData($rConnInfo, $CI1_OPENS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(98,65) : WARNING: $CI1_USERS: possibly used before declaration.

$aConnInfo[$iI][3] = DllStructGetData($rConnInfo, $CI1_USERS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(99,65) : WARNING: $CI1_TIME: possibly used before declaration.

$aConnInfo[$iI][4] = DllStructGetData($rConnInfo, $CI1_TIME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(101,58) : WARNING: $CI1_USERNAME: possibly used before declaration.

$pString = DllStructGetData($rConnInfo, $CI1_USERNAME)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(105,58) : WARNING: $CI1_NETNAME: possibly used before declaration.

$pString = DllStructGetData($rConnInfo, $CI1_NETNAME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(212,46) : WARNING: $FILE_INFO_3: possibly used before declaration.

$rFileInfo = DllStructCreate($FILE_INFO_3,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(213,71) : WARNING: $FI3_ID: possibly used before declaration.

$aFileInfo[$iI][0] = DllStructGetData($rFileInfo, $FI3_ID )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(214,71) : WARNING: $FI3_PERMISSIONS: possibly used before declaration.

$aFileInfo[$iI][1] = DllStructGetData($rFileInfo, $FI3_PERMISSIONS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(215,71) : WARNING: $FI3_LOCKS: possibly used before declaration.

$aFileInfo[$iI][2] = DllStructGetData($rFileInfo, $FI3_LOCKS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(217,58) : WARNING: $FI3_PATHNAME: possibly used before declaration.

$pString = DllStructGetData($rFileInfo, $FI3_PATHNAME)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(221,58) : WARNING: $FI3_USERNAME: possibly used before declaration.

$pString = DllStructGetData($rFileInfo, $FI3_USERNAME)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(400,51) : WARNING: $SESSION_INFO_502: possibly used before declaration.

$rSessInfo = DllStructCreate($SESSION_INFO_502,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(402,59) : WARNING: $SE5_CNAME: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE5_CNAME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(406,59) : WARNING: $SE5_USERNAME: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE5_USERNAME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(410,65) : WARNING: $SE5_OPENS: possibly used before declaration.

$aSessInfo[$iI][2] = DllStructGetData($rSessInfo, $SE5_OPENS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(411,65) : WARNING: $SE5_TIME: possibly used before declaration.

$aSessInfo[$iI][3] = DllStructGetData($rSessInfo, $SE5_TIME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(412,65) : WARNING: $SE5_IDLE: possibly used before declaration.

$aSessInfo[$iI][4] = DllStructGetData($rSessInfo, $SE5_IDLE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(413,65) : WARNING: $SE5_FLAGS: possibly used before declaration.

$aSessInfo[$iI][5] = DllStructGetData($rSessInfo, $SE5_FLAGS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(415,59) : WARNING: $SE5_TYPENAME: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE5_TYPENAME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(419,59) : WARNING: $SE5_TRANSPORT: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE5_TRANSPORT)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(478,47) : WARNING: $SESSION_INFO_2: possibly used before declaration.

$rSessInfo = DllStructCreate($SESSION_INFO_2,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(480,56) : WARNING: $SE2_CNAME: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE2_CNAME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(484,56) : WARNING: $SE2_USERNAME: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE2_USERNAME)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(488,58) : WARNING: $SE2_OPENS: possibly used before declaration.

$aSessInfo[2] = DllStructGetData($rSessInfo, $SE2_OPENS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(489,58) : WARNING: $SE2_TIME: possibly used before declaration.

$aSessInfo[3] = DllStructGetData($rSessInfo, $SE2_TIME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(490,58) : WARNING: $SE2_IDLE: possibly used before declaration.

$aSessInfo[4] = DllStructGetData($rSessInfo, $SE2_IDLE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(491,58) : WARNING: $SE2_FLAGS: possibly used before declaration.

$aSessInfo[5] = DllStructGetData($rSessInfo, $SE2_FLAGS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(493,56) : WARNING: $SE2_TYPENAME: possibly used before declaration.

$pString = DllStructGetData($rSessInfo, $SE2_TYPENAME)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(551,43) : WARNING: $SHARE_INFO_2: possibly used before declaration.

$rBuffer = DllStructCreate($SHARE_INFO_2)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(553,43) : WARNING: $SH2_NETNAME: possibly used before declaration.

DllStructSetData($rBuffer, $SH2_NETNAME ,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(554,43) : WARNING: $SH2_TYPE: possibly used before declaration.

DllStructSetData($rBuffer, $SH2_TYPE ,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(555,43) : WARNING: $SH2_REMARK: possibly used before declaration.

DllStructSetData($rBuffer, $SH2_REMARK ,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(556,43) : WARNING: $SH2_MAX_USES: possibly used before declaration.

DllStructSetData($rBuffer, $SH2_MAX_USES,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(557,43) : WARNING: $SH2_PATH: possibly used before declaration.

DllStructSetData($rBuffer, $SH2_PATH ,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(711,74) : WARNING: $SH2_PERMISSIONS: possibly used before declaration.

$aShareInfo[$iI][3] = DllStructGetData($rShareInfo, $SH2_PERMISSIONS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(713,74) : WARNING: $SH2_CURRENT_USES: possibly used before declaration.

$aShareInfo[$iI][5] = DllStructGetData($rShareInfo, $SH2_CURRENT_USES)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(719,59) : WARNING: $SH2_PASSWORD: possibly used before declaration.

$pString = DllStructGetData($rShareInfo, $SH2_PASSWORD)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(901,30) : WARNING: $SERVICE_SERVER: possibly used before declaration.

$sService = $SERVICE_SERVER

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(914,47) : WARNING: $STAT_SERVER_0: possibly used before declaration.

$rShareInfo = DllStructCreate($STAT_SERVER_0,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(916,62) : WARNING: $SS0_START: possibly used before declaration.

$aStats[ 0] = DllStructGetData($rShareInfo, $SS0_START )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(917,62) : WARNING: $SS0_FOPENS: possibly used before declaration.

$aStats[ 1] = DllStructGetData($rShareInfo, $SS0_FOPENS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(918,62) : WARNING: $SS0_DEVOPENS: possibly used before declaration.

$aStats[ 2] = DllStructGetData($rShareInfo, $SS0_DEVOPENS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(919,62) : WARNING: $SS0_JOBSQUEUED: possibly used before declaration.

$aStats[ 3] = DllStructGetData($rShareInfo, $SS0_JOBSQUEUED)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(920,62) : WARNING: $SS0_SOPENS: possibly used before declaration.

$aStats[ 4] = DllStructGetData($rShareInfo, $SS0_SOPENS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(921,62) : WARNING: $SS0_STIMEDOUT: possibly used before declaration.

$aStats[ 5] = DllStructGetData($rShareInfo, $SS0_STIMEDOUT )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(922,62) : WARNING: $SS0_SERROROUT: possibly used before declaration.

$aStats[ 6] = DllStructGetData($rShareInfo, $SS0_SERROROUT )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(923,62) : WARNING: $SS0_PWERRORS: possibly used before declaration.

$aStats[ 7] = DllStructGetData($rShareInfo, $SS0_PWERRORS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(924,62) : WARNING: $SS0_PERMERRORS: possibly used before declaration.

$aStats[ 8] = DllStructGetData($rShareInfo, $SS0_PERMERRORS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(925,62) : WARNING: $SS0_SYSERRORS: possibly used before declaration.

$aStats[ 9] = DllStructGetData($rShareInfo, $SS0_SYSERRORS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(926,62) : WARNING: $SS0_BYTESENT: possibly used before declaration.

$aStats[10] = DllStructGetData($rShareInfo, $SS0_BYTESENT )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(927,62) : WARNING: $SS0_BYTERECV: possibly used before declaration.

$aStats[11] = DllStructGetData($rShareInfo, $SS0_BYTERECV )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(928,62) : WARNING: $SS0_AVRESPONSE: possibly used before declaration.

$aStats[12] = DllStructGetData($rShareInfo, $SS0_AVRESPONSE)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(929,62) : WARNING: $SS0_REQBUFNEED: possibly used before declaration.

$aStats[13] = DllStructGetData($rShareInfo, $SS0_REQBUFNEED)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(930,62) : WARNING: $SS0_BIGBUFNEED: possibly used before declaration.

$aStats[14] = DllStructGetData($rShareInfo, $SS0_BIGBUFNEED)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1004,35) : WARNING: $SERVICE_WORKSTATION: possibly used before declaration.

$sService = $SERVICE_WORKSTATION

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1017,52) : WARNING: $STAT_WORKSTATION_0: possibly used before declaration.

$rShareInfo = DllStructCreate($STAT_WORKSTATION_0,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1019,69) : WARNING: $SW0_STARTTIME: possibly used before declaration.

$aStats[ 0] = DllStructGetData($rShareInfo, $SW0_STARTTIME )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1020,69) : WARNING: $SW0_BYTESRECV: possibly used before declaration.

$aStats[ 1] = DllStructGetData($rShareInfo, $SW0_BYTESRECV )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1021,69) : WARNING: $SW0_SMBSRECV: possibly used before declaration.

$aStats[ 2] = DllStructGetData($rShareInfo, $SW0_SMBSRECV )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1022,69) : WARNING: $SW0_PAGEREAD: possibly used before declaration.

$aStats[ 3] = DllStructGetData($rShareInfo, $SW0_PAGEREAD )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1023,69) : WARNING: $SW0_NONPAGEREAD: possibly used before declaration.

$aStats[ 4] = DllStructGetData($rShareInfo, $SW0_NONPAGEREAD )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1024,69) : WARNING: $SW0_CACHEREAD: possibly used before declaration.

$aStats[ 5] = DllStructGetData($rShareInfo, $SW0_CACHEREAD )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1025,69) : WARNING: $SW0_NETREAD: possibly used before declaration.

$aStats[ 6] = DllStructGetData($rShareInfo, $SW0_NETREAD )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1026,69) : WARNING: $SW0_BYTESTRAN: possibly used before declaration.

$aStats[ 7] = DllStructGetData($rShareInfo, $SW0_BYTESTRAN )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1027,69) : WARNING: $SW0_SMBSTRAN: possibly used before declaration.

$aStats[ 8] = DllStructGetData($rShareInfo, $SW0_SMBSTRAN )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1028,69) : WARNING: $SW0_PAGEWRITE: possibly used before declaration.

$aStats[ 9] = DllStructGetData($rShareInfo, $SW0_PAGEWRITE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1029,69) : WARNING: $SW0_NONPAGEWRITE: possibly used before declaration.

$aStats[10] = DllStructGetData($rShareInfo, $SW0_NONPAGEWRITE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1030,69) : WARNING: $SW0_CACHEWRITE: possibly used before declaration.

$aStats[11] = DllStructGetData($rShareInfo, $SW0_CACHEWRITE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1031,69) : WARNING: $SW0_NETWRITE: possibly used before declaration.

$aStats[12] = DllStructGetData($rShareInfo, $SW0_NETWRITE )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1032,69) : WARNING: $SW0_INITFAILED: possibly used before declaration.

$aStats[13] = DllStructGetData($rShareInfo, $SW0_INITFAILED )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1033,69) : WARNING: $SW0_FAILEDCOMP: possibly used before declaration.

$aStats[14] = DllStructGetData($rShareInfo, $SW0_FAILEDCOMP )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1034,69) : WARNING: $SW0_READOP: possibly used before declaration.

$aStats[15] = DllStructGetData($rShareInfo, $SW0_READOP )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1035,69) : WARNING: $SW0_RANDOMREADOP: possibly used before declaration.

$aStats[16] = DllStructGetData($rShareInfo, $SW0_RANDOMREADOP )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1036,69) : WARNING: $SW0_READSMBS: possibly used before declaration.

$aStats[17] = DllStructGetData($rShareInfo, $SW0_READSMBS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1037,69) : WARNING: $SW0_LARGEREADSMBS: possibly used before declaration.

$aStats[18] = DllStructGetData($rShareInfo, $SW0_LARGEREADSMBS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1038,69) : WARNING: $SW0_SMALLREADSMBS: possibly used before declaration.

$aStats[19] = DllStructGetData($rShareInfo, $SW0_SMALLREADSMBS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1039,69) : WARNING: $SW0_WRITEOP: possibly used before declaration.

$aStats[20] = DllStructGetData($rShareInfo, $SW0_WRITEOP )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1040,69) : WARNING: $SW0_RANDOMWRITEOP: possibly used before declaration.

$aStats[21] = DllStructGetData($rShareInfo, $SW0_RANDOMWRITEOP )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1041,69) : WARNING: $SW0_WRITESMBS: possibly used before declaration.

$aStats[22] = DllStructGetData($rShareInfo, $SW0_WRITESMBS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1042,69) : WARNING: $SW0_LARGEWRITESMBS: possibly used before declaration.

$aStats[23] = DllStructGetData($rShareInfo, $SW0_LARGEWRITESMBS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1043,69) : WARNING: $SW0_SMALLWRITESMBS: possibly used before declaration.

$aStats[24] = DllStructGetData($rShareInfo, $SW0_SMALLWRITESMBS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1044,69) : WARNING: $SW0_RAWREADSDENIED: possibly used before declaration.

$aStats[25] = DllStructGetData($rShareInfo, $SW0_RAWREADSDENIED )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1045,69) : WARNING: $SW0_RAWRITESDENIED: possibly used before declaration.

$aStats[26] = DllStructGetData($rShareInfo, $SW0_RAWRITESDENIED )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1046,69) : WARNING: $SW0_NETWORKERRORS: possibly used before declaration.

$aStats[27] = DllStructGetData($rShareInfo, $SW0_NETWORKERRORS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1047,69) : WARNING: $SW0_SESSIONS: possibly used before declaration.

$aStats[28] = DllStructGetData($rShareInfo, $SW0_SESSIONS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1048,69) : WARNING: $SW0_FAILEDSESSIONS: possibly used before declaration.

$aStats[29] = DllStructGetData($rShareInfo, $SW0_FAILEDSESSIONS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1049,69) : WARNING: $SW0_RECONNECTS: possibly used before declaration.

$aStats[30] = DllStructGetData($rShareInfo, $SW0_RECONNECTS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1050,69) : WARNING: $SW0_CORECONNECTS: possibly used before declaration.

$aStats[31] = DllStructGetData($rShareInfo, $SW0_CORECONNECTS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1051,69) : WARNING: $SW0_LM20CONNECTS: possibly used before declaration.

$aStats[32] = DllStructGetData($rShareInfo, $SW0_LM20CONNECTS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1052,69) : WARNING: $SW0_LM21CONNECTS: possibly used before declaration.

$aStats[33] = DllStructGetData($rShareInfo, $SW0_LM21CONNECTS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1053,69) : WARNING: $SW0_LMNTCONNECTS: possibly used before declaration.

$aStats[34] = DllStructGetData($rShareInfo, $SW0_LMNTCONNECTS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1054,69) : WARNING: $SW0_SERVERDISCONNECTS: possibly used before declaration.

$aStats[35] = DllStructGetData($rShareInfo, $SW0_SERVERDISCONNECTS)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1055,69) : WARNING: $SW0_HUNGSESSIONS: possibly used before declaration.

$aStats[36] = DllStructGetData($rShareInfo, $SW0_HUNGSESSIONS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1056,69) : WARNING: $SW0_USECOUNT: possibly used before declaration.

$aStats[37] = DllStructGetData($rShareInfo, $SW0_USECOUNT )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1057,69) : WARNING: $SW0_FAILEDUSECOUNT: possibly used before declaration.

$aStats[38] = DllStructGetData($rShareInfo, $SW0_FAILEDUSECOUNT )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(1058,69) : WARNING: $SW0_CURRENTCOMMANDS: possibly used before declaration.

$aStats[39] = DllStructGetData($rShareInfo, $SW0_CURRENTCOMMANDS )

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

C:\PROGRA~1\AutoIt3\beta\Include\A3LLanMan.au3(85,101) : ERROR: $MAX_PREFERRED_LENGTH: undeclared global variable.

"ptr", $pQualifier, "int", 1, "ptr", $pConnInfo, "int", $MAX_PREFERRED_LENGTH,

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

^

D:\Auto3Lib\Examples\LanMan_2.au3(25,37) : ERROR: _NetFileEnum(): undefined function.

_NetFileEnum($Server,-1,"SPIERRON")

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

D:\Auto3Lib\Examples\LanMan_2.au3 - 2 error(s), 100 warning(s)

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]
Posted

problem in the AL3LanMan in the last release =>

A3LLanMan has been replaced with the new module A3LNetShare. The original file only included the Lan Manager calls and I expanded it a bit to include the remaining calls to support network shares. Sorry for the confusion. :">
Auto3Lib: A library of over 1200 functions for AutoIt
Posted

huhu,

i need help with A3LMemory.au3

how do i use it? I have this data given:

;Memory Read for WoW 1.12.1

[life]

currentlife1=0BAF1DD0 ;int 2 bytes

maxlife1=0BAF1DE8 ;int 2 bytes

now how do i make autoit read it out using a3lmemory.au3???

please help

Originally, I had set up the memory module so that you could read specific memory addresses within a process. I removed this "feature" several versions ago for various reasons. There is another memory unit here on the forum that is written by wOuter that will allow you to do this sort of thing.
Auto3Lib: A library of over 1200 functions for AutoIt
Posted

Originally, I had set up the memory module so that you could read specific memory addresses within a process. I removed this "feature" several versions ago for various reasons. There is another memory unit here on the forum that is written by wOuter that will allow you to do this sort of thing.

Well i tried w0uters _mem() UDF.

It didnt work. Thus i posted in here. I saw that u work with MemMaps. How do these work?

thanks,

Zephir

Posted

Well i tried w0uters _mem() UDF.

It didnt work. Thus i posted in here. I saw that u work with MemMaps. How do these work?

thanks,

Zephir

I don't think you understood my last post. Auto3Lib can not be used to access specific memory locations in another process. The memory module in Auto3Lib is designed specifically to prevent people from doing this.

If you're having trouble with w0uters _mem functions, you need to contact him about that or maybe some other forum members who are using his functions.

Auto3Lib: A library of over 1200 functions for AutoIt
Posted

I don't think you understood my last post. Auto3Lib can not be used to access specific memory locations in another process. The memory module in Auto3Lib is designed specifically to prevent people from doing this.

If you're having trouble with w0uters _mem functions, you need to contact him about that or maybe some other forum members who are using his functions.

okay....so what does this do?

<A3LMemory.au3>

; ====================================================================================================
; Description ..: Transfer memory from external address space to internal address space
; Parameters ...: $tMemMap      - tagMEMMAP structure
;                 $pSrce        - Pointer to external memory
;                 $pDest        - Pointer to internal memory
;                 $iSize        - Size in bytes of memory to read
; Return values : True on success, otherwise False
; Author .......: Paul Campbell (PaulIA)
; Notes ........:
; ====================================================================================================
Func _Mem_Read(ByRef $tMemMap, $pSrce, $pDest, $iSize)
  Local $hProcess, $iWritten

  $hProcess = _tagGetData($tMemMap, "hProc")
  Return _API_ReadProcessMemory($hProcess, $pSrce, $pDest, $iSize, $iWritten)
EndFunc
Posted

okay....so what does this do?

<A3LMemory.au3>

; ====================================================================================================
; Description ..: Transfer memory from external address space to internal address space
; Parameters ...: $tMemMap      - tagMEMMAP structure
;                 $pSrce        - Pointer to external memory
;                 $pDest        - Pointer to internal memory
;                 $iSize        - Size in bytes of memory to read
; Return values : True on success, otherwise False
; Author .......: Paul Campbell (PaulIA)
; Notes ........:
; ====================================================================================================
Func _Mem_Read(ByRef $tMemMap, $pSrce, $pDest, $iSize)
  Local $hProcess, $iWritten

  $hProcess = _tagGetData($tMemMap, "hProc")
  Return _API_ReadProcessMemory($hProcess, $pSrce, $pDest, $iSize, $iWritten)
EndFunc
The _Mem_Read function only works on the memory space allocated by _Mem_Init and I purposely designed it so that you can't specify a specific memory address in that function. You have offically used up your allocation of politeness on this subject.
Auto3Lib: A library of over 1200 functions for AutoIt
Posted

The _Mem_Read function only works on the memory space allocated by _Mem_Init and I purposely designed it so that you can't specify a specific memory address in that function. You have offically used up your allocation of politeness on this subject.

So people are not allowed to ask? sorry then

Posted

Well then just dont answer or answer the first time so that i get it. not everyone is skilled enough to get everything with the first look. besides english is not even my native tounge.

u dont need to answer now and waste ur "valuebale time" for noobs like me ^^

Posted

Well then just dont answer or answer the first time so that i get it. not everyone is skilled enough to get everything with the first look. besides english is not even my native tounge.

u dont need to answer now and waste ur "valuebale time" for noobs like me ^^

Reply 1:

"Originally, I had set up the memory module so that you could read specific memory addresses within a process. I removed this "feature" several versions ago for various reasons."

Reply 2:

"I don't think you understood my last post. Auto3Lib can not be used to access specific memory locations in another process. The memory module in Auto3Lib is designed specifically to prevent people from doing this."

Reply 3:

"The _Mem_Read function only works on the memory space allocated by _Mem_Init and I purposely designed it so that you can't specify a specific memory address in that function."

I think your English is good enough to have understood any one of the above replies. And for the record, most people would have lite you up by now for your noobish behavior. If you've spent any time here, you would know that I go out of my way to help newcomers. I just have a high distain for bot, cheat and virus writers. My final advice to you is to stop trolling and let this die a natural death. If you have a problem with anything that I've posted, I suggest you take it up with a moderator.

End of subject.

Auto3Lib: A library of over 1200 functions for AutoIt
Posted (edited)

Damned - i wish my english would be so good to follow each of you :D

Anyway - this subject should be closed.

Zephir & Paul : shake hands :D and let Paul the time to go on with his good work.

Paul : Is it possible to add a version to your Auto3Lib.zip in your first post? Like "Auto3Lib3.010.zip" ...

It is easier to check if i (and all others) have the latest version.

Greets

Dizzy

Update:

:) OK - found your "update.au3" in misc ... but a version in the filename would be nice too.

Update 2:

I played around with "update.au3" - and get an empty 11kb Auto3Lib.zip. I changed the ID to 12931 and i get the latest version.

@Paul: Can you change this in your script?

Edited by Dizzy
Posted

I played around with "update.au3" - and get an empty 11kb Auto3Lib.zip. I changed the ID to 12931 and i get the latest version.

@Paul: Can you change this in your script?

Actually, the update problem is worse than that. The file ID will change everytime I release code. :"> I'll fix it in the next release.
Auto3Lib: A library of over 1200 functions for AutoIt
Posted

I'm trying to use the event log function. What I'm trying to do is scan say the 10 newest entries, if it finds an an 'error' event, it must send that complete entry to a txt file. But I'm not quite sure what to do once the event log is loaded into an array.

Posted

I'm trying to use the event log function. What I'm trying to do is scan say the 10 newest entries, if it finds an an 'error' event, it must send that complete entry to a txt file. But I'm not quite sure what to do once the event log is loaded into an array.

The demo for the event log reads back the top 50 entries from the log, but these are not neccesarily the newest events. The event log is a circular file. When it gets full, it wraps around and starts writing over itself.

If the event log is not full, the first record will be the oldest record and _EventLog_Count will be the newset record. If the event log is full, the newest record will be _EventLog_Oldest + 1 mod _EventLog_Count. You'll need to set up a loop to read the log, being mindful to adjust your offset when it needs to wrap back to the first record.

Can you be more specific about "not quite sure what to do once the event log is loaded into an array". Are you having trouble with file operations or you don't understand what is in the array returned by _EventLog_Read?

Auto3Lib: A library of over 1200 functions for AutoIt
Posted

Have you idea on how to acess a context menu.

My problem is that i dont'know how to take the hwn d of the context menu ?

With the context menu displayed, call _Lib_PopupScan(). It scans the visible windows for popup, toolbar and tooltip windows. You can then call _Lib_PopupCount() to get the number of popups found, _Lib_PopupGetHWND() to get the handle of the popup, _Lib_PopupGetParent() to get the handle to the parent window of the popup and _Lib_PopupGetType() to get the type of popup window. All this is documented in A3LLibrary and these functions are used in a lot of the demos, especially the Toolbar demos.
Auto3Lib: A library of over 1200 functions for AutoIt
Posted

@LOULOU

Keep it simple and do it this way

$objShell = ObjCreate("Shell.Application")
$objFolder = $objShell.Namespace("C:\_\Apps\AutoIT3") ; Change this is any AU3 file location !!
$objFolderItem = $objFolder.ParseName("Test.au3")

$colVerbs = $objFolderItem.Verbs

For $objVerb in $colVerbs
   MsgBox(0,"",$objVerb()) 
Next

Enjoy !!

ptrex

Posted

@LOULOU

Keep it simple and do it this way

$objShell = ObjCreate("Shell.Application")
$objFolder = $objShell.Namespace("C:\_\Apps\AutoIT3") ; Change this is any AU3 file location !!
$objFolderItem = $objFolder.ParseName("Test.au3")

$colVerbs = $objFolderItem.Verbs

For $objVerb in $colVerbs
   MsgBox(0,"",$objVerb()) 
Next

Enjoy !!

ptrex

You make the assumption that he is working with file context menus, which is the only place your code will work. While this approach may be applicable in certain circumstances, it is not a universal way of dealing with context menus (which is how Auto3Lib works). Sometimes simplier is not always better. :)
Auto3Lib: A library of over 1200 functions for AutoIt
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...