AiCommandPalette icon indicating copy to clipboard operation
AiCommandPalette copied to clipboard

FR: Nested command / Use palette to send value to script

Open RasmusMalver opened this issue 9 months ago • 6 comments

Hi Josh,

I am still loving this wonderful plugin, and I've been going mental, writing scripts for Illustrator. In that; I hit an obstacle, that may be solvable, using the command palette:

When scripting, I can prompt the user for text input, and ok / cancel, but I can't ask the user to choose from a list. Imagine if the palette could get a choice from the user, and send it to the script.

Case: I want a command to copy the active color to the clipboard. But I want to prompt the user for CMYK / RGB / HEX. I want to choose my script from the palette, and have the palette ask me to choose from the list.

Is that difficult to make? I'm thinking it could be an option, when building a workflow.

RasmusMalver avatar Apr 25 '24 18:04 RasmusMalver