Can i do Expression to keyframes and smooth via script?

hi guys, who know AE scripts can translate expression to linear keyframes via script(now i use app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) ; command) but , for Comman work i must select every time property of layer(opacity, position, scale, etc) where i have expression.... but i need translate very many layers, i always click on property with expression and then do Convert Expression to Keyframes its to long.., can i do something like this
for (var j= 0; j<selectedLayers.length; j++) 
                   var SelLaye= selectedLayers[j];                  
                   if (SelLayer.transform.opacity.expression!=null && (SelLayer.transform.opacity.expression!=null) && (SelLayer.transform.opacity.expression!=null)) //check if layer have expression
                         SelLayer.transform.position.select=true;  //and here i need set cursor to position, expression, etc, where i have expression and translate to linear kayframes(but i dont know how)
                         app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) //do translation
                         SelLayer.transform.rotation.select=true;
                         app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) 
                         SelLayer.transform.scale.select=true;
                         app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes"))
                         //and after this also need do a smoother or something like this for decreasing linear keys for max(because app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes")) create to many keyframes)
sorry for bad English

Sup,
Earlier Dan Ebberts already wrote the answer on CreativeCow:
http://forums.creativecow.net/thread/227/13039#13041
Можно все выбранные значения добавить в массив и потом уже дергать из оттуда, ну либо вручную прописывать в скрипте. Кому как больше нравится.
AE has "Smoother" panel, but as far as I know you can`t access it via scripting using app.executeCommand(app.findMenuCommandId("Smoother")) or something.
But there is a script that makes same work , called Smart Baker. You can download it here:
http://www.creatogether.com/ctg-smart-baker

Similar Messages

  • I can't log into facebook, twitter and youtube via apps.

    I have been having this problem almost for a month, I tried many things to fix it. I removed the apps and installed them again, I restored my iPhone, I checked my internet access etc etc. Everything is fine, I just can't go on facebook, twitter, and youtube via apps. Safari doesn't work for twitter and youtube -- I can go on facebook mobile, but not facebook.com. I read many solutions but none of them worked for me. If you know something about it, please let me know.

    If cant log into Facebook, you will just have to go on to safari and do Facebook on there but also you could try deleting again, restarting your iPad and get the app again.
    I really do hope this works :)
    good luck thanks
    Lydia

  • How can i use my iPhone 4 and connect via bluetooth with my macpro

    how can i use my iPhone 4 and connect via bluetooth with my macpro

    The only way that you can connect your iPhone to the mac is to use it for a "Wi-fi hotspot" meaning that you can use the celluar connectivity of your phone to connect your computer to the interent.
    Do you mean a MacBook Pro of the desktop MacPro?

  • Can i use express for wifi and my router for ethernet or do i need the extreme ?

    Hi there . I'm interested in being able use the dual band feature of the new Airport products for better coverage on my iphone 5 . I have a wireless router with known conflicts with the iphone 5 . As I have never had any airport products I'm not exactly sure how they work . I understand that they don't have connection to internet , so I will have to continue to use my router actual . Currently I use the four ethernet sockets on my router , so my question is can I disconnect the wifi on my router connect the Express by cable and use it's outport to connect to what was originally connected to my router , continue using my router for the other ethernet connections and use the Express for my wifi connections ??
    Thanks for any help &amp; advice .

    You must have an Internet connection to use an AEX as you've described. So you need to connect it to an Ethernet port on your router. Since you are using all the ports on the router what you need to do is get a multi-port switch. The switch connects to a LAN port on your router. It then provides you with 3, 4, or 5 additional ports (depends on the switch capabilities.) You would connect the device you disconnected from your router to a port on the switch. Then connect the AEX to one of the free LAN ports on the switch. In this way the AEX can Join your existing network (also known as Bridge Mode.) You now have an additional wireless router. For this to work as you want you must disable the wireless radio in your non-Apple router.

  • How I can modify the address in rvorder01 and rvdelnote in scripts?

    Hi i want to modify the existing address and company details plz send me the code and how to modify the address of rvorder01 and rvdelnote in script .... THis is very urgent ,,, thankign U

    do you want to modify SAP Standard ? it is not good idea.
    Copy the layout into custom layout and create new output type ,attach ur layout and corresponing print program.
    What address do you want change ?

  • Can an airport express support wireless and wired connection at the same time

    im wondering if i can use wireless and wired connection at the same time

    The Ethernet port that the old AirPort Express has got is to connect the AirPort Express to your modem, not to connect another PC or Mac, so you can only connect wireless devices to the AirPort Express.
    If you have the new AirPort Express, you can connect a wired PC or Mac and more wireless devices or computers at the same tiem

  • HT1386 Is it true that I can no longer sync my calendar and contacts via cable but have no option other than iCloud?

    Thought something was wrong with my iMac, but found that the new OS will no longer allow me to sync contacts and my calendar with my iPhone unless I do it with iCloud.  Do not want to sync remotely and am disappointed that there seems to be no option.  Hoping I read the help (sic) message wrong.

    Dear Fl,
    What are your concerns syncing with icloud?

  • Can I share music from iPad and PC via home sharing?

    There are two accounts, one on each, because I fouled up when I bought the iPad; different email etc. and in the confusion I ended up with two accounts. I cannot 'merge' accounts but is there a way via home sharing to transfer? (Now just purchasing from one account!) 
    Thanks.
    Lesley

    http://support.apple.com/kb/HT3819

  • Getting text object content and position via script / extra?

    Hello everybody,
    we have several Freehand files on OS X (maps) where I need to
    get the text content and the coordinates of objects in a given
    layer. I could not find a possibility how to achieve this via
    Freehand's Applescript support. Am I missing something or is this
    impossible with the standard scripting support?
    I have found a website about an older Xtra (CARTO-INDEX) that
    seems to something along those lines but it was written in the
    Classic days of the Mac OS. Is there a possibility or maybe even
    some sample code showing how this can be done with an Xtra? Is it
    possible to call an Xtra function via AppleScript?
    Illustrator seems to be no alternative here because although
    it seems to provide better scripting support, I get conversion
    errors with my Freehand documents and the object parameters do not
    match.
    Thanks in advance for your advice.

    > we have several Freehand files on OS X (maps) where I
    need to get the text
    > content and the coordinates of objects in a given layer.
    I could not find a
    > possibility how to achieve this via Freehand's
    Applescript support. Am I
    > missing something or is this impossible with the
    standard scripting support?
    MaPublisher 5 for FreeHand might do what you wish to do.
    http://www.avenza.com/products.mapub50.html
    Boris Jerenec and Michael Slomski have written useful Xtras
    for FreeHand.
    You can find contact info for them here, under "Other
    Plug-ins/Xtras".
    http://www.freehandsource.com/_frames/_misc/plugins.html
    If you decide to work in Illustrator, a script called "Make
    Point Type"
    converts FH text to AI point type. There's also a script to
    "Make Area
    Type".
    http://kelsocartography.com/scripts/
    Judy Arndt

  • Tracking menus and buttons via scripting

    I have a main menu page with a few submenus. I want to write a prescript to store a GPRM that tells me what submenu the user has chosen. So far I have...
    the 2 buttons have values of 1024 and 2048 in the SPRM 8.
    prescript for main menu-
    mov GPRM 0, SPRM 8
    div GPRM 0, 1024
    Remote control Menu button script-
    Jump Return to last button-menu1 if(GPRM 0=2)
    Jump Return to last button-menu2 if(GPRM 0=0)
    Scripts for returning to the highlighted button on the respective menu-
    Jump Return to last button-menu1 if(GPRM 1=2)
    Jump Return to last button-menu1 if(GPRM 1=2)
    Jump Return to last button-menu1 if(GPRM 1=3)
    Jump Return to last button-menu1 if(GPRM 1=4)
    Prescript for the track (uses GPRM1 to return to the highlighted button)-
    mov GPRM 1, SPRM 8
    div GPRM1, 1024
    If anybody knows what I'm doing wrong or if i'm overcomplicating things. Please let me know! Thanks

    I usually avoid using pre-scripts in DVDSP because they can interfere with automatic button selection.
    I would simply store the SRPM 8 values in your GPRM on the way to whatever track you are playing. I can't remember if switching VTSes will clear the value of SPRM8 - if not, you can just load SPRM 8 before jumping to the menu.
    Use a stand-alone script with the jump commands specifying the buttons to highlight - be sure to include a simple jump command at the end just in case no valid value winds up in your GPRM.
    SPRM8 can be stored independently of which menu you were on last, so you may also want to use a GPRM to track the menu.
    So each time you jump to a menu, the target will acutally be a script that looks something like this:
    1. Check "whichmenu" GPRM, if returning to the same menu last visited, skip over step 2 to button selection steps, starting with line 4.
    1. Set "whichmenu" GPRM
    3. Jump to menu (default button)
    4. mov SPRM8 to GPRM for "whichbutton"
    5. div "whichbutton"
    6. jump to button 1 on menu if..
    7. jump to button 2 if...
    etc...
    specifying a button on a menu acutally uses the pre-command available for that menu, and usually overrides any pre-script you assign in DVDSP. I don't know how this would act if the button selection is specified in a pre-script.
    Hope this helps -
    Max Average

  • Create OVA from windows and deploy via script

    Hi Guys
    I am looking for a way to deploy a windows VM from an ova package and have it contain things like the ip address et
    However now i would like to use the import-vapp procedure in powercli 5.8 and just populate the information then in the vm
    any ideas how to do this ? How can i create the ova in a way that the deployment will ask me for the ip address / vm name etc / username and password ?
    Or is there a way to do this after the ova is deployed ?
    Thanks  for any help

    Your OVA/OVF needs to be created where these values are configured through properties.
    You can then use the Get-OvfConfiguration to find these properties and populate the hash table that is returned.
    The hash table can be passed on the OvfConfiguration parameter on the Import-VApp cmdlet.

  • Why can't I select my keyframes.

    Hi,
    I just ran into an issue were I am no longer able to select my keyframes.  In short..
    I am not able to right-click any keyframe
    I can only select the first keyframe in a set of keyframes if my time marker is on that keyframe.  Even in this state I still can not right-click that keyframe.
    I can not left click any individual keyframes to make the "yellow".  This means I can not left click a keyframe and drag it along the timeline.
    I have tried everything offered at this link with the same results listed above....
    http://help.adobe.com/en_US/AfterEffects/9.0/WSB4584EEE-D060-4f67-8AEE-7AFE20BFFA2Ba.html
    I am assuming this is a option that I am missing with in after effects.  When I revert back to an early project I have none of these issues.  So at some point today I have done something that I can't not resolve.
    Regards
    Chad

    You have time-stretched the layer and the keyframes end up at inaccesible temporal locations, because they do not coincide with discrete frames. Old issue, that should have been fixed in CS4. Are you running the proper 9.0.2 update? If not, install the update. it may fix the issue. If not, undo the time stretch...
    Mylenium

  • OS UDM's and Corrective action Script at a central Location

    Is that we can place the OS UDM's and Corrective action Script are to be placed at Target server side or can we place these scripts at a central location say on OMS/ OMR server and trigger from here. As if we change a particular script we need to propagate particular script to all location. Instead if we keep these at a central place we can replace that particular script at a single location.
    Please advise.
    Thanks.

    When creating an UDM, you need to create this for a specific Target like a database instance or host
    This means, when you want to create a SQL based UDM, you first need to select a database in OEM and next select the User Defined Metrics link that will allow you to create the UDM.
    After finishing the creation of a UDM, the UDM will be "owned" by the database you selected in OEM.
    This means, when having 50 databases, you are able to create several UDM's spread over all of these databases. This is a situations you don't want to get into. You most probably will want to reuse UDM on several or even all databases.
    To avoid UDM getting duplicated, being spread all over the pace you actually need a "library" where you would be able to locate the UDM's.
    Unfortunately there is not such a library in OEM. However if you decide to choose one of your databases for playing the role of a "library" at least you found a way to centrally locate all your UDM's.
    If you then want to apply one or more UDM's to several database you could create a monitoring template, include the UDM's you want to reuse on other databases and apply this template.

  • Why is the brush tool in Illustrator CC inferior to the brush tool in CS6? It has less control of fidelity and smoothness. It is terrible - and I'm an illustrator. Can I use the CS6 brush engin in CC?

    I loved the brush tool in CS6 Illustrator- by turning fidelity to the lowest setting, and smoothness down to zero, pumping up pressure sensitivity, it accurately reproduced the fine shapes of a drawn stroke. I'm an illustrator, so I don't want artificially smoothed curves, I want the line I drew.
    This works really well with my Wacom Cintiq tablet... but now CC has removed this level of customisation for the brush tool. WHY? The program is called Illustrator, and as an illustrator, I can tell you having an accurate and finely adjustable brush engine to illustrate with is very important to me and to lots of other people who can draw, and draw for a living.
    Now you get this dumbed down control panel when you double click on the brush tool icon- just one slider, with only 4 steps from 'accurate' (not very) to 'smooth' (almost indistiguishable from 'accurate')... it is like I have contracted a nerve disease - I draw a line, and it forms into something quite different to the path my pen took. WHY? Can I get rid of this rubbish engine? Trying the blob brush - what is the point of this brush? It is just like the old brush, except for a cursor that shows the largest size for pressure sensitivity... and it has the same crude 4 step smooth/accurate adjuster, that doesn't change the line much at all. I have the latest driver in my Cintiq, so I don't think that is the issue, and CS6 works better than CC.
    I am very disappointed, Adobe. Do I have to go back to CS6 for all my Illustration work? Please improve the CC brush tool controls.
    I am still reeling from Adobe's quiet removal of a whole tool: Inverse Kinematics/Bone tool from Flash CC JUST when I was finally using it to animate, but that's another story.
    Honestly, having use them for a while, Photoshop,
    Illlustrator, InDesign and Flash CC are, as far as I can tell, no step up at all from CS6, except that you have to pay for them forever.

    More on this, now becoming known as the CC pencil tool fiasco, on these fora:
    Re: PLEASE PLEASE adobe. The new pencil tool has become unusuble to me
    Re: Changing line fidelity with CS6 Brush Tool
    Re: All pressure sensitive brush presets gone!
    If you are affected by the lower accuracy controls for CC's brush or pencil tools, use this Bug report/Feature request form to let the folks at Adobe know- they are actually hopefully going to fix this.......
    thanks to Daniel for setting this up:
    hey all, if you are going to file a bug report (as per Neeraj's suggestion), i've made up a draft to make the process easier.  feel free to adjust it as much as you want, obviously; trying to equip us busy folk.
    Obviously customer service & product development are two different departments, so if you're bummin out on the new functionality, submit a bug report!
    link to submit bug report:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    ******BUG******
    Concise problem statement:
    I was told to by Neeraj N(staff) to report this issue based on this link : (http://forums.adobe.com/message/6065706).
    The Pencil / Brush tools have lost essential functionality with the addition of the new accurate / smooth adjustment preset. Users are no longer able to specify high-accuracy pen mapping, as the finest accuracy setting is now set to 2.5px (legacy versions allowed accuracy to .5px).
    I would think adding additional slider nodes to allow more accurate mapping (while still using the accurate / smooth preset) allow for a minimal change in programming with a maximum return for power users.
    Steps to reproduce bug:
    1. open illustrator
    2. use either pencil or brush tool.
    3. draw erratic and high detail shapes
    Results: shapes are smoothed to 2.5px smoothness, even when the accurate / smooth adjustment preset is set to full accuracy.
    Expected results: shapes have minimal / no smoothing to maintain the integrity of the artwork.
    Thank you for your consideration.

  • Airport utility is not working on Windows. I can configure Airport Expresses with the Macbook but multiple computers with Windows and the latest Airport Utility time out after trying to connect to the router for setup.

    I have been trying to setup Airpot Expresses (both old and new models) for a while now with the Airpot Utility 5.6.1 for Windows without any luck. I have tried this on multiple windows machines, factory reseted the devices if I needed to, but I have not had any success since this software arrived. I see the routers on the Airport Utility UI, I click on it then try to connect to set it up. At this point, it gets stuck with a long progress bar trying to connect to the device without any success. I also have a Macbook Pro, and this device & software has had no trouble setting up the routers. The problem is, we are shipping these small routers out to customers who use Windows machines and it is vital that the user can modify the settings using Airpot Utility. I am at a loss for what to do and if we can't find any solutions, we are going to move on to a different company for the routers we ship out.

    Thanks a lot i followed the instructions for safe mode (i found out that i was pressing the C button after restarting) i did whats written there but the repair couldn't be performed so in addition i needed to re-formate the HD so i erased the volume and then repaired the disk--> quite disk utilities --> start the installation from the installation DVD.
    Thanks really appreciating your help

Maybe you are looking for

  • Title of a page

    The name of a particular page is stored in the column 'component_attribute' of the object FLOWS_010500.wwv_flow_activity_log. Now, I would like to know where the 'Title' of the page is stored. The 'Name' and 'Title' of a page could be different. For

  • Sql server 2012 express - tcp/ip connection to named instance using dynamic port not working

    I have a named instance on a SQL 2012 Express server that won't connect via TCP/IP when wanting to connect off of the dynamic port.  I can connect via shared memory locally on the server.   I can connect to the namespace when specifying the dynamic p

  • Ps3 on Cinema display 27"

    can i connect the play station 3 on Apple cinema display 27" (year 2011)? Please help me :-(

  • Best way to setup data drive on mac

    Have an IMac running ML, 256GB SSD boot drive, and a 2TB HD as well.  Want to get all my PC crap moved over to the Mac, be able to share files etc. and run windows apps in the familiar windows environment for those particular apps. Bought Parallels 8

  • Nokia asha 200

    I m using asha 200,bt phone has gone 2 hell , its apps r not working and update is not working ,edge not working , plzz help