How can I create a textbox-like field?

I am writing a After Effect Plug-in.
I want to create a textbox-like for user, when click om plugin in after effect cs4 popup textbox
So, if there is any example to create that UI for me?
Thanks a lot.

i'll try to give you a wider picture.
AE has no "text" parameter you can add to a plug-in.
you have to either create on using a custon UI, or open a window and use an OS control to allow the user to enter text.
if you're just beginning developing you should probably avoid custom UI. it's a pain.
the simples way to trigger an OS window is using javascript.
yes, just as you would in a regular AE javascript.
there are a few scripts that ship with AE that show how to open a window and even get text input.
the link i added to the previous post show EXACTLY how to implement java from within an effect.
all you have to do is change the java script to one you need.
copy/paste. the rest is ready to use as it is in that link.
how do you know when to launch that window?
there are a few ways to tell.
the most versatile would be a custom UI, but as i said, it's not easy to do.
the second method would be to use "param supervision".
it will tell you when the user clicked on a specific param, so you can launch the window.
relatively simple to pull off.
look at the "supervisor" sample to see how it's implemented.
the third method is the simplest, and i would recommend it for a beginner.
as many effects that require some window to open do, you can use the "options" button to launch the window.
you can even change the name of that button using PF_SetOptionsButtonName().
look at the "checkout" sample.
it has it all.
it changes the name of the "options" to "whatever i want!".
it even has a function called PopDialog() that... pops up a message window when clicking on the options button.
all you'll need to do, is replace the content of the PopDialog() function with your window code.
that should get you up and running.

Similar Messages

  • How can I create a Text-Input Field in BexAnalyzer for a Planning Function

    Hello,
    i want to create a pre calculation(contribution accounting) for Materials in BI-Integrated Planning. These Materials aren't in the master data. So I create a new Info Object for pre calculated materials with only a material-number as key and a text-description.
    Now I want to write a Exit-Function, which creates new materials in these Info Object. The user should start this function in a planning application in BexAnalyzer. There the user should have the possibility to enter a text-description for the new material. How can I create such a Text-Field in BexAnalyzer and how can I read this text filed in a planning function (exit).
    Thanks in advance

    Hi Jürgen,
    you can create a parameter for this in the exit function and a variable for the parameter. In BEx Analyzer then create a button for the planning function; in the button parameterization use VAR_NAME = , i.e. use an Excel formula here to get the value from an Excel input field.
    The command range should be some 'hidden area' in your Excel sheet.
    But may be you don't need this. Use a characteristic without master data. Then ensure that that the query uses the option 'key' as display. In new lines you can then enter the key, the system creates a SID on the fly (but the text table will not be updated). In this scenario you may take text also from the key. May be you can update the text table (online or in batch) by simply using function modules from function group RSNDI_MD (not released by SAP).
    But observere that the system in BI Planning reads only the active version, i.e. if you change something on the fly the changes may not be visible.
    Regards,
    Gregor

  • How can I create a drawing like the one pictured from a photo?

    How can I create a drawing like the one pictured from a photo?

    OK, you are getting closer. Now, use your result, and place a Layer above that. Use the Pen Tool to create the "pen strokes" basically tracing over your background image. Then, when you have created each Path (or Sub-Path), choose Stroke Path, with probably the Pencil Tool and a Brush size that is small enough.
    Not sure which versions of PS these are good for, but here are some plug-ins, that might be helpful.
    AKVIS Sketch
    EdgeLine
    Sketch Effects
    Sketch Master
    I see that one of my old favorites, Flaming Pear's India Ink is not around any more.
    Good luck,
    Hunt

  • How can I create the component like ComboBox in flashlite2.0 ?

    How can I create the component like ComboBox in flashlite2.0
    I'm a new man, please gave me an example!
    Thanks.

    I don't see anything special about the play button in MPMoviePlayerController....
    the "glowing" effect icons are all standard UIBarButtonItem objects:
    http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIBarBut tonItem_Class/Reference/Reference.html

  • How can i create a Laptop like the ones use in SAP TecEd?

    How can i create a Laptop like the ones use in SAP TecEd hands on labs? with all the NW products install on it.

    Hi,
    Vague question, but to create a laptop with the solution installed - you need to order the solution and and then install it on the laptop. Or download trial versions from SCN and install those as well.
    Regards,
    Srikishan

  • How can I create an expandable text field in Acrobat XI?

    I am trying to create a text field that expands with the text that is entered. I have found several forums saying to use subforms, but how do I create those? Does anyone know where I can find a really good turtorial for XI?

    There are two type of PDF forms: AcroForms that can be created with Acrobat, and XFA forms (static and dynamic) that can be created with LiveCycle Designer. Since the kind you want (dynamic XFA) cannot be created with Acrobat, you'll have to use LiveCycle Designer. Said another way, AcroForms do not support fields that automatically expand based on content. If you want to ask about dynamic XFA forms, you can ask in the LiveCycle Designer forum: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es

  • How can i create a website like this?

    Hello Adobe Community
    I've had this idea in my head for a while, but i cannot think of how to create it.
    I think of creating a website with a very nice layout where you can purchase and submit your own ebooks to sell, and they need to be approved by an admin before it shows up on the website.
    I have been thinking about this for some time but i don't have a clue on how to create a website like this and it must take a very long time.http://puu.sh/5Ki7Q.png
    My idea: You can hover over the ebooks to get more information about them, you can see star rating and feedbacks / comments under the ebooks.
    I need help with getting started on the right track, i don't know very much about Dreamweaver, but i am starting to get good at it. I know HTML and a little CSS.
    I would really appreciate any help i can get.

    Unless you have very strong coding skills with PHP & MySql,  I think you could do most of this with  WordPress and  WordPress plugins for e-commerce, star ratings, lightbox viewer, reviews, etc...
    Nancy O.

  • How can you create subtitles just like in movies?

    Hi, I recently purchased Final Cut Pro X and I was wondering how to create subtitles just like in movies. Thanks

    Does FCP X support subtitles like you see in Blu-ray or DVD?  I.e. subtitles for the narrative?
    I know you can put titles but subtitles would be something that needs to keep "changing".

  • How can i create a dialog like JOptionPane functionality

    I want to show a dialog to the user by calling a method.
    1. showWindow() method will create an object of a Dialog.
    2. Dialog will return an Integer Data.
    3. this Integer data is the return type of showWindow() method.
    How can I do that?
    For Example,
    public int showWindow(){
            int iSelectedOption = JOptionPane.showConfirmDialog(null,"Do you want to save?");
            return iSelectedOption;
    }Expected:
    public int showWindow(){
            GeneralDialog dialog = new GeneralDialog();
            int iSelectedOption = dialog.selectedValue();
            return iSelectedOption;
    }

    thanks for your help,
    i did a small demo, just chenk and tell me what did is right?
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JComponent;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTextField;
    public class SimulateOptionPane extends JFrame implements ActionListener
        JButton                 btn    = new JButton("YES");
        JButton                 btn1   = new JButton("NO");
        public static final int YES    = 1;
        public static final int NO     = 2;
        private int             result = 0;
        public SimulateOptionPane()
            JPanel jp = new JPanel();
            jp.add(new JTextField(10));
            JPanel jp1 = new JPanel();
            btn.addActionListener(this);
            btn1.addActionListener(this);
            jp1.add(btn);
            jp1.add(btn1);
            int i = getResult(this, jp, jp1);
            System.out.println("------->" + i);
        public int getResult(JFrame parent, JPanel jp, JPanel jp1)
            JComponent panel = new JPanel(new BorderLayout());
            panel.add(jp, BorderLayout.CENTER);
            panel.add(jp1, BorderLayout.PAGE_END);
            JDialog d = new JDialog(parent, true);
            d.add(panel);
            d.pack();
            d.setVisible(true);       
            return this.result;
        public static void main(String[] args)
            new SimulateOptionPane();
        public void actionPerformed(ActionEvent e)
            if (e.getSource() == btn)
                result = YES;
                dispose();
            else if (e.getSource() == btn1)
                result = NO;
                dispose();
    }thnaks
    daya

  • How can i create a page like this

    Hi
    I have a client who liked this page effect the gallery
    section looks like the mac doc is there a similar plug in i can
    purchase and integrate in one of the html pages?
    http://www.belloproductions.com/index-3.html

    Hi Kiran,
    As you wrote "i selected different pic from standard list,but it is displaying one standard pic only."
    I hope you want to change the picture of Headings only ie your workset in above mentioned case right ??
    To change the picture go the role->then select added workset -> then open properties of worset ->now look for the
    Pictogram  properties of workset here from drop down select your desired pic and save the changes.
    Now open portal the look for the changes ie new logo for the heading.
    If  new picture is not coming the try to clear the portal caches and check again .... other way to get the changes remove the
    assigned role from user and change the role id and assign to user again now you will get new changes
    without clearing  the cache.
    how to add custom pic?
    To add custom pic you need to add the new pictures in the par file called  com.sap.portal.navigation.mimeservice.par
    So download the this par file from ROOT/WEB-INF/deployment/temp this location from Portal support , even you can copy from server too.
    Now import the par file in NWDS and copy your new pic in images directory ..now build the par file again and
    upload it on portal. But here new images will only appear in drop down list when you portal is restarted.
    I hope you know how to import par in NWDS  don't forget to add required jar file in both the lib folders.
    There can be other way also to change the picture where portal restart is not needed . So if you don't want to change in this way then search for other method and let me know also.
    Regards,
    Piyush

  • How can I create subject index like in a published book?

    I want to create index in pages. Can anybody help how?

    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=141&highlight=index& mforum=iworktipsntrick
    Peter

  • How can i create a background like this?

    I know how to make it, just very much copies of the object, place them n the right way and tadaa.
    But is it possible without that much work? Like a preset or After effects/photoshop etc.
    Here's an example:

    Try Replicate.
    You will find it under Stylize in the Effects panel.

  • How can I create a folder-like thing for my downloaded Screencasts?

    Hi,  Every now and then I download/purchase screencasts from various places. Is there a way for grouping the screencasts based on some criteria (e.g. their name) like iTunes groups podcasts?  Thanks in advance, Behrang

    Solved! I converted the Media Kit to Show and edited the show name and now they are grouped in TV Shows by Show Name.

  • How can I create tree menu (like windows explorer) in Portlet

    On my page I need a portlet which will be a tree menu (expandable and collapsable).Items in the menu are just URLs.
    EG: Main menu
    SubMenu1
    -Item11
    -Item12
    -Item13
    Submenu2
    -Item21
    -Item22
    -Item23
    I crated a menu portlet in 9iAS portal R2, But it is not able to expand or collaps inside the same region.
    When I clik on Submenu1 it open a new window and Items are dispayed on window. I do not want that, I need to see all items in a submenu at the portal region itself, then when I clik on that Item(URL) I wiil get that new page/file as per the URL.
    On the menu portel design/layout screen of Oracle9iAS portal, it looks good (with exand/collaps), I want the exact same functionality for the menu on my page region.
    Please give me a quick answer

    Hi,
    This is not possible with Portal right now. You can run the menu as a tree by clicking on the frame view icon at runtime of the menu in the full page mode. This is not possible on the page.
    Thanks,
    Sharmila

  • How can I create a form for users wherein the text field will expand to accommodate additional text?

    How can I create a form for users wherein the text field will expand to accommodate additional text?

    You need to use LiveCycle (PC Only) to create a dynamic form like that.
    The best you can do with Acrobat to view all of the text in a field is to set the field to multiline, and set the size to "Auto" (If you don't set the size to 'Auto', you can enter as much text as you wish, but the user will need to use the scrollbar to view all of the text.)

Maybe you are looking for