#Persistent SetTimer, IfWinActive, 150000 ;18 minutes = 1080000 return SetTitleMatchMode 1 IfWinActive: IfWinActive, QuarkXPress (tm) Sleep, 1000 SplashTextOn,400,50,Saving,Saving Quark Docs Please Wait BlockInput On IfWinExist, QuarkXPress (tm) { WinActivate Send ^s Sleep, 300 WinMenuSelectItem, QuarkXPress,,Window,13& Sleep, 500 Send ^s Sleep, 500 WinMenuSelectItem, QuarkXPress,,Window,12& Sleep, 500 Send ^s Sleep, 500 WinMenuSelectItem, QuarkXPress,,Window,11& Sleep, 500 Send ^s Sleep, 500 WinMenuSelectItem, QuarkXPress,,Window,10& Sleep, 500 Send ^s Sleep, 500 WinMenuSelectItem, QuarkXPress,,Window,9& Sleep, 500 Send ^s Sleep, 500 WinMenuSelectItem, QuarkXPress,,Window,8& Sleep, 500 Send ^s Sleep, 500 WinMenuSelectItem, QuarkXPress,,Window,7& Sleep, 500 Send ^s Sleep, 500 } else Sleep, 100 BlockInput Off SplashTextOff return