Ask nicely ACE-ppc if you can use his marvellous Gate.dll and here you go :) A few lines of Autoit and you are good for endless hours of ransacking :D
P.S If you run an 64bit OS, you don't even need the the dll, you can simply use the Autoit ControlSend() function and use "Archlord" as the title of the window.