These are some scripts that can help automate operations within Figma.
To use them, focus Figma and open up the Developer Tools panel by using the shortcut key Command + Option + I
. Switch to Console tab and click on the last line of the white text area to input text. You are now ready to copy-paste scripts into Figma.
Disclaimer: Not liable for data loss or misoperations. Use at your own risk.