Trying to make a task where every day of the week a powerpoint slide will run for that particular day.
Ex monday.ppsx, tuesday.ppsx
It will start at midnight each day.
New User - Powerpoint Presentation
New User - Powerpoint Presentation
You should set some variables with names of files.
Like this:
None,Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturda y
Suppose the variable name is MyFiles
Next you can use names so:
{MyFiles({DayOfWeekNo})}.ppsx
DayOfWeekNo begins from 1. Therefore the first element (zero element) will not be used.
Also see small example below:
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|101188231
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task986"
Hide=INTEGER|0
ID=INTEGER|1521495323
LocalVariables=STRING|"MyFiles"
LogOnAsUser=INTEGER|1
Name=STRING|"days of week"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""MYFILES"" with value ""None,Sunday,Monday,Tuesday,Wednesday,Thursday,Frid..."""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"0"
varname=STRING|"MYFILES"
varvalue=STRING|"None,Sunday,Monday,Tuesday,Wednesday,Thursd ay,Friday,Saturday"
[Actions\Action2]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Now play the file:"""
Params=FOLDER
[Actions\Action2\Params]
icon=STRING|"1"
msg0=STRING|"Now play the file:"
msg1=STRING|"{MyFiles({DayOfWeekNo})}.ppsx"
msgcount=STRING|"2"
playsound=STRING|"0"
showmessage=STRING|"1"
Like this:
None,Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturda y
Suppose the variable name is MyFiles
Next you can use names so:
{MyFiles({DayOfWeekNo})}.ppsx
DayOfWeekNo begins from 1. Therefore the first element (zero element) will not be used.
Also see small example below:
;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|101188231
ContinueOnError=INTEGER|0
ExternalName=STRING|"Task986"
Hide=INTEGER|0
ID=INTEGER|1521495323
LocalVariables=STRING|"MyFiles"
LogOnAsUser=INTEGER|1
Name=STRING|"days of week"
OnErrorTaskID=INTEGER|0
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
WriteGeneralLog=INTEGER|0
[Actions]
Action1=FOLDER
Action2=FOLDER
[Actions\Action1]
ActionID=STRING|"A_VARIABLES_SET"
Enabled=INTEGER|-1
Name=STRING|"Set variable ""MYFILES"" with value ""None,Sunday,Monday,Tuesday,Wednesday,Thursday,Frid..."""
Params=FOLDER
[Actions\Action1\Params]
expand=STRING|"0"
varname=STRING|"MYFILES"
varvalue=STRING|"None,Sunday,Monday,Tuesday,Wednesday,Thursd ay,Friday,Saturday"
[Actions\Action2]
ActionID=STRING|"A_DIALOG_MESSAGE"
Enabled=INTEGER|-1
Name=STRING|"Show ""Now play the file:"""
Params=FOLDER
[Actions\Action2\Params]
icon=STRING|"1"
msg0=STRING|"Now play the file:"
msg1=STRING|"{MyFiles({DayOfWeekNo})}.ppsx"
msgcount=STRING|"2"
playsound=STRING|"0"
showmessage=STRING|"1"