Hawlong Posted November 9, 2018 Share Posted November 9, 2018 hello all i try to read value from memory #include <NomadMemory.au3> $Mem_Address = 0x004EC1E8 $Process1 = WinGetProcess("mspaint.exe") ;the window to get PID While 1 $Mem_Open = _MemoryOpen($Process1) ;must open before you can read address $Mem_Read = _MemoryRead($Mem_Address, $Mem_Open) ;reads value at memory address _MemoryClose($Mem_Open) ; ConsoleWrite($Mem_Read) Wend the probleam i run 3 paint and I want to read from one application just how to get the pid like cheat engine? Link to comment Share on other sites More sharing options...
TheDcoder Posted November 9, 2018 Share Posted November 9, 2018 You can use Run to execute mspaint.exe and it would return the PID of the process Hawlong 1 EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted November 9, 2018 Share Posted November 9, 2018 @Hawlong If you could be more precise on what are you trying to automate, then we can suggest you more (appropriate) solutions Hawlong 1 Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
caramen Posted November 9, 2018 Share Posted November 9, 2018 (edited) Yeah what are you trying to accomplish ? Edited November 9, 2018 by caramen Hawlong 1 My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
water Posted November 9, 2018 Share Posted November 9, 2018 I think "Cheat engine" tells us what he tries to accomplish ... Hawlong 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 You can use Run to execute mspaint.exe and it would return the PID of the process Thanks bro , It is impossible to obtain this address like cheat engine As you can see there are different numbers and letters at the beginning of each program How to get these addresses in autoit Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 If you could be more precise on what are you trying to automate, then we can suggest you more (appropriate) solutions _______________________________________________________________________________________________________________________________ I want to know the value of RAM for a specific program but I work on three programs of the same type at a time How to get PID for a single program such as cheat engine gives you a title for each program Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 Yeah what are you trying to accomplish ? ____________________________________________ I want to read the value of the memory but I use three programs of the same type at a time how can I specify the PID and address for each of them because I want to read the value of one program only Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 I think "Cheat engine" tells us what he tries to accomplish ... _______________________________________________________________ yes bro , It gives a title for each program but I do not know how to do this using Autoit Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 9, 2018 Moderators Share Posted November 9, 2018 Hawlong, Stop being evasive, we all know what you want to do - what we need to know is what are the "three programs of the same type at a time" whose memory you want to read. M23 P.S. And just to be absolutely clear - this is the Mod team determining the legality of the thread, so everyone else please keep out. Skeletor and Hawlong 2 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 Hawlong, Stop being evasive, we all know what you want to do - what we need to know is what are the "three programs of the same type at a time" whose memory you want to read. M23 P.S. And just to be absolutely clear - this is the Mod team determining the legality of the thread, so everyone else please keep out. ________________________________________________ three programs Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 9, 2018 Moderators Share Posted November 9, 2018 Hawlong, We are not stupid - we all know that Paint is not the program with which you want to interact. So last chance - what are you actually trying to do? M23 Hawlong 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 Yes, the painter is not the program I want to interact with But why all these questions? Is what I want forbidden? I think my question is very clear Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted November 9, 2018 Moderators Share Posted November 9, 2018 Hawlong, Quote But why all these questions? Is what I want forbidden? Quite possibly. if you read the Forum rules you will see that we do not permit discussion of game related scripts. And the use of Cheat Engine is usually a fair indication of exactly that - hence my question. I would also point out that your evasive answers are not helping your cause. So it looks as if you get another chance - what are these "three programs of the same type at a time"? if I do not get an acceptable answer this time then the thread will be locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Hawlong Posted November 9, 2018 Author Share Posted November 9, 2018 I do not use this for a game , but , locked the thread no need any help thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted November 9, 2018 Developers Share Posted November 9, 2018 2 hours ago, Hawlong said: I do not use this for a game , .. but you are not going to tell us what you are really using it for... FrancescoDiMuro, Skeletor and TheDcoder 3 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts