Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

How to read value of static memory address?

$
0
0
Hey guys,

I would like to know how to read the value of a certain memory address.
I searched on the forums and googled around a bit, but could not find a clear answer.

The address I need to read the value of is a static address, and thus always stays the same. So I don't need to read it with pointers.
I found this thread http://www.autoitscript.com/forum/topic/131185-guide-reading-memory-with-autoit/ which explains how to do it in example 1, but the example got removed and the thread locked...

What I am trying to do, is make a script that sends me an email when my antivirus has scanned a certain amount of files.
This way, I don't have to be at my computer to see how it is doing (when I receive an email I get a notification on my phone).
If this works, I am planning to improve the script so it will also include how many viruses have been detected and how long the scan has been running (because why the heck not :P).

This is what I already have. The AutoIt Code button doesn't seem to work so I am doing it with regular CODE tags.

ShellExecute("http://www.hotmail.com") ; Opens Hotmail in web browser.
sleep(2000)
MouseClick("left", 239, 103) ; Clicks 'New email'. ; You might have to adjust this.
sleep(1000)
Send("MyEmailAddress@hotmail.com{tab}") ; Enters the email address to send the email to.
sleep(500)
Send("{tab}100.000 files have been scanned!") ; Enters the title.
sleep(500)
Send("{tab}Microsoft Security Essentials has now scanned over 100.000 files!") ; Enters the message.
MouseClick("left", 239, 103) ; Clicks 'Send' ; Again, you might have to adjust this. The coordinates are the same as the ones for 'New Email'

I am using Microsoft Security Essentials, and the process is called msseces.exe.
The address of the value is 00B51F1 but I'm not sure if the address is the same for all computers though.

Viewing all articles
Browse latest Browse all 12506

Trending Articles