Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I run a script from my command prompt? #31

Closed
ahmedmohiduet opened this issue Mar 10, 2021 · 2 comments
Closed

How can I run a script from my command prompt? #31

ahmedmohiduet opened this issue Mar 10, 2021 · 2 comments

Comments

@ahmedmohiduet
Copy link

I can record my mouse keyboard actions and clicking on 'Tools/Generate Sources' creating script for my actions. So, how can I execute a Repeat script from my command prompt? It appears the documentation lacking information regarding this.

@hptruong93
Copy link
Contributor

Could you elaborate more on why you want to trigger the task from command prompt?

The way to do this is to assign a shared variable https://github.com/repeats/Repeat/wiki/Getting-started#shared-variable as a task activation, then use the CLI (https://github.com/repeats/Repeat/wiki/Command-Line-Interface-(CLI)) to set the variable. For example

java -jar Repeat.jar cli variable -a get -s global -n variable_name -v someval

@ahmedmohiduet
Copy link
Author

@hptruong93 : Thank you for prompt response. It had'nt occurred to me there can be different ways a script can be run. I'm still going through documentation and kind off unsure about its overall workflow. (y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants