Best way to add an input parameter of text for a plugin effect?

I am trying to write a plugin that will generate text (among others) according to certain rules. The thing is, how do I get the text of entry in there... What do I have to use PF_Param_ARBITRARY_DATA for this or there at - it an easier way? Also, if I create using arbitrary data, could I support Unicode characters in this field?

Thank you!

Unfortunately, After Effects (and therefore also the SDK) do not offer native controls for input of text strings.

There are several ways to work around that.

-One - as you have already said - coding and draw your own interface for setting to custom help ARB. However, it is very long

-Another option is to have a button parameter when you click on the dialog box open a native OS with text controls. This however requires a knowledge of the operating system specific APIs and is not cross-platform, unless you use a middleware like JUCE or GTK, wxWidgets.

-Troisieme and probably most easy option: yet once a button setting, but this time (using AEGP_ExecuteScript) that it launches a native JS Adobe UI dialog script (which is cross-platform and easier to implement). The result of the entry of text can be sent to the plugin via the last return command in the script.

Tags: After Effects

Similar Questions

  • What is the best way to add libraries to a project?

    What is the best way to add technology to the ADF? For example log4j. Or the on-board recorder features log4j?

    Hello
    Hope useful

    http://technology.AMIS.nl/Blog/8380/manage-JDeveloper-external-libraries

  • best way to add a CURVES layer

    Hi all

    I am writing to you the best way to add an ArtLayer with a script.

    I already know that it is possible to add an Artlayer, and then change the layer.kind to the TEXT property.

    But unfortunately it is not possible to add change this property to LayerKind.CURVES.


    Here is an example

    /**
     * Function to add a layer to a Document
     * @param {LayerKind} layer_kind, the type of the layer (CURVES, TEXT, SELECTIVECOLOR)
     * @param {Document|LayerSet} [obj = app.activeDocument] the obj which contains the new layer
     * @return {ArtLayer} layer the added layer
     * @todo add a better test to check if layer_kind is an enum of LayerKind
     * @toto add control the layer is background or not
     * @todo https://forums.adobe.com/thread/1601245
     */
    my.add = function (name, layer_kind, obj) {
    
       if (obj === undefined) {
       var obj = app.activeDocument;
      }
    
       if (typeof layer_kind !== 'object') {
       throw {
       name: 'InvalidArgumentError',
       message: 'you must enter a valid value for the param layer_kind [CURVES, TEXT, SELECTIVECOLOR, etc.]',
       fileName: $.fileName,
       lineNumber: $.line
       };
      }
    
       var layer = obj.artLayers.add();
    
       layer.kind = layer_kind;
       layer.name = name;
    
       return layer;
    
    }
    

    So the only way to add different type of layer should use listener Action Script?

    I'm a little confused, because it would be much better to be able to change the layer.kind property.

    In advance, thank you very much for your help.
    Best account.

    Don't forget your does not deal with Adobe here it is the user forums.  If you want changes made to Photoshop scripts that you need to address Adobe please use Photoshop family customer community and submit a suggestion.

    Adobe DOM is limited without Manager Action code via ScriptListener Photoshop script script is not very useful because limited methods of model DOM of Adobe Photoshop. Many Photoshop features are not supported and the supported features can be supported in a limited way.

  • Best way to add the query?

    Hey all, I'm adding the media to the Html file. I was wondering is it better to add them inline in the Html file or add them in the CSS file? I added a slide show to a container and want only on the left with a line to the right to add text. I want this float underneath when the xs.

    This is the code:

    < div class = "container-fluid" >

    < div class = "row" >

    < div class = "col-md-12 col-md-offset-3" >

    < h1 class = 'text-center' >#< / h1 >

    < / div >

    < / div >

    < hr >

    < / div >

    < div class = "container" >

    < div class = "row text-Center" >

    < div class = "col-md-6 col-md-offset-3" >

    < div id = "carousel1" class = "slide Carousel" data-ride = "Carousel" >

    < ol class = "Carousel-indicators" >

    < li data-target = "#carousel1" data-slide-to = "0" class = "active" > < /li >

    < li data-target = "#carousel1" data-slide-to = "1" > < /li >

    < li data-target = "#carousel1" data-slide-to = "2" > < /li >

    < /ol >

    < div class = "Carousel-interiors" role = "listbox" >

    "< div class ="active item"> < img src="file:///HD/Users/macuser/Library/Carousel_Placeholder.png "alt ="First slide"class ="Center-block">

    < div class = "Carousel-caption" >

    < H3 >first slide heading< / h3 >

    < p >first slide legend< /p >

    < / div >

    < / div >

    "< div class ="item"> < img src="file:///HD/Users/macuser/Library/images/Carousel_Placeholder.png "alt ="Second image slide"class ="Center-block">

    < div class = "Carousel-caption" >

    < H3 >second slide heading< / h3 >

    < p >second slide legend< /p >

    < / div >

    < / div >

    "< div class ="item"> < img src="file:///HD/Users/macuser/Library/images/Carousel_Placeholder.png "alt ="Third slide"class ="Center-block">

    < div class = "Carousel-caption" >

    < H3 >section third slide< / h3 >

    < p >third slide legend< /p >

    < / div >

    < / div >

    < / div >

    < a class = "Carousel-control left" href = "#carousel1" role = "button" data-slide 'prev' = > < span class = "glyphicon glyphicon-chevron-left" aria-hidden = "true" > < / span > < span class = 'sr-only' >previous</span > < /a > < a class = "carousel-control right" href = "#carousel1" role = "button" data-slide 'next' = > < span class = "glyphicon glyphicon-chevron-right" aria-hidden = "true" > < / span > < span class = 'sr-only' >Next</span > < /a > < / div >

    Click outside the blue container select this option for < strong >line< facilities >. The columns are always contained in a line. < Strong >lines are indicated by a dotted grey lines and rounded corners online< facilities >.

    < / div >

    < / div >

    Find it me easier to add online and I think this is the best way. This way I have add a container then an ID and this is where I add questions from the media. Is this the wrong way? I keep seeing people adding them in the CSS file. What is the best and why? I'm a newb. Thank you!

    I think that sometimes people get a little confused by the Bootstrap classes that establish points of breaking for you if used correctly.  So in that sense, I guess that some people may think it's the CSS inline code.  But technically, it's just the HTML markup.   In this example, you can set widths different collar for xs, sm, md and lg devices.   Bootstrap is mobile in the first place, so the default value is 12-xs-col.  This is why we don't need to express it in our code.

    something here...

    class=" "="">
  • What is the best way to add more languages to my Adobe Muse site?

    Hi, I just created a site for an international artist of the work. I finished the site of Muse in 1 language. Now, I want to add 2 other languages on the site that I realized. I would like to add the choice for the visitor to link to the home page (text or in a signpost) to 'their' language. I imagine that the 2nd and 3rd language are part of the same site.

    What is the best way to do?

    Or: where can I find the information in the Adobe-help site? I prefer to read the instructions in Dutch. If this is not possible, the English will be correct.

    Thank you, Martha

    Hi Martha,

    You can consult the links below:-

    (1)How to put in place a multilingual with Adobe Muse website and push it live to Adobe Business Catalyst

    (2)re: How can I create different languages for my page?

    Kind regards

    Neha

  • Best way to add numbers or available several pages

    I have a ticket that needs to be numbered. It is small enough to mount 5 on a sheet of 8.5 x 11.

    Each ticket must be numbered.

    I can do a master page and adds all the numbers in this way and then make a pdf.

    What is the best way to get the numbers on tickets that are printing 5 up on a sheet and I can print via a copier?

    There are several ways to do this:

    1. create single page tickets, numbered by car and use institution the Copier feature (if available and access to the)

    2. use the data with the numbered list merge and produce several cliché recording to create a 5 - up document

    3 create a 5 - model up with block of text frames for import of numbering, a numbered list that flows into the document

  • Oracle 12 c, the best way to add a foreign constraints on a property to json

    Hi, I wonder what is the best way to achieve a foreign constraint in this situation:

    In TABLE_A there is a column CLOB with the constraint "check is JSON.

    Is it possible to create a foreign key on a column property of json that references a column (primary key) on another table?

    Is it possible to create a constraint on a column property json referencing a property of another JSON column on another table?

    Currently, I do as well using a trigger, or by adding a column copy the value of the property of json which I need the constraint.

    Are there other ways to do this?

    Thank you!.

    Supported JSON is relatively new for Oracle 12 c.

    Is it possible to create a foreign key on a column property of json that references a column (primary key) on another table?

    Is it possible to create a constraint on a property of the column of json that refers to a property of another JSON column on another table?

    As I know there is no way to create a constraint on a property JSON in a column. Part of the issue with JSON is that not all properties are required to be present in the JSON document. What would you do if these goods were missing?

    Currently, I do as well using a trigger, or by adding a column copy the value of the property of json which I need the constraint.

    That's how I'd do. If you have a JSON property that must be part of a constraint, use a trigger to fill another column, then put the constraint on this column.

    See you soon,.
    Brian

  • best way to put up a second NETWORK adapter for the data on NAS Server store

    I want to add a second NETWORK card if I can get the best possible performance for when I move the data store of the ESXi host to the NAS (which will also have a dual NIC). What is the best way to set up the NETWORK card on the ESXi host to achieve?

    PS - I am aware that I am limited to the real network speed of 1 Gbps and conditions and I agree with that (any of the virtual machines are eager resources or production).

    SOLVED... I think so. JPM300 got on the right track, but I was still not clear on it so I googled all this involving and finally landed on an iSCSI with MPIO configuration. I ended up as a result of this article (I use a Synology DS415 +, but the steps are pretty universal): How to use iSCSI targets on VMware ESXi with Multipath i/o - SynologyWiki. The article is old but always worked perfectly for me. I checked the two paths/NIC are used simultaneously, but I did not actual test to see if I have 200 MB/s of bandwidth (I've seen 80 MB/s when the cloning of virtual machines to the new iSCSI data store using vmfstools).

    I ran into a problem where the second path is not added during the alternating market; I removed the path shown and then was able to add the second path, then the first path again.

    Hope this helps someone.

  • What is the best way to always increment at index 0 only for an array of multiple elements?

    The principle is to complete a worksheet of left right in the same line but the increment of the column letter only (IE - B4 and C4 etc.). Herewith, I adapted an existing example VI that works for an array of 2 elements (ie - B4) but does not work for a 3-element array (ie - B40, B50 becomes). Keeping simple, what is the best way easier to modify my existing code to always check that the size of the table and the index automatically return to 0 to correctly increment the first letter only (IE - B) and not the number (IE - 4)?

    Thank you!

    Barry

    Instead of 'index automatically to zero', why not just make a zero instead of the size of table manipulation-1-1?

    Of course it will all fall apart once you get to column Z.

    Also look into the Board of Excel.   Do not post question.  This is just a link to the other discussions related to Excel.  Some of them might give you ideas how to manipulate your cell references.

  • How is the best way to make a mirror of your site for a Spanish version that links to English and Visa versa

    I need my site be multilingual and I was wondering what is the best approach for this. Sites will be identical with the changing text from one language to another.

    Hi David,

    You can copy the pages and all of its contents will be copied to. You can then change the text to the desired language. In order to link the pages to other pages of language, you must add the hyperlink on the pages for the pages in your preferred language.

    Kind regards

    Aish

  • What is the best way to keep the high resolution when recording "for the web".

    the files that I save to the web so I can get them in jpg (or gif) are coming very pixelated.  That's when I print the image.

    What is the best way to save for the web, an image and keep the good resolution.

    using a business card template.  template Avery will allow me to attach images I want to project.  to do this...  I 'get file computer' and it deletes the image in but real little... then you are supposed to expand on your work as you want.  Well, when I enlarge this image file, it gets pixelated bad.  I think it's the way that I am saving it.  I do not adjust anything when I save.  Maybe I should.  This is where I need advice.

    That's what avery model notes on the images, I am allowed to use - when downloading the image, the maximum allowed size is 4 MB.  You can download the JPG and PNG RGB or CMYK images.  so when you recommend things, can you please take this into account

    Thanks for oyur times.

    Aida,.

    When you register with the default template using save for web, it's usually a setting very low.

    While in the registration window, you can set the size in pixels of the image you want with the quality and the resolution too.

    Refer to video tv.adobe.com save for web or Adobe Help file for detailed instructions.

    Florian

  • Best way to add words to the different parts of the frame?

    There are sometimes opportunities when I want to put the text on different parts of the screen, possibly with different fonts sizes and colors etc.

    On this occasion, I'm going to fill in the spaces in the jury of the Clap below.

    Is there a quick way to do it using a single title I can position each word (or groups of words) exactly where I want to?

    Or do I just add writing in Photoshop? This would limit still edit in FCP X.

    To add the likelihood that I will use fonts like marker felt, slate etc.

    Change the fonts and sizes is normally done in any title - just select the text and apply the changes. No need for a special title for this.

    To move the text independently:

    It is very easy to create a title in movement with more than one piece of text - this is a title with two layers of separate text:

    By posting the Position for each text, you can place and move independently.

    This will appear in the tab title of the Inspector instead of the video tab.

    In a quick test, I could not change the name of the parameter, but it works very well

    :

  • What is the best way to add memory to disk to my Macbook Air?

    I got a 2013 13 "Macbook Air with 120 g of memory.

    I looked at my drop of memory available to a worrying 18 g even if my applications are only 9g and my office is 14g.

    I ran several management programs to clean up the disk drives, but my available storage is 18g / file.

    So now I am considering my options to get more storage.

    What I've read it seem a good idea would be to get a 128g Transcend Jetdrive.

    But then put my apps and my office on the Jetdrive only release 23g.

    So I would appreciate input from those more knowledgeable than myself.

    Is a Jetdrive my best option?

    What I could put on the Jetdrive to free more memory?

    Thanks in advance.

    Please read OS X El Capitan: increase the disk space.

  • Best way to add two mic clips to a video clip

    I have two microphones tie run in two different channels (not the camera).  I want to add these two audio clips to video.  I took the two clips and clip video and synchronized together... that works although I... now no control over each audio clip is what it is.  Is there a better way to do it, or where I can have control over each audio clip in the timeline?

    Have you used the function of the extent of the audio components in the timeline?

  • best way to add and change the menu all programs without turning off UAC?

    I just download HJsplit, as someone has sent me a video file into segments to overcome the limitations of attachment size. HJsplit doesn't require installation, but UAC is actually prevents me from adding it to the start menu.

    What would be the 'proper' normal procedure to add it to the menu all programs on the start menu, preferably in an existing folder, called "utility" without having to go through two reboots to turn UAC on or off?

    If there was a previous version of Windows 95 and XP, I would have included the word "shortcut" in the paragraph above.

    Essentially the same as option B in my two ways, but without the use of the command prompt to start the Explorer. I must have accidentally deleted the icon from the Windows Explorer of my account administer as I find it, but it appears in my standard account and backup my admin account.  Thank you, he let discover me the missing icon, and I fixed it.

  • Maybe you are looking for