I can't find a way to create functions that I can call from a main script:
like
run myfunction1
with function1 performing some actions and returning with or without value to the main script.
Please advice,
Christian
user functions
-
- Posts: 49
- Joined: Mon Jan 01, 2024 11:21 am
- Contact:
Re: user functions
Use the Start Task action. You can pass some parameters to the task and get the result.
To return the result, simply set the TaskResult variable to the desired value.
We have already discussed this problem not so long ago. Please take a look here. This topic also has the necessary examples.
To return the result, simply set the TaskResult variable to the desired value.
We have already discussed this problem not so long ago. Please take a look here. This topic also has the necessary examples.
Oleg Yershov
-
- Posts: 49
- Joined: Mon Jan 01, 2024 11:21 am
- Contact:
Re: user functions
Thank you for that answer.
I'm learning to work with robotask and I'm starting to convert my winautomation scripts to robotask scripts.
There is a learning curve, but it seems not as steep as I was afraid off.
Thank you to continue providing us with an affordable script development environment.
Christian
I'm learning to work with robotask and I'm starting to convert my winautomation scripts to robotask scripts.
There is a learning curve, but it seems not as steep as I was afraid off.
Thank you to continue providing us with an affordable script development environment.
Christian