Page 2 of 2

Re: Electro 4 Program Reference Card

Posted: 12 Nov 2016, 14:30
by danielwolk
Guys,

Could You help me and sent an instruction how to use / run a script on Macos Yosemite?
Thanks!

Re: Electro 4 Program Reference Card

Posted: 12 Nov 2016, 15:32
by cEgws
  1. Download the script: https://raw.githubusercontent.com/10x10 ... refcard.py and save it to your "Downloads" folder (in Safari, Save As… and don't append ".txt" to the filename).
  2. Save your program file from NSM. By default NSM saves it to your "Documents" folder. Let's say the filename is "Nord Electro 4 Program 2016-11-12.html"
  3. Open Terminal.app
  4. Type this exactly:
    python Downloads/make_nord_refcard.py -o Desktop/refcard.html Documents/Nord\ Electro\ 4\ Program\ 2016-11-12.html
  5. Double-click on the refcard.html file that has appeared on your desktop, and enjoy.
Explanation: this command uses the built-in python on Mac to run the script with the output file "refcard.html" on your Desktop, using the input file "Nord Electro 4 Program 2016-11-12.html" from your Documents folder. The backslash-space is necessary "escaping" of spaces in the filename.
You can add the -v or -t arguments if you want:
python Downloads/make_nord_refcard.py -v -t "My Electro 4" -o Desktop/refcard.html Documents/Nord\ Electro\ 4\ Program\ 2016-11-12.html

Re: Electro 4 Program Reference Card

Posted: 12 Nov 2016, 22:19
by danielwolk
cEgws - Thanks a lot! Working perfect :yourock: