So after two days of practically not sleeping trying to get the automatic table loading working I finally had everything 100% and a strange bug shows up. The first time I load a table everything is fine - I play, I exit, it goes back to PinballX. But the SECOND time the backglass is in the wrong position (showing part of the desktop behind it). After a few more hours trying different solutions I found upon one that worked... Bearing in mind I load the EXE from within the AHK file, using the WinWait/WinActivate statements if you switch focus back to PinballX and then back to Pinball Arcade, the backglass is back where it should be. Not sure if anybody else has had this problem, but if you do, there you go. Once I've had some sleep and cleaned up my dirty code I'll upload my version of the AHK files.