I don't think that knowing squirrel will help you at all. AP is basically a fancy user interface used to start an emulator. That's it. Once the emulator is running there is no communication if any kind between the front end and the emulator. So in short, there is no way to do what you want with AM + MAME.