The example case is already done. This ahk_l script runs MBAM and puts it right where I want it.
#NoTrayIcon
handle := 0
Run,C:\Program Files\Malwarebytes' Anti-Malware\mbam.exe
WinWaitActive,Malwarebytes Anti-Malware,,8
if (! ErrorLevel)
{
handle := WinExist("Malwarebytes Anti-Malware")
if (handle)
WinMove,ahk_id %handle%,,67,365
}
With WinDim there was no farting around required to get the exact position.
edit: another way of doing the same thing is a utility like WinSize2. Different ways to skin the cat.
edit2: added ErrorLevel check in case MBAM doesn't come up by the time-out. Avoids moving just any active window.
edit3: updated the code so you don't have to run the script and wait for MBAM to come up. It gets the handle as soon as MBAM window is active, rather than depending on it remaining the active window. Should work ok even if different windows are getting the focus. For example, you run this script then use FolderCache to open the last 4 folders.