Find a point of file and project name.

Suppose I have a comp with a layer containing an apple.png. Now, I would like to replace it with orange.png. To call replaceSource(), I need to provide a point of newSource:

App.Project.Item (index) .layer (index) .replaceSource (newSource, fixExpressions)

My newbee question is how to navigate to orange.png if my project structure looks like this:

-Comps

-Solid

-Photos

-fruit

-apple.png

-orange.png

-lemon.png

I guess that perform looping through all elements of project and verification of the name of the item would work, but is there a smarter way to do it?

Looping thought the collection of project items is the best way to do it. You can just do a simple function that you can provide a file name as argument. This way it'll be easier to call whenever you need an element.

Tags: After Effects

Similar Questions

  • How to find all the old files and documents on the hard drive

    Original title: how to find a file

    How to find all THE old files and documents on the hard drive

    Hello

    -Are the old hidden files?

    I recommend you follow the steps in these articles for help.

    Show hidden files
    Find a file or folder

  • File and folder name format

    What is the correct file and the name format for photos and folders files. Use "-", "_", "." when separating the names? And how many characters are allowed in Photoshop or Lightroom?

    What is the correct file and the name format for photos and folders files

    Any name in your operating system should work.

    Use '-', '_', '. '.

    There is no problem to use the dash or underscore. I have never tried creating a file name with a period in it (except for the file extension), so I don't know.

    And how many characters are allowed in Photoshop or Lightroom?

    Yet once again, this is controlled by your operating system. What is legal in your operating system should work.

    Which brings a question side... most people don't much worry about the details of the file and the file naming... There are ways to organize, using keywords and other metadata in Lightroom, where these questions about the file and the file naming disappear... Add as many keywords as you had huge and similar legends long with all kinds of special characters, this isn't a problem. Using the folder and file names as organization tool has some limitations.

  • How can I find all my music files and download them on different devices?

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: I get windows media player and don't see a few songs.  I want to see the entire library.

    Hi Flip38III,

    What devices you use to synchronize the music files?

    If you have saved music files in a folder, you can search the file by the name of the folder.

    Find a file or folder

    http://Windows.Microsoft.com/en-us/Windows-Vista/find-a-file-or-folder

    Then proceed as follows:

    1. open the folder on the computer that contains the music files you want to transfer.

    2. then connect the external device to the computer.

    3. scroll through the songs you want to transfer to the device. Right click on the title. When the options are displayed, click on "send to." Scroll the options "send to" and select device.

    If you can't see the music files in the Windows Media Player library you can erase the database of Windows Media Player and Windows Media Player cache of database files by following this link:

    You cannot view, add, or delete items in the library of Windows Media Player 11

    http://support.Microsoft.com/kb/925718

    Then try to synchronize the music files on the external device.

    Hope the helps of information. Please post back and we do know.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Assign the page file (.vmem) VM a specific file and folder name.

    My AV (Comodo) analysis file (.vmem) VM paging to death (the hosts making it unusable).  I want to assign the file to the SSD and give it a permanent name.  I read that I can attribute the work of virtual machine files directory and this will help you.  The problem is Comodo.  Can I exclude a file or folder of the analysis, but the mutation .vmem file name prevents the exclusion to work whenever I turn off / the virtual machine.  Thanks for any help.  Enjoy, John.

    EDIT: I just restarted my VM and host and then grew up the virtual machine.  He continued to wear the same name of file (.vmem).  It will continue to be this way?

    One option is to add the following parameter to the file vmx of your comments (with comments turned off and closed player).

    mainMem.useNamedFile = "false".

    This will change the behavior to NOT use the named file for the permutation of VRAM.

    If this does not change the behavior, you may need to change the host config.ini file and add the line there instead.

    Personally, for any AV I always exclude my file to the root of the VMS under analysis, given that the files are constantly changing and open, and the files themselves do not contain viruses. This is NOT to say that the customers themselves can not GET a virus inside their own operating system... but the files to your host will not some virus shipped including your AV needs to scan contain.

  • Message "the file is missing or offline", can not find all the missing files and cannot import them again!

    I just opened up Lightroom and saw something for the first time. My latest photos 2 imports (around 1,000) are all displayed in Lightroom with the message "the file named... is offline or missing". I also noticed that in the Finder I see all files corresponding to the dates of importation. I tried to import the files again (I'm lucky to save one of the memory cards), and it won't let me import these specific images, saying they were already imported. Yet, I can't nice them anywhere. On top of this problem (and I'm sure they're related somehow), I just put in the memory card with new images in Lightroom and it went about 1/3 of them say have already been imported. I never seen anything like this. I use Lightroom 4. Please, I beg you, help is urgently needed here because I'm starting to panic! Thank you.

    A second importation is the wrong answer.

    What you need to do, is to use import initial and in the folders Panel, move the files to your hard drive.

  • Just a simple print request gives me the impression of file and application name of output file.

    I am trying to set up a wireless printer samsung on a Linksys router for a Dell with Vista laptop.  When I send a test page it will go not to the printer... He's trying to "print to a file" asking and "Output File Name".  Why?

    Nelia,

    You may find that when you set up the printer first place it has been accidentally manually installed as a "print to file" rather than a printer real itself.

    My suggestion would be to uninstall all samsung software, remove the printer (start, devices and printers, right click on the printer-> remove) and then start again from scratch. Let us know how you go!

    See you soon

  • I have windows xp media center, at the time of purchase I dint receive the os cd and I was told that it would be available online and they gave me a product key. But now a unable to find where I can find the operating system files and the Setup program.

    I need to find the path where I can download the installation files inorder to reinstall the operating system by formatting the laptop now.

    Communicate with the computer mftr. for replacement media. Legally, they must give you a way to reinstall Windows. XP MCE was available as an OEM ("Original Equipment Manufacturer") product and in addition to having a TechNet/MSDN subscription, I know of nowhere hand, you can download it legitimately. MS - MVP - Elephant Boy computers - don't panic!

  • Button to create the file and the name of the criteria in the pdf file

    I know it's rather specific and I'm new to javascript, but its a good worth? I'm trying to create a PDF of fill-able with a button that has the ability to create a folder to store the pdf file name that he based on criteria that was entered into the pdf file.

    For example:

    • Name = John Doe
    • Class = English
    • Rank = 11

    Press the button and it will create the folder named "John Smith_English_11" and save the pdf file to the folder.

    Any help is appreciated!

    Brandon

    Creating a folder with a script: not possible.

    Saving a file to a folder existing with a specific name: Possible, but requires a script must be installed on the local computer.

  • Find out all the package and procedure names linked using an array of specifc

    I have 25 packages
    Each package contains 30-35 procedures
    I need to find all packages and procedures
    Each procedure handles the Tables from 5 to 20 according to the need of business rule.
    I need the entire package and related procedure names where a specific Table name is
    (DBA_SOURCE is not objective).
    Quick response appreciated.
    Thank you and best regards,

    It is difficult to help you if you do not want to read what is suggested. The utldtree.sql script will do what you want. Read the first part of the script and it will tell you what it does and how it works:

    >
    REM $Header: utldtree.sql, v 1.2 1992/10/26 16:24:44 $ RKOOI Stab
    REM
    REM Copyright (c) 1991 by Oracle Corporation
    REM NAME
    REM deptree.sql - Show objects recursively depends on given object
    REM DESCRIPTION
    REM This procedure, temp and table will allow you to see all
    Objects REM (recursively) depends on the given object.
    REM Note: you will see the objects for which you have permission.
    Examples of rem:
    REM run deptree_fill ('procedure', 'scott', 'billing');
    REM select * from deptree by seq #;
    REM
    REM Execute deptree_fill ('table', 'scott', 'emp');
    REM select * from deptree by seq #;
    REM
    REM run deptree_fill ("package body ', 'scott', 'accts_payable'");
    REM select * from deptree by seq #;
    REM
    Way prettier REM to display this information only
    REM select * from deptree by seq #;
    REM is
    REM select * from ideptree;
    REM This shows the relationship of dependence via indentation. View
    REM that no order by clause is necessary with ideptree.
    REM RETURNS

    >

    Did you notice the part that says? :

    >
    REM Execute deptree_fill ('table', 'scott', 'emp');
    REM select * from deptree by seq #;

    >
    If you supply a table name, it will display the objects that depend on this table just as you said you want.
    Please try this script.

  • create a tablespace without specifying the path to the data file and the name

    Hello

    Is it possible to create a tablespace without specifying the name and the path of the data file.

    For example: just specify the name of the tablespace and the size of the data file, the data file must be created in a default location with the default name? Is this possible?

    user13364377 wrote:
    Hello

    Is it possible to create a tablespace without specifying the name and the path of the data file.

    For example: just specify the name of the tablespace and the size of the data file, the data file must be created in a default location with the default name? Is this possible?

    The use of the files managed by Oracle
    Internally, Oracle uses standard file system interfaces to create and delete files if necessary for the following data structures:

    * Tablespaces
    * Online redo logs
    * Control of files

    Through initialization parameters, you specify the directory of file system to use for a particular file type.
    EXAMPLE:
    The following parameters are included in the initialization parameter file:

    DB_CREATE_FILE_DEST = ' / u01/oradata/sample.
    DB_CREATE_ONLINE_LOG_DEST_1 = "/ u02/oradata/sample.
    DB_CREATE_ONLINE_LOG_DEST_2 = ' / u03/oradata/sample.

    The following statement is issued at the SQL prompt:

    SQL > CREATE a DATABASE sample.
    SQL > CREATE TABLESPACE tbs_2 DATAFILE SIZE 400 M;
    SQL > CREATE UNDO TABLESPACE undotbs_1;

    check the link for more information:
    http://download.Oracle.com/docs/CD/B10500_01/server.920/a96521/OMF.htm

  • Finder - how to display all THE files and folder without exception names in searches?

    I like Mac OS.  I can't WAIT finder.  I just want that he show me everything that matches my search string - files, folders, images, etc.  Each of them, everywhere on my machine.  I just want it to be simple.  Or point me to a good replacement for Finder program.  I waste so much time trying to find things that should take a simple search...  I looked at all the stupid shortcuts like Shift + Cmd + G, which can't find folders in the directory you are in (why would it be separated anyway?).

    Thank you

    CMD-SHIFT-g is quite a search function. It allows you to enter the path of the folder you want to open. What you think "seeks" the current folder is really thin path. If you enter no previous path information, it looks in the current working directory to the folder name you typed in the dialog box.

    You can set the default search starting location in Finder preferences. I have mine for current folder. Looks like you might prefer "search this Mac".

    Typing in the search field in the Finder will search the contents and filename. It will offer to search for chips to match types he concludes.

    If you just want to search for files and folders, but no content file, then use cmd-ctrl-shift-f to search by name (you can adjust this shortcut to the system preferences keyboard).

    If you don't get the results of your research, then perhaps your Spotlight index is corrupt.

    Featured: how re-indexing of folders or volumes - Apple Support

    If this does not work for you, try to find any fileor EasyFind

  • I have deleted the content of several image files and now want to remove the file names. I don't find a way to remove the names.

    * Original title: file names of photos of Deletig Windows after emptying the file

    I have deleted the content of several image files and now want to remove the file names. I don't find a way to remove the names. How can I delete the file names?

    Right-click on the name of the image file, then choose 'delete '.

  • What are the files with long names, the letters and numbers?

    I have several labels of large folders with names very long "ae61cbac70034e54059be539829a7e", that means these and I can delete them?

    Hello, TerriML,

    Performs a search of malicious programs.  Boot safe mode with networking

    Download the following tool and an analysis of the system.  I suggest also disable the system restore because the malware is known to hide in the restore points.

    http://www.Microsoft.com/download/en/details.aspx?displaylang=en&id=16

    Turn off System Restore in Windows XP

    http://support.Microsoft.com/kb/310405

    Files such that you listed are known to the Windows operating system files - I advise until you know still don't not to tamper with them.

    Folder in which you made to locate these files in?  Is there an extension at the end of the file name?  Example: .dll, .sys, .ini

    What is e717295f-174-46de-ae61?

    e717295f-174-46de-ae61 truly is a process belonging to Microsoft Windows Operating System System. It is used by a lot of different software on your computer. Many programs, you are familiar with that run as stand-alone executables, such as e717295f-174-46de-ae61. However, most of the services are executed can operate independently. That of why, e717295f-174-46de-ae61 loads these files and runs himself. This is why you will often find several copies of an e717295f-174-46de-ae61 running on the Windows Task Manager.

  • went to the command and put in findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt to find the corrupted file and nothing happened

    I had a problem with my laptop. I let a friend use it and she got a virus. The screen is black. She took it to get fixed. When she returned I couldn't open some files. (Always have this problem with some files) my shortcut icons are no longer there. Then I get this message on the Catalyst Control Center does not work. In any case, I did a scan and he told me that I had corrupted in my cbs log files so I tried to do the command findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt to find the corrupted file and nothing happened. Help!

    Hello

    Departure - in the search box, type-> order

    at the top of the list to find COMMAND - CLICK RIGHT to it - RUN AS ADMIN

    Type the following commands (or copy and paste one at a time), each followed by pressing on enter.

    ipconfig/flushdns

    nbtstat-r

    nbtstat - RR

    netsh int Reinitialis

    netsh int ip reset

    netsh winsock reset

    RESET

    That resets your TCP/IP stack

    It might also be a good idea to updare drivers network - NETWORK card (wired) and WiFi (wireless)
    by checing at the site of the manufacturer of the system/card mother and/or sites of the manufacturer of the real device.
    Methods for manual update of driver at the end of this response.

    --------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------

    For settings.ini as this article sets out the question may be totally ignored.

    The SFC.exe command reports Settings.ini file errors in the CBS.log file after that you add gadgets
    for the Sidebar of Windows Vista by using the Sysprep tool and an Autounattend.xml file.
    http://support.Microsoft.com/kb/947595

    -----------------------------------------------------------------------------------------------------------------------------

    These errors only are in the settings.ini for the sidebar and are not a serious problem by all means.

    Close the sidebar for that.

    Something else for the settings.ini - run AutoRuns and look at the entries SideBar Gadget - y at - it
    all pointing to is no longer present as temp files or uninstalled gadgets or not running?
    Those who will reflect the "yellow icons" on the left side and the files/folders will not exist. If so just
    Click on it and delete - Reboot. This may correct the errors that you see.

    Autoruns - free - see what programs are configured so that it starts automatically when your system
    boots and you login. Autoruns shows you the full list of registry and file locations where
    applications can configure Auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    -------------------------------

    Another process to try is to remove everything except a gadget - everything what you think is the most simple, that you use.
    Maybe the calendar. Then RESTART - use another simple gadget, and delete the first class used
    -RESTART again. See if that helps.

    Rarely, the error causing the problem with the sidebar and not not affect the system in general.

    The SFC.exe command reports Settings.ini file errors in the CBS.log file after that you add gadgets to
    the Sidebar of Windows Vista by using the Sysprep tool and an Autounattend.xml file.
    http://support.Microsoft.com/kb/947595

    -------------------------------

    Another method to try with the SideBar works does not is to copy the Settings.ini to another folder and
    and then delete - then start sidebar.

    --------------------------------

    For tcpmon.ini and settings.ini:

    You can also try to restore any copy of a Vista DVD (even 32 or 64 bit however).

    Access files on your Vista installation DVD
    http://www.Vistax64.com/tutorials/86959-access-Vista-install-DVD-files.html

    How to extract system files missing from the DVD of Windows 7/Vista.
    http://blog.NirSoft.NET/2009/09/17/how-to-extract-missing-system-files-from-the-DVD-of-Windows-7vista/

    ===================================================
    ===================================================

    Also update your drivers: (WiFi (wireless), NIC (Wired) and others as required)

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers to 7 (update drivers manually using the methods above is preferred
    to make sure that the latest drivers from the manufacturer of system and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle="" -="" mark="" twain="" said="" it="">

Maybe you are looking for

  • Feature keys FN on S50 - B Satellite

    Sorry for am SMS here, but I am new to this site and no idea how to publish in publik.i.I bought Toshiba S50-B-15N computer laptop there is about 3 weaks and I have a problem with the function keys. I can't use funtcion keys without press Fn I went b

  • Need soft case for my booklet

    I use my booklet for 4 weeks but miss me a soft case for the transport of my book. For the time beeing a fact a softcase by myself. Anyone know if there is something standard available on the market for the book?

  • Satellite P10-804 - Question on new install

    I am wanting to do a clean install on the old Satellite P10 [2004], but I'm a little worried about the updates that I'll have to do.In my view, that he could run in the hundreds. All Tips how do appreciated.

  • What about Windows8

    What about Windows8?

  • its upgrades and respective costs regarding. !

    I have a laptop HP Pavilion 15-no13tx (pearly white color) and there gt gpu 740... My Québec, it is sli... ?? also if so what would be the cost... my next question is can I add a 64 GB ssd to it and what will it cost d.?