toto22 Posted August 29, 2017 Share Posted August 29, 2017 Good Day, Just a general question. I'm wondering if there is a way to read memory using pointers in the latest version of Autoit. I can read memory, but not while using pointers. Reasoning for doing so - I'm trying to automate TC2000. It is a Charting software for stocks. I want script to constantly look for stock break-outs and notify me when they happen without me constantly watching stock market myself. I want to use memory to to gather information from this software. If there are any other alternatives please let me know (window info tool cannot locate any visible text). So anyways, below is my working example for pointers that used to work in a older version of Autoit. Is there a way to modify it so it works in the latest version? Thank you! #RequireAdmin SetPrivilege("SetDebugPrivilege", 1) $struct = DllStructCreate("dword") DllStructSetData($struct, 1, 11) $ptr = DllStructGetPtr($struct) #include <NomadMemory2.au3> #include <WindowsConstants.au3> Opt("WinTitleMatchMode", -1) $PID = WinGetProcess("Step 8") $sModule = "Tutorial-i386.exe" $StaticOffset = 0x001FD660 $ah_Handle = _MemoryOpen($PID) $exeBaseAddr = _MemoryModuleGetBaseAddress($PID, $sModule) + $StaticOffset dim $Offset[5] = [0, "0xC", "0x14", "0x0", "0x18"] $Process = _MemoryOpen(ProcessExists("Tutorial-i386.exe")) If Not @error Then $value = _MemoryPointerRead($exeBaseAddr, $Process,$Offset) MsgBox(1,"",$value[1]) _MemoryClose($Process) EndIf Link to comment Share on other sites More sharing options...
careca Posted September 3, 2017 Share Posted September 3, 2017 Maybe you can read it, there are other "spy" applications that may be able to read text on that. https://www.autoitscript.com/wiki/FAQ#How_can_I_control_.28click.2C_edit_etc.29_an_external_.28html.29_application.3F https://www.autoitscript.com/forum/applications/core/interface/file/attachment.php?id=55274 toto22 1 Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now