I would like to know how to run a python script in a folder, on all .as files
I use IntelliJ IDEA and would like to run a python script when ever I make an update to .as files.
Please advice how to achieve this.
Shaun_Max Out of interest, what are you trying to achieve with the Python script?
It looks like the python code does its thing on an individual file. You'd have to mod it to look at the directory of the folder and step through all the files.
Not sure if this may also help you but you can define "External Tools" and let them run with a shortcut (https://www.jetbrains.com/help/idea/configuring-third-party-tools.html)
2jfw thanks let me giv it a try!
Shaun_Max You can also add these tools (/scripts) before or after the actual Build.
See "Run/Debug Configurations", "Before launch"
2jfw I wanted to convert string literals to hex, which actually worked fine. But seems like most of the compilers can decrypt it pretty easily 🙁
Keep your string literals in a ByteArray file, which makes it a little harder to read.