% A - all runner |5500 % % wait for the Photoshop app to appear % true !Arching.Phocus 0 !Pho.Waiter 5510 !tick 100 |5501 % % no photoshop route % true !Arching.Phocus 0 !Pho.Waiter 0 !Photoshop % % if the awing run build exists, start that % 5516 !tick 100 % % insure Photoshop running or started % |5510 *pshprung _Photoshop zero _Pho.Waiter zero and { % % wait for Photoshop to start % 5512 !tick } { % % if the awing run build exists, start that % "Exists" *awngstep { 5516 !tick } { % % awing run build does not exist, we depend on the debug version % 5514 !tick } ifelse } ifelse 100 |5512 % % give Photoshop extra time to settle if not running % *pshprung /* _Photoshop zero { } { */ +Pho.Waiter 20 gt { % % Photoshop exists for the extended wait time % 5510 !tick } { % % still waiting for Photoshop to appear % } ifelse /* } ifelse */ 100 |5514 % % awing run build does not exist, make sure awing not running % "Detect" *awngstep { % % the Awing process is running, stop it so it can be restarted % "Initial" *awngstep 5510 !tick } { % % the awing debug is not running, wait for it to start % 5515 !tick } ifelse 100 |5515 "Detect" *awngstep { % % awing debug now running, choose awing or full Trees % _Arching.Trees { 5518 !tick } { 5519 !tick } ifelse } if 100 % % need trees or just photoshop % |5516 % % start awing or full Trees % _Arching.Trees axuact "X" eq$ or { *awngstas 5518 !tick } { *awngstas 5519 !tick } ifelse 100 % % wait for full tree awing to appear % |5518 "Detect" *awngstep { *taskstap @@ "Help" dup .!_Helper !Helping 5520 !tick } { } ifelse 100 % % wait for photoshop only awing to appear % |5519 "Detect" *awngstep { 5520 !tick } { } ifelse 100 % % awing is detected, minimize % |5520 "Minimize" *awngstep _Photoshop zero { 5450 } { 5524 } ifelse !tick 100 % % start the Photoshop console % |5524 *atophocs 5526 !tick 100 % % start the Photoshop handler % |5526 % % if these are never started, the closing procedure % will know that % preload all CC app recorded window statistics % *ccwiners % % post the closing route for proper cc exiting % "exitccof" vend( 5528 !tick 100 % % start at Options tab in Photoshop console % |5528 "Tabber(0);" Pho.! 5530 !tick 100 % % move to the photoshop tab % |5530 "Tabber(1);" Pho.! 5534 !tick 100 % % wait for connect to Photoshop % |5534 % % start the connection form % "Form Connect . . ." *phocsink *spaxinit 5536 !tick 100 % % wait for events from Xomm % |5536 %%% 5538 !tick 100 % % Start was issued by Awing % |5538 % % connect to the Photoshop remote connection through localhost % "Connecting . . ." *phocsink % % issue PS init % @Xomm @^Trig @^PS 5540 !tick 100 % % wait for connection % |5540 %%% 5542 !tick 100 % % now connected signaled by Awing % |5542 "Connected . . ." *phocsink 5544 !tick 500 % % hide Photoshop console % |5544 *deskshow 5546 !tick 100 % % continue to auto start menus of the atop system % |5546 5450 !tick 100