Connecting the AE CS6 external text document source text property

Hello

I would like to load text from an external .txt file in the Source text property. I've seen many ways to do it on the web, but it seems that it is changed in CS6. (All the examples I've found are for CS4 or CS5).

I'm on a macbook pro. The (data.txt) .txt file is on the desktop.

That's what I tried to associate with the Source text property:

1)

myPath = "/data.txt";

try{

$.evalFile (myPath);

eval(thisComp.name);

}catch (err){

"not found"

}

Here, I get "not found".

2)

myPath = "/c/data.txt";

$.evalFile(myPath)

Here, I get the error: "file or folder does not exist.

The name of my computer is 'sc100' and the text file says:

sc100 = "My Text"; ; 

Is there a good way to do this in CS6? Or I just hurt?

-KolibriEirik

If you are on a mac and the file is located on your desktop, the correct path would be:

~/Desktop/data.txt

If you are unsure of a path, you can always use a test script like this to check:

Var Dittos is File.openDialog ("select the file");.

$.writeln (theFile.absoluteURI);

I just tried to use $. evalFile() and it worked well for me.

Tags: After Effects

Similar Questions

  • connect the phone to external hard drive wireless

    I have a laptop with Vista and a pc with Windows 7.  We have an external hard drive connected to the pc.  I would like to move my music files from my laptop to the external hard drive and be able to communicate with them wireless.  What should I do to be able to do this? There is a wireless router in the House.

    Hello

    Wire or wireless does not matter for this purpose.

    The drive must be set as a shared device, and then the other computers that are on the same network (wire or wireless) can access.

    Here's how.

    Win7 when configured on the peer-to-peer network has three types of configurations of sharing.

    Group residential network = only works between Win 7 computers. This type of configuration, it is very easy to entry level users to start sharing network.

    Working network = fundamentally similar to previous methods of sharing that allow you to control what, how and to whom the records would be shared with.

    Public share
    = network Public (as Internet Café) in order to reduce security risks.

    For the best newspaper of the results of each computer screen system and together all computers on a network of the same name, while each computer has its own unique name.

    http://www.ezlan.NET/Win7/net_name.jpg

    Make sure that the software firewall on each computer allows free local traffic. If you use 3rd party Firewall on, Vista/XP Firewall Native should be disabled, and the active firewall has adjusted to your network numbers IP on what is sometimes called the Zone of confidence (see part 3 firewall instructions

    General example, http://www.ezlan.net/faq#trusted
    Please note that some 3rd party software firewall continue to block the same aspects it traffic Local, they are turned Off (disabled). If possible, configure the firewall correctly or completely uninstall to allow a clean flow of local network traffic. If the 3rd party software is uninstalled, or disables, make sure Windows native firewall is active .

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

    Win 7 networking with other version of Windows as a work network.

    In the center of the network, by clicking on the type of network opens the window to the right.

    Choose your network type. Note the check box at the bottom and check/uncheck depending on your needs.

    http://www.ezlan.NET/Win7/net_type.jpg

    Sharing Configurations.

    Win 7 - http://windows.microsoft.com/en-us/windows7/Networking-home-computers-running-different-versions-of-Windows

    Win 7 network sharing folder specific work - http://www.onecomputerguy.com/windows7/windows7_sharing.htm

    Vista file and printer sharing - http://technet.microsoft.com/en-us/library/bb727037.aspx

    When you have finished the configuration of the system, it is recommended to restart everything the router and all computers involved.

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

    If you have authorization and security problems, check the followingsettings.

    Point to a folder that wants to share do right click and choose Properties.

    In the properties

    Click on the Security tab shown in the bellows of the photo on the right) and verify that users and their permissions (see photo below Centre and left) are configured correctly. Then do the same for the authorization tab.

    This screen shot is to Win 7, Vista menus are similar.

    http://www.ezlan.NET/Win7/permission-security.jpg

    The Security Panel and the authorization Panel, you need to highlight each user/group and consider that the authorization controls are verified correctly.

    When everything is OK, restart the network (router and computer).

    * Note . The groups and users listed in the screen-shoot are just an example. Your list will focus on how your system is configured.

    * Note . There must be specific users. All means all users who already have an account now as users. This does not meaneveryone who feel they would like to connect.

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

    * Note. Some of the processes described above are made sake not for Windows, but to compensate for different routers and how their firmware works and stores information about computers that are networked.

    Jack-MVP Windows Networking. WWW.EZLAN.NET

  • Connect the different values of text on the canvas with arrows using flex

    Hello


    For so many days, I struggle with this problem... Could you please any one help me on this issue...

    I have a datagrid with some data... I have draaged of data for the datagrid control to the canvas as the text value...


    What I have to do iss:

    Connect these dragged values with arrows and design a flowchart by adding these values with the arrows... want to move these values on canvas in the other place in the Web (slide - déposer somewhere in the area of the canvas.) ... Can you please provide me sample example for this...

    Please please help on this...

    Thanks in advance

    You can clean the area and create it again.

    Thank you

    Atul

  • "Direct connection to the desktop" and external clients

    Hi all

    I'm doing a View 4 u1 installation with a connection to the server and a security server. I just want to confirm with the setting to view administrator, check box "direct connection on the desktop.

    I find that if I check it, then external clients of internet do not work - can see the office pools, but at launch, the customer will see appear in the taskbar, disappear. When I uncheck, all external clients work very well.

    my understanding is that this check box determines whether RDP traffic will be dug by the connection to the server or it will go straigh from the clients to view offices. I though that this setting affects only internal clients. I don't see how it affects external clients that connect through the Security server.

    When you look at 'netstat' of external clients, trying to run the office, I can see the threshold to appear when the customer view disappears, it will also disappear. Looks like when the box is check (direct connection), the client view external attempts to establish the RDP directly on desktop computers, apparently, it won't work. So, how can a direct connection for internal clients only?

    TCP 192.168.20.2:56473 winxp - 04:ms - wbt-Server SYN_SENT

    any ideas?

    Thank you

    Ming

    In our environment, we have our external users (Security Server) use a broker who has direct connect disabled while internal users use a different set of brokers that are defined to use direct connect.

    If you have found this device or any other useful post please consider the use of buttons useful/correct to award points

  • Layer of Source text a link to the external text. (no code in doc!)

    I saw a link to text with snippets of code inside documents.

    This means that the external text document must contain pieces of scripts.

    I would like to make a link to txt (or csv) documents that contain no code.

    Total noob users must be able to link a text of an After Effects project.

    I have a Web site data receiver Exporting CSV values.

    It would be ideal that After Effects can hoover the text and put some pieces in some source texts.

    We are talking about here auto sports cards.

    Is this possible without adding code to a text dump?

    Or is it simply impossible?

    I solved it by using Expressions.

    In the JavaScript reference Guide, there are a lot of usage of the word VAR as the first word in a line of code.

    Seems to be what does not include AE.

    When I program without it, many commands work fine.

    Damage data Web site continues to change its structure.

    Him copy / paste / expression method worked fine for a day and then I went to the square.

  • Active layer reference as the index when loading external text file

    I have a series of text animations, and I want to be able to load the content of the text for the layer of an eternal file.

    It is referenced in many places (I saw him here external text of Pro video Coalition - Expression Shorts - read the Document by David Torno), and the script is usually as follows:

    try {}

    myPath = "~ / Desktop/source.txt ';

    $.evalFile (myPath);

    eval (thisComp.Name) [0];

    } catch (err) {}

    "MISSING."

    }

    In this case, the layer is always array index-, so I would be able to replace the specific reference to the array index by a reference to the current number of layer. This allows a simple duplication of the expression rather than having to change each term individually for each layer. I think that the property that I need index - but it does not work! Or not the way I use it anyway.

    It is (a) of the terms I've tried

    eval (thisComp.Name) [thisComp.index];

    On layer 9 the error indicates the property! or method named 9 in the Array class is missing etc - so index 9 is interpreted correctly, but I use it wrong.

    Resolved, with the help of this post Re: disorder of the eval expression

    Solution - without the try catch block is as follows (including some debugging... stuff):

    myPath = "~ / Desktop/source.txt ';

    $.evalFile (myPath);

    myLayer = index;

    "result:" + myLayer;

    typeof (myLayer);

    myArray = eval (thisComp.name);

    myArray [myLayer];

  • Qosmio G50 - 12 q - Vista does not load after you connect the external USB keyboard

    I could acquire an enermax acrilux usb keyboard and have connected the keyboard taken 12 q at the same level where another keyboard was attacked the qosmio g50 usb and it worked without problem.

    After to start the PC with keyboard eneramx connected the qosmio has not loaded windows vista Ultimate edition and the inside wheels have been activated.
    Never happened before. I doubted the enermax

    Reconnected to the position of the qosmio USB, there on the back not granted to start-up of turbines problems
    As the enermax, that he has never blocked the startup of the operating system and to activate turbines also have plugged into the same USB port to which priority was connected a keyboard?

    Tank you

    Hi mate

    Sorry, but you message I am really hard to understand
    What I understand is that you connected an external keyboard on the Qosmio and now the laptop will not boot properly. Is this good?

    What to say; Maybe you disable USB legacy mode in the BIOS.
    Please check this!
    To enter the BIOS press F2 and everything by turning on the laptop.

  • Connect the external monitor to my Sony VAIO laptop Win XP

    Connect the external monitor to my Sony VAIO laptop Win XP

    thanking you in advance

    Connect the external monitor to my Sony VAIO laptop Win XP

    thanking you in advance

    Is there a question here?

    Read your manuals and find a way to use your laptop computer based on the instructions from Sony to connect external (including projectors) monitors for the laptop.  Usually a connection (as you said Windows XP where you have published, probably VGA) for the monitor and a few buttons to tell the laptop to mirror or extend the display to the second monitor.

  • Unable to connect the WD external hard drive

    Original title: external drive wd drive 1 TB.

    I have a problem getting my computer to accept my drive external wd on d ' training. I have a basic dell computer vista laptop.

    They have been connected for more than a year. No problems with the previous backups. The last time I used my computer for offline family history, he was running slow and not answered, then it crashed. Can only access the files already on the c drive. During an attempt to access previous back ups, model said unidentified ports connection. All I can think to try... Tried to connect to another computer in the library. Not showing no sign that it is connected. How can I get the previous files and back ups, or has permanently hard-drive?

    I hope that I haven't lost 4 years of work?

    I am not connected to the internet at home and only go on the net to my library

    Hi John,

    Thanks for the post. I understand that you are unable to connect the WD external drive.

    I imagine the inconvenience that you are experiencing. I will definitely help you with this.

    To help you suggest several steps to solve the problem, I would appreciate it if you could answer the following questions:

    1. you receive an error code or message?

    2. have you made any recent hardware or exchange of software on your computer before the show?

    3 have you tried to connect the external hard drive on another USB port?

    Please follow the methods and mark the question below:

    Method 1:

    I suggest you to run the Microsoft Fix It from the link below.

    Hardware devices do not work or are not detected in Windows:

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2:

    Uninstall and reinstall the USB drivers.

    You can check after uninstalling and reinstalling USB drivers if you are able to connect. You can disconnect all USB devices and then perform the following steps:

    a. Click Start and then click Control Panel.

    b. click System and Maintenance, click System and then click on Device Manager.

    Note: If the control panel is in Classic view, double-click System, and then click Device Manager.

    If you are prompted for an administrator password or a confirmation, type the password, or click on allow.

    c. in the Device Manager, double-click to expand the "USB Bus controllers", right click on the controller host, click "Uninstall" and click "OK".

    Check that if at all, there is an exclamation point on the pilot, it suggests problems with the installed driver.

    d. Repeat step 2 to uninstall all items under 'USB Bus controllers'.

    Then, restart your computer and Windows will automatically reinstall all USB controllers.

    Note: Connect USB devices to the computer once the drivers of conflict are uninstalled, and once the computer is restarted.

    If you are still having the same problem then you can check the device USB drivers updated using windows update.

    http://Windows.Microsoft.com/en-us/Windows-Vista/update-a-driver-for-hardware-that-isn ' t-work correctly

    Method 3:

    WD external drive is not recognized or detected in Windows XP after installation and use

    http://wdc.custhelp.com/app/answers/detail/A_ID/1695/p/228/session/L3RpbWUvMTM1MDQzMTYwNy9zaWQvQ0NTdVFVOGw%3D

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • How can I change the screen of fast connection of GUI to database text/Dos based. (Vista)

    Just as the title says; If you could give instructions step by step on how to do so; then it would be appreciated. Thank you for your time.

    Hello

    Unfortunately, it is not possible to change the screen of fast connection of GUI to database text/Dos based.

    You can provide your comments on the forum below.

    http://mymfe.Microsoft.com/Vista/feedback.aspx?formid=83

  • All trying to record music on a software, connect the external input jack does not cut its computer system.

    Original title: external recording

    While trying to record music on a software, connect the external input jack is

    not to cut his computer system.  Thus the external player unit is not recorded by

    the continuous computer but the record of construction - micro. With the help of windows 7 on a dell computer

    laptop.

    Seems that you can set with precision in the application (whatever it is) where to get sound input or configuration in the audio to enable driver software disabled the internal MIC (manually each time, or automatic if the driver has this feature.)
     
    Basically - you must look in the configuration of your audio device (third-party drivers) and/or the configuration of the 'software' you are trying to use to "save the music".

  • When you connect 1 or several external USB drives, why is the letter a * shoot?

    When you connect 1 or several external USB drives, why is the letter a * shoot? Referencing external drives through library (Windows V7) becomes a really shiny, totally useless feature without consistency of drive letter. Or unnecessary to be a design goal? I almost had it still works but who finally to 3 minutes). What it will take to make useful new features?

    Windows assigns the first available on the first hard drive connected and one drive letter to another and so on.  Always has, always will. What will help sometimes (but), is to open disk from an elevated command prompt management and adversely affect permanent a letter from your external drive which is much higher than the letters in use.  This will often allow the will to keep a letter.

  • Unable to connect the external hard drive on the computer of Windows 8

    Hi I have a laptop Windows 8, I don't know too plug I bought last year I recently bought a samsung 3 TB external hard drive I plugged it in and it was recognized tried to transfer files (photos and music) he transferred a little then kept showing error e/s even when I clicked ignore it just kept showing for the next photo , so I unplugged and ive not touched since ive then connected again today to have another shot at it but it does not even appear in the my computer part now ive red somewhere else on this site to go into Device Manager and I can see the mass with a yellow triangle storage device small as he said he could on the subject , I was reading I uninstalled and plugged the hard drive on and when I plug it then settling again, nothing appears when I go back into Device Manager it is there once again with the yellow triangle, thanks in advance if anyone can give me advice.

    Thanks for the reply.

    Have you tried to uninstall and reinstall the USB controller drivers?

    If so, have you installed latest drivers from the motherboard chipset?

    Follow the steps below and check if it works:

    1 download the drivers for external hard drive from the following link and check.

    http://www.Samsung.com/us/support/downloads

    2. click on the link to the HP Web site below to download the latest drivers. Search for drivers related to USB / external peripheral.

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&DLC=en&product=5078476

    Click scan now.


    3. If you have a third party security/firewall software installed, you need to change settings or disable it temporarily.
     
    NOTE: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software / update, you must reactivate as soon as you are finished. If you are connected to the
    Internet or network so that your antivirus software is disabled, your computer is vulnerable to attacks.
     
    I hope this helps. Back to us for assistance.
  • Worm 16.09.20 document is automatically closed after the scroll and zoom text output but the application is running

    IPad 2 (IOS 9.3.5), Adobe, 16.09.20, Document version is slowed after the scroll and zoom text output and then automatically closed, it jumps to the main menu, but application is running (in multitasking mode). This behavior was not in the previous version. I tried to reinstall the IOS on IPad, but no change.

    Thanks for any help

    Hi jakubh25891777,

    Acrobat Reader 16.09.21 is now available in the App Store.

    It should solve the frequent accidents that you have experienced.

    Please try it and let us know if it works for you.

    We apologize for the inconvenience.

  • Photoshop CS6 rotates 90 degrees to the right alignment of text characters istead vertically?

    Photoshop CS6 rotates 90 degrees to the right alignment of text characters istead vertically?

    I have the same exact problem as this thread.

    The solution is change option East Asia and rearmament of the preferences, but mine is still typing horizontally at a 90 degree angle. Anyone know of any other way?

    Have you tried to reset the text tool and reset the characters available in ground #1.

    Kind regards

    Mohit

Maybe you are looking for

  • New tab opens when I click on email link, this does not happen with IE or Chrome

    I use a specific website for the work. When I click on a hyperlink on the website that is supposed to generate an e-mail, it also generates a new tab for no reason. It is a waste of time. Happening on the same site in IE or Chrome.

  • I have no address bar and no bar tool-

    I have no address bar and no toolbar - cannot open 'file' 'see' tools, etc. Can not put in a URL This has happened Each time Firefox opened a few hours earlier. User Agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2;

  • How better for import of movement 5 projects in Final Cut Pro

    I use for my projects: -Motion 5 (5.1.2) -Final Cut Pro X (10.1.4) -Compressor (4.1.3) -Mavericks OSX on a Macbook Pro 2 GHz and 8 GB RAM -The images that requires a lot of editing, green screen and the particle effects I had a question about what wo

  • Remove the picture shortcuts

    How to find all the shortcuts to all my pictures so I can remove and put real photos into organized files? I tried Picasso MS 10 library of digital images and Google without result. These two programs show all instances of any Photo. I could turn on

  • Problem with duplex printing

    I have a HP Envy 4500 e-all-in-one printer and cannot print a full document on both sides. It will print a page on both sides and then prints one side of page before stopping. I get a message on my computer to say that it cannot print the document. A