soundasleep Posted December 11, 2013 Share Posted December 11, 2013 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. Link to comment Share on other sites More sharing options...
rockyrocket Posted December 12, 2013 Share Posted December 12, 2013 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.Sweet! - I am eager to see what you have come up with.I tried to auto start tables but found it really inconsistent so settled for just going to the my tables menu.I am using ledblinky to have some output from my lights - anyway here is what I use if its of any help?.Run, "C:\Program Files (x86)\iRotate\iRotate.exe" /rotate=90Run, C:\LEDBlinky\LEDBlinky\LEDBlinky.exe audio.lwax sound.lwaxRun, C:\Program Files (x86)\Steam\SteamApps\common\PinballArcade\PinballArcade.exeProcess, wait, PinballArcade.exeWinWait, ahk_class Pinball ArcadeWinWaitActive, ahk_class Pinball ArcadeSleep, 7000Send {Enter Down}, Send {Enter Up}Sleep, 200Send {Enter Down}, Send {Enter Up}Sleep, 200Send {Enter Down}, Send {Enter Up}process, WaitClose, PinballArcade.exeRun, C:\LEDBlinky\LEDBlinky\LEDBlinky.exe 2Run, "C:\Program Files (x86)\iRotate\iRotate.exe" /rotate=0ExitApp#IfWinActive ahk_class Pinball Arcade]::Left8::Rightx::Spacee::Escape1::Backspace#IfWinActiveEdit so in the hope that you would add led support to your solution I made a quick vid.. Link to comment Share on other sites More sharing options...
connorsdad Posted May 29, 2014 Share Posted May 29, 2014 Any advance on this guys? Link to comment Share on other sites More sharing options...
rockyrocket Posted May 29, 2014 Share Posted May 29, 2014 Any advance on this guys?I did see your other post on this buddy but have only been on my phone so could not respond - (have no passwords stored on it).Short answer is no, the steam version seems to have differing numbers of menu`s` to ok through at each play.The non steam version is consistent in how many "OK`s" are needed but menu navigation is hit and miss.Scripting "down" six times will take you to a different table on different trys .However on the FTP there is a folder called "my working version" from sources unknown (soundasleep?) that has a script for this in it.I did try it but it seemed just as hit and miss as my own attempts so still inconsistant.Maybe it just will not work?. Link to comment Share on other sites More sharing options...
connorsdad Posted May 29, 2014 Share Posted May 29, 2014 I'm trying that script now, for some reason it's pressing the down key when it should be pressing enter. Soo close Link to comment Share on other sites More sharing options...
rockyrocket Posted May 29, 2014 Share Posted May 29, 2014 I'm trying that script now, for some reason it's pressing the down key when it should be pressing enter. Soo close Good luck!. Link to comment Share on other sites More sharing options...
connorsdad Posted May 29, 2014 Share Posted May 29, 2014 And I'm done I give up....for now. Link to comment Share on other sites More sharing options...
rockyrocket Posted May 29, 2014 Share Posted May 29, 2014 Yeah I know that feeling....From what I remember it seemed like PA would miss keystrokes down the main tables menu.Even if you have a 1 second delay it would do about 5 or 6 then pause and maybe do some more then end up where ever it wanted like roulette?.If you manually keyed down you can navigate much faster and get to the table you want.To be honest PA is a bit disappointing to me so I do not feel it justifies that much space on the menu. Link to comment Share on other sites More sharing options...
Recommended Posts