Create a USB Rubber Ducky like device using a Raspberry PI Pico
Download circuitpython for pico board: https://circuitpython.org/board/raspberry_pi_pico/
Plug the Pico board into a USB port. The board will show up as a removable media device. Copy the UF2 file to the root of the media device.
The Pico board will reboot after installing the firmware image.
Download additional libraries: https://github.com/adafruit/Adafruit_CircuitPython_Bundle
from zip file, unpack adafruit_hid folder. copy adafruit_hid to the lib folder.
Circuitpy HID https://learn.adafruit.com/circuitpython-essentials/circuitpython-hid-keyboard-and-mouse
Copy duckyinpython.py to the root of the media device as code.py
$ cp duckyinpython.py //code.py
Copy your Ducky Scipt file as payload.dd
$ cp /path to media device>/payload.dd
Tie pin 0 (GPIO0) to pin 3 (GND) to not automatically run payloads. Easiest way to do this is to add a jumper wire between those pins.