Simple Question for the Pro’s

Discuss RoboTask here
Post Reply
advsign
Posts: 1
Joined: Tue Apr 05, 2011 3:51 pm
Location: United States

Simple Question for the Pro’s

Post by advsign »

I am trying to get it to do some what should be simple task. I have no programming experience do know what to do. Here is the task: 1. open a website link.2. keep it open for 60 seconds.3. close for 10 seconds.4. Repeat the steps.I need to do this for at least 8 hours per day.Can this be done with robotask?Thanks in Advance
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Simple Question for the Pro’s

Post by Oleg »

see the example below.
It opens Google page for 60 sec from 8:00 to 16:00 every day.
Sate the task text into file and use menu Task|Import to import into RoboTask.

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************

[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|1
CatID=INTEGER|450925781
Comment=STRINGLIST
ContinueOnError=INTEGER|0
Events=FOLDER
ExternalName=STRING|"Task1063"
Hide=INTEGER|0
ID=INTEGER|948766042
LogOnAsUser=INTEGER|1
Name=STRING|"open site for 60 sec"
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
Action5=FOLDER
Action6=FOLDER
Action7=FOLDER

[Actions\Action1]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then"
Params=FOLDER

[Actions\Action1\Params]
case=STRING|"0"
operator=STRING|"2"
type=STRING|"1"
value1=STRING|"{Hours}"
value2=STRING|"8"

[Actions\Action2]
ActionID=STRING|"A_FLOW_IF"
Enabled=INTEGER|-1
Name=STRING|"If Then"
Params=FOLDER

[Actions\Action2\Params]
case=STRING|"0"
operator=STRING|"4"
type=STRING|"1"
value1=STRING|"{Hours}"
value2=STRING|"16"

[Actions\Action3]
ActionID=STRING|"A_GENERAL_RUN_PROG"
Enabled=INTEGER|-1
Name=STRING|"Run ""//www.google.com """
Params=FOLDER

[Actions\Action3\Params]
ifnonzero=STRING|"0"
program=STRING|"http://www.google.com"
runas=STRING|"0"
wait=STRING|"0"

[Actions\Action4]
ActionID=STRING|"A_GENERAL_PAUSE"
Enabled=INTEGER|-1
Name=STRING|"Delay 60000 ms"
Params=FOLDER

[Actions\Action4\Params]
delay=STRING|"600"

[Actions\Action5]
ActionID=STRING|"A_WINDOW_COMMAND"
Enabled=INTEGER|-1
Name=STRING|"Close window ""Google"""
Params=FOLDER

[Actions\Action5\Params]
action=STRING|"4"
caption=STRING|"1"
child=STRING|"0"
class=STRING|"0"
classexact=STRING|"0"
exact=STRING|"0"
findmode=STRING|"0"
hidden=STRING|"0"
processall=STRING|"0"
wincaption=STRING|"Google"

[Actions\Action6]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"

[Actions\Action7]
ActionID=STRING|"A_FLOW_ENDIF"
Enabled=INTEGER|-1
Name=STRING|"End If"

[Events]
Event1=FOLDER

[Events\Event1]
Enabled=INTEGER|-1
EventID=STRING|"E_GENERAL_CYCLIC"
Params=FOLDER

[Events\Event1\Params]
id=STRING|"5WYSSBGF"
interval=STRING|"70"
Post Reply