Page 1 of 1

Import Vectors from clipboard SCRIPT

Posted: Tue Aug 12, 2025 7:35 am
by Shizukuishi
Hello and I'm so happy to share this super powerful little script, that for me is a real gamechanger! I was working on my project when i had to add new assets on it, but the process is very tedious. I always have a lot of mixed filetypes (AI,eps...) so everytime i I have to save a svg copy, then import to Moho (click, click, click.... and so on). :evil:

I have Overlord for After Effects and i wanted something similar, so i came up with the idea of making a script (with ChatGPT of course, cause I am only able to code some simple javascript expressions for AE) that copies the svg code in a temporary file then loads automatically in Moho importer. :mrgreen:

I used ss_svg_import code as base, and it works perfectly (Only tested on Windows 10)!!! 8) It also deletes the temporary file after import...and surprise...i wasn't initially aware...YOU CAN COPY FROM ANY TYPE OF VECTOR FILE!!! :shock: :shock: :shock: (or those i tested at least> svg,ai,eps,afdesign).
I strongly think it should be a default feature for next Moho version (maybe rewrited from a real programmer :roll: )

Give it a spin! :wink:

https://mohoscripts.com/script/mp_Impor ... mClipboard

Re: Import Vectors from clipboard SCRIPT

Posted: Wed Aug 13, 2025 3:07 am
by Maestral
Thanks for this one.
Works like a charm and +1 for adding it to Moho's defaults.

Re: Import Vectors from clipboard SCRIPT

Posted: Wed Aug 13, 2025 10:57 am
by yoleafbug
This sounds very interesting! I'm sorry for not understanding fully though--what's the workflow with this? My first instinct was to try to copy art directly from Illustrator, which seems incorrect lol.

Re: Import Vectors from clipboard SCRIPT

Posted: Thu Aug 14, 2025 1:47 am
by Shizukuishi
yoleafbug wrote: Wed Aug 13, 2025 10:57 am This sounds very interesting! I'm sorry for not understanding fully though--what's the workflow with this? My first instinct was to try to copy art directly from Illustrator, which seems incorrect lol.
You have to include SVG on copy from Preferences>Clipboard Handling