Can't get File.copy(target) to work.

Hi,
I'm writing a script where I want to copy a file to another location after the render has finished, but I can't get the File.copy() method to work.
Here's a snippet of the code:
app.project.renderQueue.render();
var renderedFile = app.project.renderQueue.items[1].outputModules[1].file;
renderedFile.copy("c:\\");
The render works fine and renderedFile.fullName returns the correct path and name, but the actual copying just doesn't work.
I have made sure that scripts are allowed to access files and network.
thanks
Ludde

never mind, I solved it.
It wasn't clear to me that I had to specify both target path AND file name.
This works just fine now:
renderedFile.copy("c:\\rendered.mov");
cheers
Ludde

Similar Messages

  • Custom blog in Adobe Muse and BC can't get body copy css to work

    Hello,
    I've been creating a custom blog through Adobe Muse and in Business Catalyst according to directions I found in a video.
    Seems like everything is working out for the most part with adding custom styles to modulestylesheets.css however, I can not for the life of me get the body text of the
    blog to cooperate. At least according to the video I'm following.
    This is the css I'm adding according to instructions and it's the only part that won't work - won't change. My guess is that something somewhere else is over riding this but I can't find it.
    /* blog body text */
    .post-body
        color: #534741;!important;
        font-family: muli;sans-serif;!important;
        font-size: 12px;!important;
        font-weight: 400;!important;
        padding: 0;!important;
        line-height: 84px;!important;
    As you can see - I even added the important tag to see if it would work but still nothing. I'm at a loss and need to have this site complete and launched with new domain by tonight!
    The link:
    http://lisastendig.businesscatalyst.com/embodiment-blog
    I'm trying to get the body copy to be the font Muli as well as with some proper interline spacing.
    I hope someone can help today - it would be so much appreciated. Thank you!

    Hi BubbleHouse,
    I checked the details layout of the blogs and seems the font-family is entered in the inline code of the blog post and it is taking preceedence over the system css.
    You can go to the content of blog post and change the font-family: calibri, serif to font-family: inherit, it should take the font from the modulestylesheet.css
    <span style="font-size: 15pt; font-family: calibri, serif; color: #343434; background: none 0% 0% repeat scroll transparent;">
    Regards,
    Gaurav Aggarwal

  • I have photoshop cs3 on a mac powerbook running Os 10.10.2  I am getting a" licensing has stopped working" text box.   I can reinstall because I can't get a copy of CS3 from eh website

    I have photoshop cs3 on a mac powerbook running Os 10.10.2  I am getting a" licensing has stopped working" text box.   I can reinstall because I can't get a copy of CS3 from eh website

    https://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.
    window using the Lightroom 3 link to see those 'Important Instructions'.

  • I have a G4 Quicksilver that no longer works, but the hd may still be good. How can I get files off the G4 hd and onto my new iMac?

    I have a G4 Quicksilver 2001 that no longer works, but the hd may still be good. How can I get files off the G4 hd and onto my new late 2013 iMac?

    Also, how do I boot the G4 into FireWire Target Disk mode?
    First, the G4 must be able to start to use FWTDM. If it can start, hold the t key at boot until you get a "screensaver pattern" that looks like this:
    If the G4 is attached via a FireWire cable to a newer Mac with a FireWire port, the G4's hard drive will appear on the other Mac's desktop just as if it were any external drive. A USB cable won't work for FWTDM.
    Just wondering if the drive in my G4, which I believe may be an ATA drive will also work in an enclosure for a SATA drive?
    No. ATA (actually "PATA" or "IDE") and SATA are different interfaces. PATA external enclosures are now very hard to find. You best and least expensive option is the adaptor that BDAqua linked. One of its connectors is for PATA drives.

  • I just upgraded to Firefox 5. How can I get a copy of Firefox 4. The new version does not work with Skype's auto dialer.

    How can I get a copy of the previous version of Firefox? The latest version (5) does not support Skype's auto dialer. I use this tool to be more productive.

    Due to security vulnerabilities, rolling back to Firefox 4.0.1 is not recommended.
    If Firefox disabled some add-ons (especially extensions), it likely is because they include a list of compatible Firefox versions and haven't yet been updated for Firefox 5. If they worked on Firefox 4, there is a good chance they will work on Firefox 5.
    You can force Firefox to ''ignore'' add-on version restrictions by (what else) installing an add-on. Then you can test whether the add-ons important to you actually work in Firefox 5.
    [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ Add-on Compatibility Reporter :: Add-ons for Firefox]
    After you install this add-on and restart Firefox, there will still be a message that "--- is incompatible with Firefox 5.0" but the add-on will be enabled and a Disable button will appear for that entry.
    Please report back on your results.

  • Can I access files copied to this machine in target disk mode from this machine?

    Can I access files copied to this machine in target disk mode from this machine?

    HI Claire,
    YOu didn't indicate which Mac OS you are using so I'm going to assume 10.4.x.
    Connect the FireWire cable to the target computer after starting it up in FireWire Target Disk Mode.
    *If the cable was already connected, unplugging it from either computer and plugging it back in should allow the target computer's hard disk to appear on the host.*
    Also, make sure you have the most recent Firmware for your iBook... go here:
    http://support.apple.com/kb/HT1471?viewlocale=en_US
    Carolyn

  • I have tried to reindex my messages but I still can not get the search function to work in email

    I have tried reindecing my messages by rebuilding the library but I still can't get my message function to work in mail.  Any proposed solutions much appreciated.

    Some of your user files (not system files) have incorrect permissions or are locked. This procedure will unlock all your user files, reset their ownership, and remove their access-control lists. If you've set special values for those attributes, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Back up all data.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Enter the following command in the Terminal window in the same way as before (triple-click, copy, and paste):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR..; sudo chown -R $UID:staff ~ $_; sudo chmod -R u+rwX ~ $_; chmod -R -N ~ $_; } 2>&-
    This time you'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone an i have internet and all other functions working on my computer

    I have a macbook pro version 10.7.5 and my mailbox will not open at all and comes up with a quit message even though it is not open. how can i get into my account. it works on my iPhone and i have internet and all other functions working on my computer

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports (not "Diagnostic and Usage Messages") for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents—the text, not a screenshot. I know the report is long. Please post all of it anyway.
    In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.)
    Please don’t post other kinds of diagnostic report—they're very long and rarely helpful.

  • I need to use an hp 6215 printer with my mac book pro.  the driver installation disk doesn't work.  where can i get a driver that will work?  i use OS X

    i need to use an hp 6215 printer with my mac book pro.  the driver installation disk doesn't work.  where can i get a driver that will work?

    With the Lion it is essentially unnecessary to resort to external driver disks. What's more, most of those disks are incompatible with the OS and should not be used. The system already carries a wide variety of printer description files (aka PPDs, which is what modern printing systems use as "drivers") for a lot of brands. And there was an HP printer update just two days ago.
    Just checked in mine and did indeed find that the HP OfficeJet 6200 Series, with or without Fax, is covered with the latest update.
    So just go thru the motions of creating a proper printer instance:
    Make sure the Mac "sees" the printer on the network.
    System Preferences / Print & Scan
    Click on the + button on the left column
    Select the appropriate type of printer, will use IP for the rest of this
    Select HP Jetdirect - Socket, default for HP network printers
    Type the IP address or look it up
    Name the printer for easy identification on the print dialog
    Let the Mac identify the printer model or manually choose the driver
    Click Add.
    Once the instance pops up in the list, can click on Options & Supplies for further config.

  • After I exported a PDF to a Word doc and downloaded it, I can't get the pointer tool to work.

    After I exported a PDF to a Word doc and downloaded it, I can't get the pointer tool to work. When I click on the document text, the only tool is the "move" tool. I can't edit or select text. Please advise.

    Version of Adobe: Adobe ExportPDF (not Pro)
    Operating system:  Windows 8.1
    Steps I am taking: When the PDF file is selected and opened, I clicked on Tools menu on right side of the screen; then I clicked on Select PDF file; then under Convert To, I selected Microsoft Word (*.docx); then I hit the box below that; and clicked Convert. I then see the message that says it is Converting to Export PDF Online. Then I see a link below that, that says Download Converted File. This takes me online to Adobe Acrobat .com, where, I see the command, Export PDF, and see a blue box on the same screen that says Select PDF Files to Export. I click on the thumbnail of the file I want to export. This brings up, online, a screen containing the file I wanted to convert to Word. Then, on the same screen, I click on the icon on the right hand of the screen that says Download. then I click on the box on the bottom the screen that contains the Word document I had wanted to convert. This brings up the Word doc. in Compatibility Mode the latest Word version, which I am unfamiliar with and which has a Picture Tools tab that I cannot escape from and I cannot get any selection tool other that the Move pointer, and I cannot find the Select text pointer to select any text on the page. I don't want this Word version and do not know how to return to the old version of Word that I am familiar with.
    Can you help me, please?
    Theresa Julia Schuer

  • How Can I get a copy of Designer 6.5

    We would like to get a copy of the Designer 6.5 Limited Production release so that we can begin evaluating the tool and planning for the migration from 2.1.2 to 6i. How can I get a copy of Designer 6.5?

    Hello to all
    another option is to download and install the portable firefox version from the next link, if you want to use it occasionally : http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./
    portable version is more flexible, and you can delete it any time without worries
    please read the [http://forums.mozillazine.org/viewtopic.php?f=23&t=2249039 ultimate guide from '''the-edmeister''']
    thank you

  • I can't get files to attach in e-mail quickly.

    I can't get files to attach in e-mail. I get a prompt to retry or switch and retry. Switching works but the process takes too long.

    Which email client are you using? 

  • I can't get the mp3 player to work

    I can't get the mp3 player to work after I paid for it

    I keep getting a triangle with and exclamation mark no matter what I rename my mp3 file to. I put the mp3 file into my muse folder desktop, any hints?

  • My InDesign document has two page 1s and I can't get the page numbers to work.  Help!

    My InDesign document has two page 1s and I can't get the page numbers to work.  Help!  How do I fix this?

    Do you mean the first section is starting at page one?
    And the second one now is starting at page two?
    So I would ask why you would need sections at all?
    Did you set the controls for Automatic Page Numbering?
    If you select the particular page where section two is starting in the Pages Panel, you could untick the Start Section option in the numbering and section dialog. That would remove the section. You cannot do that with the very first section, but you should set the first section to Automatic Page Numbering if you ever want to use your document with an inDesign book file.
    Uwe

  • I accidentally deleted my old fb app on my iPhone 3g. Now i cant download new fb app as it requires ios 4.3. How can i get old app that will work on my old phone. Any suggestions???  plz help!!!

    i accidentally deleted my old fb app on my iPhone 3g. Now i cant download new fb app as it requires ios 4.3. How can i get old app that will work on my old phone. Any suggestions??? plz help

    As already provided, if you don't have such in your iTunes library, on your computer, then there is no way to put it back on your phone. Apps are DRM protected, so even if you found a copy somewhere, you wouldn't be able to use it.

Maybe you are looking for

  • Photoshop CS3 Won't Open Files in Windows 7 64-bit

    Hi All, I'm running Windows 7 64-bit on my desktop. When I try to open an image file in Photoshop CS3, the program hangs and never opens it. I have attemped PSD's, JPG's, GIF's and PNG's. I have right-clicked on the program and selected to run it as

  • Restore or Retrive Email Sub Account

    Hope someone can help. I had and email address as a sub account on my partners BT broadband account. We have now split and she has deleted by email sub account. Is there any way I can recover the account or even the email address as I am awaiting sev

  • I moved my library to an external hard drive. Now I can't sync photos on my iPad. Can anyone hep?

    After moving my library to an external hard drive, I can't sync photos on my iPad. Has anyone had this problem?

  • Javafx: How change color of focus of controls?

    Hi everyone, I got a trouble with change the color of focus of controls? Have anyone know? Please tell me. Here is my example. [http://imageshack.us/photo/my-images/864/fffd.png/] Please help me out. Thank very much. Edited by: 904388 on Dec 25, 2011

  • Window Resizing event

    Is there any way to detect a window resizing event? When I grad the corner of a JFrame, I'd like to be able to tell that it is being resized. If anyone konw a way of doing this, please let me know. Alan