Alerting your user might be one of the most common interactions done in a plugin. In this video, learn how to create one.
- Okay so now we need to update … our async function showPrompt to make sure … that we are using the function that … we just created in the previous video, … and we are generating the text, … the number of times the user inputs it … inside of that prompt. … So the only thing that we need to do … at this point is to add the function … in the case 1. … So case 0 is if we are canceling the command, … case 1 is if we got some input in number … and then passing that input inside … of our function that we created here. … So we are accepting a function as an argument … and then selection as an argument, … so let's go ahead and add that function right here. … So generate text, which takes 2 arguments … and you can see selection and any, … so we're going to pass selection, … because we're getting it from … the top of that function here. … We have selection that we passed as an argument … at the top of this function, … we need to pass it inside of generate text … to be able to use it. … We also need to pass a value, …
Released
9/19/2019- Setting up a coding environment
- Installing required software
- Creating a user interface
- Adding functions to plugins
- Creation workflow vs. collaborative workflow
- Working with the scenegraph
- Using the Adobe I/O Console
- Using Adobe XD plugin helpers
- Updating plugin icons
Share this video
Embed this video
Video: Update main UI function with generator