-
So if I have scripts: Script 1: Script 2: is it possible for script 1 to run script 2? btw. would be even possible to run bash script? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yes to both, but you'll want to replace You can see a demonstration of that in the Run an AutoKey script from another AutoKey script section of the AutoKey wiki's Basic Scripts page. Also, the Start external scripts section of the AutoKey wiki's Basic Scripts page demonstrates how to run a Bash script from inside of an AutoKey script. In case you haven't explored it yet, you can find the AutoKey wiki here. You may find the Example Scripts page especially interesting. It's filled with lots of examples and you're welcome to contribute some of your own if you like. Last, but not least, I noticed that you're using the |
Beta Was this translation helpful? Give feedback.
Yes to both, but you'll want to replace
Run "Script 2"
withengine.run_script("Script 2")
to use AutoKey's syntax to run the second script.You can see a demonstration of that in the Run an AutoKey script from another AutoKey script section of the AutoKey wiki's Basic Scripts page.
Also, the Start external scripts section of the AutoKey wiki's Basic Scripts page demonstrates how to run a Bash script from inside of an AutoKey script.
In case you haven't explored it yet, you can find the AutoKey wiki here. You may find the Example Scripts page especially interesting. It's filled with lots of examples and you're welcome to contribute some of your own if you like.
Last, but not least, I notic…