I'm trying to automate photo processing. I've created a
script in photoshop to auto process photo on open. I
need
Robo task to monitor a folder and evertime a new file is
uploaded to the folder it will open the new file in
photoshop. Also is there anyway to limit it to only open
a new file ever 30 secs not all at once?
I would say something like this. Not tested. Use as a pattern and fine tune it. I don't trust the file monitoring to always detect so I use a file loop that fires every 30 sec.
<br>;*****************************<br>;* RoboTask Task file<br>;* Do not edit in text editor!<br>;*****************************<br> <br>[Root]<br>ActionAfterRun=INTEGER|0<br>Actions=FOLDER<br>Automat=INTEGER|0<br>CatID=INTEGER|703976723<br>ContinueOnError=INTEGER|0<br>Events=FOLDER<br>ExternalName=STRING|"Task260"<br>Hide=INTEGER|0<br>ID=INTEGER|732681530<br>LogOnAsUser=INTEGER|1<br>Name=STRING|"Auto Process (imported)"<br>OnErrorTaskID=INTEGER|0<br>Priority=INTEGER|3<br>RunOnClose=INTEGER|0<br>RunOnStartup=INTEGER|1<br>ToLog=INTEGER|3<br>WriteGeneralLog=INTEGER|0<br><br>[Actions]<br>Action1=FOLDER<br>Action2=FOLDER<br>Action3=FOLDER<br>Action4=FOLDER<br><br>[Actions\Action1]<br>ActionID=STRING|"A_LOOP_FILE"<br>Enabled=INTEGER|-1<br>Name=STRING|"File Loop"<br>Params=FOLDER<br><br>[Actions\Action1\Params]<br>createmode=STRING|"1"<br>date1=STRING|"20100921"<br>date2=STRING|"20100921"<br>destvar=STRING|"{PHOTO_FILE_NAME}"<br>DuringDays=STRING|"1"<br>DuringHours=STRING|"1"<br>DuringMinutes=STRING|"1"<br>DuringMonths=STRING|"1"<br>file0=STRING|"C:\My Documents\My Photos"<br>filecount=STRING|"1"<br>OlderDays=STRING|"1"<br>OlderHours=STRING|"1"<br>OlderMinutes=STRING|"1"<br>OlderMonths=STRING|"1"<br>savesize=STRING|"0"<br>searchkind=STRING|"0"<br>subdirs=STRING|"1"<br>timesize=STRING|"0"<br>WithoutPath=STRING|"0"<br><br>[Actions\Action2]<br>ActionID=STRING|"A_GENERAL_RUN_PROG"<br>Enabled=INTEGER|-1<br>Name=STRING|"Run ""photoshop.exe {PHOTO_FILE_NAME}"""<br>Params=FOLDER<br><br>[Actions\Action2\Params]<br>ifnonzero=STRING|"0"<br>params=STRING|"{PHOTO_FILE_NAME}"<br>program=STRING|"photoshop.exe"<br>runas=STRING|"0"<br>wait=STRING|"0"<br><br>[Actions\Action3]<br>ActionID=STRING|"A_LOOP_BREAK"<br>Enabled=INTEGER|-1<br>Name=STRING|"Break"<br><br>[Actions\Action4]<br>ActionID=STRING|"A_LOOP_END"<br>Enabled=INTEGER|-1<br>Name=STRING|"End Loop"<br><br>[Events]<br>Event1=FOLDER<br><br>[Events\Event1]<br>Enabled=INTEGER|-1<br>EventID=STRING|"E_GENERAL_CYCLIC"<br>Params=FOLDER<br><br>[Events\Event1\Params]<br>id=STRING|"GJNCASR4"<br>interval=STRING|"30"<br><br>