I want to be able to run a python script like a keyboard macro, just by pressing a certain combination of buttons. Is it possible, if yes, how?
Yes, if you're on a Mac, you can create a 'quick action' in Automate using an apple script to tell Terminal to do something like 'tell application "Terminal" to do script "python myscript.py"'. Then, you can go into your keyboard shortcut preferences and add a hotkey to the action.
you click f5 if you have windows
Try Ctrl + F5 . It worked for me.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.