Is it a good idea to add predefined effects using presetEffects.xml?

Hello

I am currently working on a plugin using scriptUI.
One thing I do is add a control null, which have many options for expressions.

My basic problem is I want to sort them into groups for better ergonomics. The only way I found to do this, add some excerpts to presetEffects.xml. (please tell me if you know another way)

Presents all works. So great. But now, I think, is it really a good idea? My main concern is: will they stay there? When the user is updating to a newer version of AE they are replaced?

Y at - it other problems, that I should be aware?

Thank you
Jakob

If you would not add new effects to null-controller, I think that the best way to organize things, is to create custom predefined ( you can use this script )

store as a binary file inside your script, and then apply this preset.

Tags: After Effects

Similar Questions

  • I do not understand this statement "It is a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument."

    It's a good idea to keep track that uses a bunch of Audio channels selected in the arrange window, unless you actively play or record on a software Instrument.

    Which no longer applies in Logic Pro X 10.2.3. In old versions of logic, selecting a range with a software instrument automatically would make this instrument in "Live" mode, which means that the instrument has begun to transform any MIDI in sound with a minimum of delay. This direct mode becomes an instrument need CPU power (on a single processor) and peut overload the audio engine. It is a waste of CPU if there is no direct game. Then select an audio track would ensure that No instrument is in direct mode. Now (LPX 10.2.2 or more) in direct mode can be turned on or off on a track, chosen or not - it is the R button on the track header.

  • How to add lines to the PresetEffects.xml from a script

    Hi, I would like to add a few lines in the PresetEffects.xml to another text file or an another JavaScript add lines like this how can I do? :

    < name of the group = "$$$ / AE/Preset/AnimalHead14 / = mouth" >

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthOffsetX = mouth X shift" default = '0' valid_min = '-30,000"valid_max ="30000"slider_min = slider_max"-500"= '500' precision ="1"DISPLAY_PERCENT ="true"/ >"

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthOffsetY = mouth Offset Y" default = "0" valid_min = "-30,000" valid_max = "30000" slider_min = slider_max "-500" = '500' precision = "1" DISPLAY_PERCENT = "true" / > "

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthScaleWidth = scale Overture" default = "100" valid_min = "-30,000" valid_max = "30000" slider_min = slider_max '-500' = '500' precision = "1" DISPLAY_PERCENT = "true" / > "

    < name of the cursor = "' $$$ / AE/Preset/AnimalHead14/MouthScaleHeight = scale of mouth height" default = "100" valid_min = "-30,000" valid_max = "30000" slider_min = "-500" slider_max = "500" precision = "1" DISPLAY_PERCENT = "true" / > "

    < / Group >

    < / effect >

    {function onClick.btn

    Add the lines of my text file in the PresetEffects.xml

    I did once, like this:

    var scriptEffect = {};
    scriptEffect.xml =
    
        
            
            
        
        
            
            
            
        
    ;
    scriptEffect.matchName = [email protected]();
    
    function installScriptEffect(){
    
        var ret;
        var file = new File(Folder.appPackage.absoluteURI + "/PresetEffects.xml");
        var str, idx, header, xml;
        var xmlSettings = XML.settings();
    
        XML.setSettings(XML.defaultSettings());
    
        try{
            if (!file.exists) throw "ERR_FILE_NOT_FOUND";
    
            file.open("r");
            str = file.read();
            file.close();
    
            idx = str.indexOf("");
            if (idx<0) throw "???";
    
            header = str.substring(0, idx-1);
            xml = new XML(str.substring(idx, str.length));
    
            if (!xml.contains(scriptEffect.xml)){
                xml.appendChild(scriptEffect.xml);
                if (!file.copy(new File(file.absoluteURI+".bak"))) throw "ERR_CANNOT_WRITE";
                file.open("w");
                if (!file.write(header + xml.toXMLString())) {file.close(); throw "ERR_WRITE_FAILED";};
                file.close();
                alert("Preset installed succesfully. Please restart After Effects");
                }
            else{
                alert("Preset already installed. You need to restart After Effects to make it effective.");
                };
            ret = true;
            }
        catch(e){
            file.close();
            alert(e);
            ret = false;
            };
    
        XML.setSettings(xmlSettings);
    
        return ret;
        };
    

    Then, when you want to add the effect, check with myLayer.effect.canAddProperty (scriptEffect.matchName).

    If true, nothing to do, otherwise use the installScriptEffect function. Normally, it works (haven't tried for a long time).

    Xavier

  • G41 - update to Vista Edition family Basic is a good idea?

    sorta, I like to keep my g41 and was curious if an upgrade to Vista Home Basic is a smart idea. as you know, my hardware is a little outta date... Thanks in advance

    James

    Note of the moderator; subject published

    Fortunately, NVIDIA keeps supporting the legacy cards. If most of the distributions out there should work fine.

    If you're new to Linux, I would try Linux Mint on a CD or USB drive. Lubuntu is also a good idea because he goes easy on older hardware. You can continue to try different distros until you are comfortable with one or find one that you like best.

  • I think switching from Windows XP to Windows 7, but it seems complicated. Is this a good idea?

    I want to get rid of my security Computer Associates software. It overload my system.

    I believe that a combination of Windows 7 and Microsoft Security Essentials and Web of Trust would do a good job.

    Switching from XP to Windows 7 seems complicated. Is this a good idea?

    I would appreciate any advice. I am a former novice

    Thank you

    Get rid of CA security software and do general maintenance on your system would probably go a long way to improve your computing experience.  See help! My computer is slow!

    Unless you plan to buy a new computer with Windows 7 pre-installed, make sure that your hardware is compatible with Windows 7 (for the most part, this means that Windows 7 drivers are available; problems are more likely to occur with older laptops).  Download and run the Windows 7 Upgrade Advisor.

  • Restore my HP Pavilion laptop to factory settings it is a good idea?

    I recently accidentally changed my default settings of the police, I did everything I could, except for the restoration of my hard drive to its default settings. However, since I bought this computer a year ago, I noticed faster internet and less connection issues, as well as some other problems fixed. I'd be willing to sacrifice my default settings for performance, so I was wondering if it would be a good idea to restore my computer to its default settings. Also, I currently do not have records to back up my data, so I'll need to do the same. Another thing, my HP Advisor advised me not to restore my laptop unless I really need to.
    Yet one thing, lightning struck our House a few months ago. Unfortunately, I accidentally turned off my father the day before surge protector. Anyway, he destroyed all of our equipment to wireless internet, as well as the fan of my father. We then contacted AT & T and they sent us a few tricks, with phone, download order software online to make our internet work. I do not have these registered Web sites and I don't know how in the world I would like to reinstall that software. So, I was wondering if I drop everything this software if I did a factory restore.
    Thank you for your time and support, rlnachtigal

    I'm with your HP consultant. Restoring default values should be a last
    Resort. If you need assistance resetting your fonts, start another thread for
    which. I'm sure you will find the repair of fonts one relatively simple
    task, compared to the restoration of your PC.
     
    "lnachtigal" wrote in message news: ec23156a-a398-40da-9465-20dd2c358d08...
    > I recently accidentally changed my default settings of the police, I did everything what I
    > could, except for the restoration of my hard drive to its default settings.
    > However, as I bought this computer a year ago, I noticed
    > faster internet and connection issues, as well as other less
    > issues fixed. I'd be willing to sacrifice my defaults
    > performance, so I was wondering if it would be a good idea to restore my
    > computer to its default settings. Also, I currently do not have the disks to
    > save my data, so I'll need to do the same. Another thing, my
    > HP Advisor advised me not to restore my laptop unless I really need to.
    > One last thing, lightning struck our House a few months ago.
    > Unfortunately, I accidentally turned off my father surge protector the
    > night before. Anyway, it destroyed all our wireless internet,
    > fan of my father. We then contacted AT & T and they sent us a few
    > Stuff, along with order of phone, download software online
    > to our internet job. I do not have these registered Web sites and I don't have
    > know how in the world I would like to reinstall that software. So, I was wondering
    > if I drop everything this software if I did a factory restore.
    > Thank you for your time and support, of rlnachtigal
    >
     
     
  • Good idea to save to shared dir *.db files / sdCard?

    Hello
    I was wondering, is it a good idea to save files *.db APP to one of the directories in the file system to backup purposes or Let's save it in the directory without extension ".db"?

    Any other way to back up the data if sqlite is used?

    I'm not totally "want to share my table with any organization!

    Thank you

    S.

    Bad word really like the hash usually means change the bytes to something unreversible in this case, I meant just dressing up the bytes on the eye if you load a file into a byte editor it will be immediately obvious, it is a database file.

    So reverse the order of the bytes in the file or write as hex codes (will double the size of file), something along these lines that will prevent a casual viewer.

  • is the power line Networking is a good idea to build werkgroep netwerk with windows 7

    Hello

    1-is the power netwerk line is safer than wifi or it has also some drawbacks.

    2-can we replace cables in small business with power line newterk adapters or it is not a good idea.

    3 can be power supply adaters also suspect to sniff.

    Thank you

    Johan

    "Broadband PLC" was the provision of access to internet via incoming food, not something that was very common or successful.

    Your proposal is entirely internal is so different, for example, they refer to it "are on the same range" as ADSL. HomePlug PowerLAN solutions do not have something like this beach as it is designed to work with a main inner ring.

    Yes, the technology is much improved and the standards are now closely identified. Most units also offer an encrypted mode that allows only of these units in a group sure talking to each other.

  • Is it a good idea to replace the 2.5 "HDD (with partition recovery inside) with a SSD?

    Hi all

    I have a ThinkPad E420 with the recovery partition in the HARD drive. I intend to sell the excessive 750 GB 5400 RPM HARD drive and replace it with a 120 GB SSD, because I need responsiveness instead of ability. Is this a good idea?

    Thanks in advance.

    Best regards

    Haris

    Lenovo: 'as sensor airbag, Active Protection System can detect sudden changes in motion and temporarily stop the hard drive to help protect your valuable data against certain accidents that might happen because of cell phone accidents every day."

    This tool is designed to protect not the mechanics of the SSDS. It would not apply in your case.

  • Is that a provision thin good idea system drive?

    Just wonder if it's a good idea to streamline the MS 2012 System Disk (disk C) available?

    One argument is that the system drive does not change frequently.  However, another argument is thin provisioning may impact performance of the system, System especailly drive.

    Your opinion is requested.

    In my opinion, it would depend on the case of the server.

    In case the server is used as an application server and associated application files are still stored on the system disk, which is default, then you should go to the thick provisioning.

    However, if it's going to end up like database/file server where work real files are stored on a separate disk, then you can implement your thin disk system.

  • Hi, I got my subscription for the year running last for Photoshop and Lightroom. Because I had the good idea to download the 2015 CC of Photoshop, I return to the evaluation period. I would like to know, when this period ends, will I get my subscribed v

    Hi, I got my subscription for the year running last for Photoshop and Lightroom. Because I had the good idea to download the version of Photoshop CC 2015 (I thought it was just an update...), I get to the evaluation period.

    I would like to know, when this period expires, will I get my purchased version back or should I get a new subscription?

    If I get a new subscription, one is cancelled automatically, or do I have to do something else?

    Thanks a lot for the answers!

    If you are subscribed to the creative cloud, Creative Cloud 15 updates are included.

    If when you updated, all or part of the CC apps show 'trial start or buy now' in the creative cloud desktop application, please see this link:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

  • Use ACFS for CFS is good idea?

    Hello Experts.

    Plans to build a CAR on the following environment.

    Oracle Database worm. : 11.2.0.3
    OS: Linux RHEL 6.1 - 64 Bit
    Servers: HP

    ASM and ACFS for storage.

    Here need advice: use ACFS for CFS is good idea or anything else better than that?

    Thank you in advance:

    Ajazjn76.

    ajaz76 wrote:
    Is ACFS as Veritas, HP tru64, OCFS2 or even we need none of these CFS at the top of the ACF. Please advice. Thank you.

    Nothing necessary at the top of the ACF. He will manage by oracle itself as ASM.

  • is it a good idea to run the JAVA virtual machine inside the hypervisor?

    If I want to write a global user inside the hypervisor platform and you want to reuse some java lib, it's a good idea to install and run the JAVA virtual machine as part of global programs of the user inside the hypervisor? Thank you.

    Maybe you listen to the wrong people?

    The ESXi hypervisor is pretty well stripped of the linux console you are talking about, there is a thin busybox linux like environment, but you are strongly advised not to run anything in there.

    Performer of applications within this console may have all kinds of side effects such as severely affect the performance of your computer virtual guests.

    Why the hell would you want to run the JAVA virtual machine inside the hypervisor? What is the reason why you want to do this? If it's because you get a better return, then you're wrong, the console becomes just a little bit of resources available on your host computer.

    If this is to go directly to the features that the hypervisor provides then the VMA we're talking is the answer.

    So getting back to your question initial for EACH use case that I can think it's a very bad idea.

    --

    Wil

  • Tables and frames, are that they still a good idea to use in design

    What I know about SEO that they are not really a good idea.

    They seem to be able to be done in css, so is the best way to go...?

    Aren't good ideas, especially executives.

    Mainly, minimal tables used for data forms perhaps.

    If you can do without, so it is best to do. If you must use then do so, but in moderation.

  • Why flash keys, not a good idea?

    I'm trying to understand a problem I have with flash keys (especially as I don't want users to have to click twice to make them work), and I keep seeing messages (especially by Murray) asking if the poster knows that flash keys are not a good idea. However, I was unable to find an explanation as to why they are a bad idea. Can someone explain it to me in simple terms? I am very new to Dreamweaver and web development in general. I'm developing an intranet site for a specific user group where accessibility is not a huge problem.

    Thank you!

    .oO (bhkate)

    > However, I was unable to find an explanation regarding
    > why they are a bad idea. Can someone explain it to me in layman
    > terms?

    On a Web site accessible to the public, it is generally a very bad idea to build
    the most essential part of a site Web - the navigation - technical
    which may or may not be available on the client side. The only really
    reliable is HTML, which will still work. Something else must be
    considered optional.

    Of course, there is nothing wrong with the addition of CSS, images, JavaScript or
    same Flash, but you must make sure that the pages work also without
    These techniques. In many cases, it is possible to provide alternative
    content, for example for images ' alt' attribute. Even the use of
    Flash allows you to provide alternative content, but most of the people do not
    use of this ability, either because they do not know it or they
    Use a browser that does not support.

    > I am very new to Dreamweaver and web development in general. I am
    > development of an intranet site for a specific user group where accessibility
    > is not a huge problem.

    Even on an intranet, it is IMHO important to take care of the standards and
    usability problems. A good example is the typical "we all use IE in our.
    ' intranet, therefore optimize us the site for that. This may work for now and
    Maybe more time, but what happens if one day the IT guy decide to replace
    IE with a browser more advanced to improve the security of the intranet and
    the productivity of enterprises? * kaboom *.

    Apart from the web standards and optimization for a particular browser or
    platform always means a lot of unnecessary work to do in the future.

    Micha

Maybe you are looking for

  • Qosmio G30 fan at full speed

    Hi all I had my motherboard replaced undery guaranteed because of the graphics card being dead a year after purchace abd now the machine works fine but has a boring top speed fan spinning at the instance I press the ignition button. The official repa

  • I try to get online with a home group

    Original title: homegroup I try to get online with a home group. My system works with my group?

  • Security updates

    Security updates: I have 5 years of value, is there a way to remove or clean up some and still have security?

  • Local access only to my network. Tried everything!

    I was waching an online TV show the other day when my internet crapped all at once on. At first he never even found my wireless network, only one called "linksys" and my neighbours networks. When I tried to connect to the linksys network, it only let

  • BlackBerry Z3 sound off all in composition

    How do you turn off the sound of the keypad? Now, if I dial a number, I hear a noise on each issue. I want to turn off. Z3