Page 1 of 1
[Can I] open all images in folder
Posted: Tue Mar 01, 2011 2:52 am
by zubisid
I am a student n00b to RoboTask
If new photos are added to a folder, it should open them in a photo slide. The monitoring part is easy, but can I use RoboTask (or with combination of another software) open all the new photos in a photo presentation?
Any help would be appreciated. I need it for a school project!
[Can I] open all images in folder
Posted: Tue Mar 01, 2011 3:13 am
by Oleg
It depends on your photoviewer.
I simply run JPG file and my photoviewer shows it automatically.
See the example below.
Also you can find more examples here.
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|1709077872
Comment=STRINGLIST
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task1051"
Hide=INTEGER|0
ID=INTEGER|176114585
LocalVariables=STRING|"photo_file"
LogOnAsUser=INTEGER|1
Name=STRING|"Slideshow"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
Action3=FOLDER
Action4=FOLDER
[Actions\Action1]
ActionID=STRING|"A_LOOP_FILE"
Enabled=INTEGER|-1
Name=STRING|"File Loop"
Params=FOLDER
[Actions\Action1\Params]
createmode=STRING|"1"
date1=STRING|"20110301"
date2=STRING|"20110301"
destvar=STRING|"PHOTO_FILE"
DuringDays=STRING|"1"
DuringHours=STRING|"1"
DuringMinutes=STRING|"1"
DuringMonths=STRING|"1"
file0=STRING|"D:\Photos\*.JPG"
filecount=STRING|"1"
OlderDays=STRING|"1"
OlderHours=STRING|"1"
OlderMinutes=STRING|"1"
OlderMonths=STRING|"1"
savesize=STRING|"0"
searchkind=STRING|"0"
subdirs=STRING|"0"
timesize=STRING|"0"
WithoutPath=STRING|"0"
[Actions\Action2]
ActionID=STRING|"A_GENERAL_RUN_PROG"
Enabled=INTEGER|-1
Name=STRING|"Run ""{photo_file} """
Params=FOLDER
[Actions\Action2\Params]
ifnonzero=STRING|"0"
program=STRING|"{photo_file}"
runas=STRING|"0"
wait=STRING|"0"
[Actions\Action3]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 5000 ms"
Params=FOLDER
[Actions\Action3\Params]
delay=STRING|"50"
[Actions\Action4]
ActionID=STRING|"A_LOOP_END"
Enabled=INTEGER|-1
Name=STRING|"End Loop"
[Can I] open all images in folder
Posted: Tue Mar 01, 2011 3:52 am
by zubisid
Thank you for your reply. You are most kind.
What I was doing is use IrfanView and command line to show the photos in full screen and slideshow format. It works but I need a text file with all the photos and it's full path
Now what I'm doing is I'm using File monitor+Save Changes to know what new files are coming into a folder. Then I'm using this file to pass it to IrfanView and it works well.
But - when new files are entered, the previous save changes log file gets overwritten. Is there any way I can append to the Save Changes file rather than overwrite it?
[Can I] open all images in folder
Posted: Tue Mar 01, 2011 4:37 am
by zubisid
Never mind - thanks for your help. But did it!