Simply Simple

Edit and save hello.txt
[crayon-6a9d50f392978314584862/] 
Ducky Scripts are compiled into hex files ready to be named inject.bin and moved to the root of a microSD card for execution by the USB Rubber Ducky. This is done with the tool duckencoder.

duckencoder is a cross-platform command-line Java program which converts the Ducky Script syntax into hex files. Usage is:

As of duckencoder 1.X usage is:

Encode specified file:
[crayon-6a9d50f39297d060663176/] 
Encode to specified file:
[crayon-6a9d50f392980121735574/] 
For example:
[crayon-6a9d50f392981886911090/] 
Compiling hello.txt
[crayon-6a9d50f392983537732983/] 
Save file inject.bin in USB Rubber Ducky