Should be simple. Right?

Discuss RoboTask here
Post Reply
56Loaches
Posts: 4
Joined: Wed Feb 19, 2020 4:09 pm

Should be simple. Right?

Post by 56Loaches »

I want to "GoTo" my C:/ drive...or any other.
I want to go to a specific folder on any of my drives.

What is the "Action" ?
Kevin
Oleg
Site Admin
Posts: 3010
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: Should be simple. Right?

Post by Oleg »

You can use Run program/Open documentaction and specify necessary folder.
Look at my example below. It opens c:\temp folder
Save the text of the task to a file and use menu Task->Import to import the task into RoboTask.

Code: Select all

;*****************************
;* RoboTask Task file
;* Do not edit in text editor!
;*****************************
 
[Root]
ActionAfterRun=INTEGER|0
Actions=FOLDER
Automat=INTEGER|-1
CatID=INTEGER|444033236
Comment=STRINGLIST
ContinueOnError=INTEGER|0
DoNotStopWhenShutdown=INTEGER|0
ExternalName=STRING|"Task221"
Hide=INTEGER|0
ID=INTEGER|-386182928
LogOnAsUser=INTEGER|1
Name=STRING|"Open temp folder"
OnErrorTaskID=INTEGER|-1
Priority=INTEGER|3
RunOnClose=INTEGER|0
RunOnStartup=INTEGER|0
ToLog=INTEGER|3
UnicodeFormat=INTEGER|1
WriteGeneralLog=INTEGER|0

[Actions]
Action1=FOLDER

[Actions\Action1]
ActionID=STRING|"A_GENERAL_RUN_PROG"
Enabled=INTEGER|-1
Name=STRING|"Run ""temp """
Params=FOLDER

[Actions\Action1\Params]
ifnonzero=STRING|"0"
program=STRING|"c:\temp"
runas=STRING|"0"
wait=STRING|"0"

Oleg Yershov
56Loaches
Posts: 4
Joined: Wed Feb 19, 2020 4:09 pm

Re: Should be simple. Right?

Post by 56Loaches »

Oleg,
The instructions in your first sentence were enough. I hadn't continued through to see how many variables there were with each action choice.
Thanks very much.
Kevin
Post Reply