Expressions and scripting

Hi
I've several questions about programming in Ae
And I hope to find answers with you
1- What are the differences between : expressions and scripting ???
2- I'm not a programmer , so , can I be proficient in expressions ? and how ?
3- again , I'm not programmer
can I learning Java script ?

An expression is a little piece of softwaremuch like a scriptthat evaluates to a single value for a single layer property at a specific point in time. Whereas scripts tell an application to _do_ something, an expression says that a property _is_ something.
With expressions, you can create relationships between layer properties and use the keyframes of one property to dynamically animate other layers. For example, you can use the pick whip to link path properties, so a mask can take its path from a brush stroke or a shape layer object.
The expression language is based on the standard JavaScript language, but you do not need to know JavaScript to use expressions. You can create expressions by using the pick whip or by copying simple examples and modifying them to suit your needs.
Be sure to read the
"Expressions" section of After Effects Help on the Web.
Dan Ebberts has an excellent collection of example expressions and scripts and tutorials for learning how to work with expressions and scripts on his website: http://www.adobe.com/go/learn_ae_motionscripthome.
The AE Enhancers forum provides many examples and much information about expressions, as well as scripts and animation presets: http://www.adobe.com/go/learn_ae_aeenhancershome.
JJ Gifford provides several example projects on his website that demonstrate how to use expressions: http://www.adobe.com/go/learn_ae_jjgiffordexpressions.

Similar Messages

  • Regular expression and Script component in SSIS 2008

    Could you please help me to write regular expression so that it can be used in script component to fetch the data from fixed width file so that the file format can be validated and loaded accordingly.
      IR-TYPE                        PIC X.
     IR-JOB                         PIC X(4).
     IR-PHASE                       PIC X(2).
     IR-CO-ID.
     IR-LVL1                        PIC X(2).
     IR-LVL2                        PIC X(2).
     IR-EMP-NBR                     PIC X(10).
     IR-CK-NBR                      PIC 9(9).
     IR-CK-DATE                     PIC X(6).
     IR-CK-AMT                      PIC S9(7)V99.
     FILLER                         PIC X(35).
    The above schema definition will be stored in regualar expression and through script component each column will be fetched and validate to verify the file format.

    I am quiet new I can provide the file layout .
    1819001HB01002582016 03009291810050200013399I
    1712001HB01004688418 03009007210050200021143I
    1712001HB01004688418 03009007310050200005950{
    Schema definition of the file
    IR-TYPE                        PIC X.
    IR-JOB                          PIC X(4).
    IR-PHASE                      PIC X(2).
    IR-CO-ID.
    IR-LVL1                        PIC X(2).
    IR-LVL2                        PIC X(2).
    IR-EMP-NBR                  PIC X(10).
    IR-CK-NBR                    PIC 9(9).
    IR-CK-DATE                  PIC X(6).
    IR-CK-AMT                   PIC S9(7)V99.
    FILLER                         PIC X(35).

  • Binding expressions and collections

    <quote>
    In addition to being able to read the initial value of a field from an object, value binding expressions can also be used to navigate maps, lists, or arrays. Here are some examples:
    #{foo[bar]}
    #{foo["bar"]}
    #{foo[3]}
    #[foo[3].bar}
    #{foo.bar[3]}
    </quote>
    Could anyone explain how does it work ? Is foo is always bean ?
    Isn't #{foo["bar"]} identical to #{foo.bar}
    Also in "Core JSF" they say #{foo.bar[3]} doesn't work if bar indexed property of a bean.
    <anotherquote>
    The syntax of a method binding expression has two primary formats:
    #{expr-a.value-b}
    #{expr-a[value-b]}
    The first format is a classic DOM-style object tree structure. The second format can be used to call a method pointed to from an object array, Map, or List.
    </anotherquote>
    The same question how to use the second form.

    An expression is a little piece of softwaremuch like a scriptthat evaluates to a single value for a single layer property at a specific point in time. Whereas scripts tell an application to _do_ something, an expression says that a property _is_ something.
    With expressions, you can create relationships between layer properties and use the keyframes of one property to dynamically animate other layers. For example, you can use the pick whip to link path properties, so a mask can take its path from a brush stroke or a shape layer object.
    The expression language is based on the standard JavaScript language, but you do not need to know JavaScript to use expressions. You can create expressions by using the pick whip or by copying simple examples and modifying them to suit your needs.
    Be sure to read the
    "Expressions" section of After Effects Help on the Web.
    Dan Ebberts has an excellent collection of example expressions and scripts and tutorials for learning how to work with expressions and scripts on his website: http://www.adobe.com/go/learn_ae_motionscripthome.
    The AE Enhancers forum provides many examples and much information about expressions, as well as scripts and animation presets: http://www.adobe.com/go/learn_ae_aeenhancershome.
    JJ Gifford provides several example projects on his website that demonstrate how to use expressions: http://www.adobe.com/go/learn_ae_jjgiffordexpressions.

  • Airport Admin loses Express and Extreme, no iTunes, no Network Printer

    Ever since I have upgraded to Tiger, I’ve experienced a strange, random Airport Extreme/Express problem which I have not been able to solve. I can sometimes replicate the problem but never consistently.
    Laptop Configuration: 15” Powerbook G4 running Mac OS Tiger 10.4.3 with most current patches. System is stable and manifests no problems.
    Airport Network Configuration: Network is closed with 128bit WEP encryption. No other laptops attached to the network besides my Powerbook.
    Base Station: Airport Express attached to DSL modem with “Distribute IP Addresses” checkbox enabled, running firmware v6.2, stereo speakers plugged into audio jack. Network access is restricted by MAC address; RADIUS not in use, default IP address scheme is used.
    Remote Base Station: Airport Extreme running firmware v5.6. The Extreme hosts a HP 1012 LaserJet printer plugged into the USB port and an IP phone plugged into the LAN port.
    The Express and Extreme are within 15 feet of each other and enjoy a clear, strong 802.11b/g wireless signal on Channel 1 with a multicast setting of 11, interface robustness enabled and transmit power set to 100%.
    Symptoms: iTunes loses its remote speakers setting; I cannot print to the network printer attached via USB to Airport Extreme; Airport Extreme and Express do not appear in Airport Admin Utility….yet I can access the network via the Powerbook, I have full internet access and IP phone can make calls. I just can’t print to the network printer or use AirTunes.
    Troubleshooting: I can restore all functionality if I perform a hard reset of the Airport Express Base Station then re-import my saved Airport Express base station configuration settings. I typically look at the Airport Admin Utility to determine if functionality has been restored. If both the Airport Express and Extreme appear in the Admin utility, all is well. If they are not there, sometimes a laptop reboot will restore them, other times they will not appear when the Admin Utility is opened or when I rescan. If a rescan fails, I can access the Express and Extreme by typing in the IP address and password. Then each will show up in the Admin Utility and I can make changes and restart the devices. Even with a device restart, they will not automatically appear in the Admin Utility.
    I first thought the problem was associated with the laptop going to sleep but this is not the case. Sometimes when I reset the Base Station, re-import the configs and reboot the laptop, I am able to automatically see the Express and Extreme in the Airport Admin Utility. Other times I can’t. Sometimes my settings will last a few days and I’ll enjoy full functionality then they will disappear. Other times they will disappear immediately, even with a reboot and a reset of the Express and Extreme.
    If I use a 3rd party utility called Cocktail and reboot, I can restore functionality. Cocktail will delete all user, system and kernel caches, delete all log files, rerun disk permissions, and run the daily, weekly and monthly Apple Kron maintenance scripts. If I reboot after running Cocktail, my Airport Extreme and Express appear in the Admin Utility. Thus, I think the problem may be associated with a Airport Extreme cache file becoming corrupted or deleted upon reboot…….but I am not positive.
    If there are any Airport experts out there, let me know what you think. I love Apple, I love my Mac and my little Airport Network…….but this is ******’ me off! Thus my plea for advanced geekery review and assistance.
    Talk to me!

    If the Airport Admin Utility cannot automatically "see" your Base Station, you have a big clue as to the cause of your problems. On a private LAN, it should never be necessary to select "Other" and manually type in the Base Station's IP address.
    The most likely cause for the Airport Admin Utility not being able to automatically "see" an Airport Base Station - is a firewall on the Mac that is blocking it. Any of the following are possible:
    - you have installed non-Apple firewall software on the Mac
    - you have installed so-called "internet protection" software on the Mac
    - you have installed "internet monitoring" software on the Mac (like "Little Snitch")
    - you have installed VPN client software on the Mac - and many of these applications install their own firewall
    All this stuff needs to go, since it will cause all sorts of trouble with communication between a Base Station or Airport Express, and a Mac.
    I'd also be very worried about what this "Cocktail" utility is really doing to your system.

  • Toll fraud traffic pumping on a Call manager express and unity express with an 800 toll free number.

    I have a customer with a call manager express and a unity express. They have an 800 toll free number that rings in to an auto attendant on the CUE. The problem is something called toll fraud traffic pumping. The caller, always from a different number, reaches the auto attendant by dialing the 800 number. They then somehow manage to keep the line connected for up to 12 hours by somehow staying in the auto attendant. I opened a TAC case and was informed that it is not in Cisco's hands to create a way to disconnect a call that is connected to the CUE. I need a way to have a call that stays in the auto attendant or voicemail after 3 to 5 minutes. I can't see a way to do it in the auto attendant script. Can someone help with a method that will disconnect the caller if they stay in the CUE for a period of time?

    Thank you for the response Jaime.
    That is what TAC told me. I am not familiar with TCL scripting and I have been looking at some guides on it. Any advice on a source to go to for assistance with that, possibly someone to help?

  • Spreadsheet and script

    HI,
    i need some help in oracle application express with a spreadsheet and script linkup.....if any one can help me please contact me on : [email protected]
    the spreadsheet contains errors which i knw off, but im confused how to fix one error so i can upload it later on
    thanks in advance

    HI,
    i need some help in oracle application express with a spreadsheet and script linkup.....if any one can help me please contact me on : [email protected]
    the spreadsheet contains errors which i knw off, but im confused how to fix one error so i can upload it later on
    thanks in advance

  • Web browser and script activeX controls and HTML data

    Hello,
    I'm trying to use the Microsoft Web Browser (IWebBrowser2) and Script (IScriptControl) activeX controls in Labview to evaluate and execute HTML script.  If I wire the web browser control's document object to the object input of the Script control's AddObject method, I can then evaluate/execute script such as "document.f.btnI.focus();" and such (in this case corresponding to Google's home page).  However, there are other expressions that include the "window" object that are proving much more difficult to work with.  Although I can browse the document object's parentWindow object via the property browser, if I try to access that object programatically, I get the error "Error -2147467262 occurred at No such interface supported".  I'm wondering how to include the window object for scripting.
    I'm writing a content-oriented web crawler.  I've been writing it with pretty low level TCP functions, handling 301/302 "object moved" and "<META HTTP-EQUIV="refresh" CONTENT="0; url=http://millercountyliberal.com/">" redirections manually.  But there are other automatic script-based redirections like:
    <script language="JavaScript" type="text/javascript">
    <!-- window.location="http://www.jrnl.com" -->
    </script>
    that I'm still trying to figure out how to work with.  As you can see, to work with that one manually involves the window object.  The reason that I don't just let the Web Browser object handle the redirections is because that object often throws script errors, downloads embedded graphics and other unnecessary components, can't handle some non-standard redirections, and sometimes annoyingly crashes.  Any help would be appreciated.  A code sample is attached.  The Web Browser control should already exist on your machine if you have Internet Explorer installed.  The script control may need to be registered before it can be used as follows:
    regsvr32 "c:\MyDir\XHTTP.dll"
    Thanks.
    Attachments:
    HTML Script Testing.zip ‏773 KB

    Hi Ted,
    This seems to be a problem with the way you are referencing the ActiveX properties.  I would research a little more on the API for these objects.  See http://msdn.microsoft.com/workshop/browser/webbrow​ser/reference/ifaces/iwebbrowser2/document.asp for an explanation of the IWebBrowser2 Document property.  I am suspicious of where you are typecasting the Document variant into the IHTMLDocument2 object and this is where the error is being thrown.
    A search of this error code on Google shows that this is a generic error from the ActiveX object, and not a LabVIEW error, although it is confusing since LabVIEW uses error codes in this same range.
    Hope this helps!
    Doug M
    Applications Engineer
    National Instruments
    For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

  • Assistance with Regular Expression and Tcl

    Assistance with Regular Expression and Tcl
    Hello Everyone,
      I recently began learning Tcl to develop scripts for automating network switch deployments. 
    In my script, I want to name the device with a location and the last three octets of the base mac address.
    I can get the Base MAC address by : 
    show version | include Base
     Base ethernet MAC Address       : 00:00:00:DB:CE:00
    And I can get the last three octets of the MAC address using the following regular expression. 
    ([0-9a-f]{2}[:-]){2}([0-9a-f]{2}$)
    But I have not been able to figure out how to call the regular expression in the tcl script.
    I have checked several resources but have not been able to figure it out.  Suggestions?
    Ultimately, I want to set the last three octets to a variable (something like below) and then call the variable when I name the switch.
    set mac [exec "sh version | i Base"] (include the regular expression)
    ios_config "hostname location$mac"
    Thanks for any assistance in advance.
    Chris

    This worked for me.
    Switch_1(tcl)#set result [exec show ver | inc Base]   
    Base ethernet MAC Address       : 00:1B:D4:F8:B1:80
    Switch_1(tcl)#regexp {([0-9A-F:]{8}\r)} $result -> mac
    1
    Switch_1(tcl)#puts $mac                               
    F8:B1:80
    Switch_1(tcl)#ios_config "hostname location$mac"      
    %Warning! Hostname should contain at least one alphabet or '-' or '_' character
    locationF8:B1:80(tcl)#

  • [WebView] external HTML loaded, but without styles and scripts...?

    Hello again :)
    I am using WebView to load an external HTML document for layouting and styling my application. Thereby I generated an executable .jar to use this as a sstand alone application. Here it snaps.
    When I load the HTML, its loaded without styles and scripts, mentioned in the <head> part of the doc. Scripts, pics and styles are referenced relatively. That works indeed: laoding the doc in Chrome results in a fully functional website, but doing so with the .jar does not.
    This is how I load the page:
    URL markupURL = null;          
    markupURL = getClass().getResource("/mockup.html");
    browserEngine.load(markupURL.toExternalForm());
    getChildren().add(browser);Thats how the styles are linked in the HTML:
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css">
    <link rel="stylesheet" type="text/css" href="css/metrostyle.css">So consider the following folder structure:
    - commport
    # mochup.html
    # comm.jar
    - css
    # bootstrap.css
    # metrostyle.css
    /css
    /commport
    I repeat: this structure works in a browser. Why not in the jar?
    thanks :)
    Edited by: W4tson on 22.01.2013 16:59
    Edited by: W4tson on 22.01.2013 17:02

    Unfortunately you need to form your xml a little differently.
    <data>
    <title>HelloWorld</title>
    <content>Here
    is some &lt;i&gt;html&lt;/i&gt; text I want to assign to a text area.</content>
    On the server I use a java utility to replace the html less than (<) and greater than(>) and other characters with the amper html equivelants.
    However I am sure that there must be a regular expression syntax somewhere out there that will do this in Flex.  

  • Need help with Airport Express and so on.

    Ok so my main problem before getting into what I need help with here is that our MacBooks and now my iPhone 6 plus isn't staying online. Keep getting booted off and then I either have to select the network again or it will eventually go back on. If anyone has a solution or so please feel free to answer that as well. I'm running on Roadrunner with a Netgear 600 wireless router and a motorola modem. Both of which I'll leave the link to below for a better look.
    My Main Question: So I'm looking at a new wireless router mainly and possibly a new modem. I know Apple products are trustworthy but how good is the Airport Express and other Airport products. Also what is the Maximum speed and Maximum data speed for the cheapest express station and if anyone knows the speeds of the other devices it would be greatly appreciated.

    DSL Router to Netgear 5-port Switch and I used the switch to connect to Airport Extreme, TV, Blue-Ray DVD player and DirecTV Receiver.
    The AirPort Extreme base station (AEBS) is a router so it will do what you need.
    You need to reconfigure your setup. Connect the WAN port of the AEBS to the DSL router. Then connect the Netgear switch to one of the LAN ports on the AEBS. The AEBS will properly share the connection.

  • I am traveling with my macbook pro and I forgot to install final cut express and quicktime pro before I left. How can I in a way download them for free on my laptop from where I am

    I am traveling with my macbook pro and I forgot to install final cut express and quicktime pro before I left. How can I in a way download them for free on my laptop from where I am? I need them and don't want naturally to buy them again!!!
    Thank you    

    Assuming you purchased QT Pro, you can always download it again at no extra charge by logging in to your Apple account.
    Regarding FCE, there is no way to download & install the product.  You need an original FCE install disk and your FCE serial number.
    Final Cut Pro X (aka FCPX) can be purchased & downloaded from the App Store.

  • I am trying to connect Garritan Personal Symphony to Logic Express and Garageband. A dialog box pops up and asks for plugin Garritan-P. Where do I find it and what do I do with it. I can't locate this plugin doing searches on any of the porgrams.

    I am trying to connect Garritan Personal Symphony to Logic Express and Garageband. A dialog box pops up and asks for plugin Garritan-P. Where do I find it and what do I do with it. I can't locate this plugin doing searches on any of the porgrams.

    I'm not sure which version of Garritan Personal Orchestra you have or when you are getting a window pop-up, but check this link for starters:
    http://afjohnston.blogspot.com/2009/11/using-garritan-personal-orchestra-gpo.htm l

  • I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    I am trying to use macro express and adobe acrobat 9 profession keeps shutting down, why is this happening?  I tried to run as administrator already as well on both Macro Express and in Adobe and it still keeps shutting down.

    same problem, it's been happening to me for a week or two now i'm thinking about backing up my documents and just wiping it completely, see if that works. Has anyone else tried this? I'm loosing time and have already lost a good few hours of work as it just crashes randomly. need help!!!
    - saving these threads on my favourites cause i'm about to crash . . .

  • HT202159 I downloaded Dragon Express and now it won't open.  It says it is INSTALLED but it won't open when clicked.  Tried to trash it and start over but won't let me trash because it says it is open.  But it isn't!  Called mac help and they can't help e

    I downloaded Dragon Express and think that it did not completely complete the download.  However, it says that it has been installed and my account has been charged 50.00.  However, when I click on the icon, it will not open.  I have tried everything from restarting, trashing the app, but it continues to tell me that I cna't trash the app because it is open.  I called apple support and they worked with me for about 30 minutes until they finally told me that the call had to end regardless of the fact that after all of their efforts, the problem was not resolved.  He gave me a link to get a refund and said it was easy to navigate however, it led me nowhere.  So now I am stuck with a worthless app, that does not work and a 50.00 bill to pay because I can't get support or link support to get a refund and even if I could get a refund I still have the Dragon express on my computer that does not work!!!  HELP!  I don't know how the app can be open when even support could not figure it out!  When I restart, the finder window opens where it never did before.

    Well first of all this is a public forum, so keep that in mind. The users here generally can not look up your case numbers.
    If AppleCare didn't work out for you, I believe your next step is
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html
    Unfortunately, their case indexing is on a different database, and they will not be able to look up your case number either. However, their support is free, and despite it may take a few bounces of emails back and forth, there is a decent chance they may be able to get a solution.
    Or... you can still try to shoot the **** with us here, which is Ok as well. But you'll have to keep in mind we can't look up your case numbers.
    By the way, the link for a refund, I think is for the same link I just gave you, so on second though, mabye it's best to just go there.

  • I am new to Final Cut Express and don't understand why I am unable to drag transitions into Canvas? Something wrong in my setup? It's not the overlays they are "on" so can anyone advise me please?

    I am new to Final Cut Express and don't understand why I am unable to drag transitions into Canvas? Something wrong in my setup? It's not the overlays they are "on" so can anyone advise me please, by the way the "L" doesn't appear in the bottom left hand corner either? and by the way how can I get rid of that irritating Blue badge saying "AutoFill your contact details" all mine are in "address book" already!

    You can't drag a transition into the canvas. If you're dragginmg a transition from the effects tab you drag it between the edit point of two clips in the timeline.
    Make sure show edit overlays is turned on in the Canvas view popup.

Maybe you are looking for

  • [iphone app store] releasing "trial" version app

    i'm sure others have this need, but i can't seem to find info on it. we are releasing an app in which we could make two versions one for free and one that costs money. thing is, we would need people with the free version to "upgrade" to the full vers

  • Url for the geocoder

    Hello friends I'm learning how to use the oracle maps, now I'm studyng the "gant_chart_pivot_table.htm" of the oracle examples to jdeveloper 11g this is the url http://www.oracle.com/technology/obe/obe11jdev/11/dvt/gant_chart_pivot_table.htm#tv but t

  • Need Solaris 10 ipge driver for Intel 82571 Ethernet Controller

    I can't locate this driver anywhere - anyone know where I can find it? Solaris 10 has a man page entry for the ipge driver, but no driver can be found on the install CD's. Thanks!

  • Buggy

    Hi all, I've been using Aperture for about a month now, with no problems. I've got a library of 15,000 images and after importing them into the Aperture library and organizing them into albums and projects, I've begun the task of key-wording. All was

  • Java Data Types?

    Hi, shall we say The data types in Java 1.5 can be divided into 4 categories. They are: i.     Primitive Data Types ii.     Abstract Data Types iii.     Arrays iv.     Enumerated Data Types ...............?