photoshop - Continue processing bat file after opening executable -


i calling .jsx script via .bat script (the .bat necessary startup script users). .jsx launching photoshop specific color settings. after .jsx runs .bat not continue.

i can quit photoshop manually , .bat continue. 1 have ideas how allow .bat carry on after calling .jsx?

.bat script:

"c:\program files\adobe\adobe photoshop cs6 (64 bit)\photoshop.exe" "path\ps_color_settings.jsx" 

.jsx script:

setcolorsettings();    function setcolorsettings() {       var desc = new actiondescriptor();       var ref = new actionreference();       ref.putproperty( charidtotypeid( "prpr" ), stringidtotypeid( "colorsettings" ) );       ref.putenumerated( charidtotypeid( "capp" ), charidtotypeid( "ordn" ), charidtotypeid( "trgt" ) );       desc.putreference( charidtotypeid( "null" ), ref );         var colorsettingsdesc = new actiondescriptor();       colorsettingsdesc.putstring( stringidtotypeid( "workingrgb" ), """srgb iec61966-2.1""" );       colorsettingsdesc.putenumerated(  stringidtotypeid( "policyrgb" ), stringidtotypeid( "policy" ), charidtotypeid( "cnvr" ) );       colorsettingsdesc.putboolean( stringidtotypeid( "askmismatchopening" ), true );       colorsettingsdesc.putboolean( stringidtotypeid( "askmismatchpasting" ), true );       colorsettingsdesc.putboolean( stringidtotypeid( "askmissing" ), true );       desc.putobject( charidtotypeid( "t   " ), stringidtotypeid( "colorsettings" ), colorsettingsdesc );       executeaction( charidtotypeid( "setd" ), desc, dialogmodes.no );   }   

after .jsx runs , photoshop launches, .bat script ceases , not move on next steps. have tried inserting 'goto' , 'end' after calling .jsx nothing seems .bat script on track. ideas?

try start command (as @squashman suggested):

start "title" [/d path] [options] "command" [parameters]

so (expanded readability)

 @echo off  set "pspath=c:\program files\adobe\adobe photoshop cs6 (64 bit)\photoshop.exe"  set "jsxpath=path\ps_color_settings.jsx"  set "title=not required"   start "%title%" "%pspath%" "%jsxpath%"  echo opened photoshop, still running...  pause 

Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -