File Save Problem

Hi Experts,
I am using MAC OSX 10.8.3
My script is :
#target indesign
var myDocument=app.activeDocument;
myDocument.save(File("/var/Untitled-1.indd"));
It give error
can not save "Untitled-1.indd" under a new name
While this script run successfully on MAC OSX 10.6.8
How save this file under a new name ?
I also give permission to  /Var/
using  sudo chmod -R 777 '/Var/'
Login from User ID in MAC OSX
Not System Administrator
Thanks.

While most file managers are not fussy about the cases used in File names, JavaScript is: could it be that your problem is caused by the difference between "var" and "Var"? Just guessing.
Dave

Similar Messages

  • PDF 'File Save' problem in Firefox

    Using Firefox browser, when I select a PDF file that opens in a new window [rather than a new tab], save it and close the window, the AcroRD32.exe process is not stopped.  If I then open another PDF file in a similar manner, it can not be saved.  Each time you close a PDF window, you have to go to Task Manager and stop the AcroRD32 process before being abl;e to save a subsequent document.  This does not happen with IE.
    Using Reader 10.1.1 and Firefox 8 on a Windows Vista32 system.

    Same bug i see in Opera browser. PDFs doesn't saves without stopping AcroRd32 process. And save dialogue doesn't appears when clicking links (even if web browsing function deactivated in adobe reader settings)...
    Apart from this File Save problem, there is more strange things while browsing PDF online, like "blinks", hangs, image dissapear, suddenly lags without any reason, browser crashing and more...
    So, because adobe reader prevents to download PDFs, and because it works very buggy with online browsing, especially if website uses adobe flash to show PDFs, the only right solution i found is uninstalling adobe reader. After that File Save problem was gone!

  • Downloading File/Save Problem....Help!!!!

    Hello All,
    I have written a code to download a Text file from Server to Local Disk.But the problem
    is that when i click a Button in the JSP page through which the downloading of file is
    done,opens a Dialouge Box with the "Save To Disk " option selected.when i go for the Save
    option the Text Field shows me a Wrong Filename("downloadFile.htm")....which is not the
    File i want Download.I want to Download "1003-3.txt"....
    Also when i go for the "OPEN" option and click on "OK" the Dialouge Box Opens again
    with the "Save To Disk" option selected,when i click on "OK" the Text Field of the
    Dialouge Box Shows the CORRECT Filename("1003-3.txt").....when i click OK the File
    gets DOWNLOADED but with "NO CONTENTS".....
    The snippet of code is .....
    public HttpServletResponse doDownloadFile(HttpServletRequest req,HttpServletResponse res)
              throws ServletException,IOException {
              String fname = "1003-3.txt";
              res.setContentType("application/binary");
              res.setHeader("Content-Disposition","attachment; filename=\""+fname+"\";");
              ServletOutputStream stream = null;
              try {
                   stream = res.getOutputStream();
                   BufferedInputStream bif = new BufferedInputStream(new FileInputStream(fname));
                   int data;
                   while(( data = bif.read()) != -1) {
                        stream.write(data);
                        stream.flush();                    
                   bif.close();
                   stream.close();
                   return res;
                   } catch(Exception e) {
                   finally {
                   if (stream != null)
                   stream.close();
                   return res;
    Can Anybody Help me out with the problem....Please it is URGENT!!!!!!
    Thanks a MILLION in Advance

    Hello All,
    I am using the Code,as below, to Download a Text File from a particular
    Directory on the Server to any where the user need to download it through the Dialouge box...
    But what i Really want to achieve is that the user should not be asked for an Dialouge box, instead it
    should Download the Text file directly to "Desktop"(By Default)...
    Is there a way to do so...if yes can anybody help me out with the solution...
    <Code>
    public HttpServletResponse doDownloadFile(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException {
    ServletOutputStream stream = null;          
    res.setContentType("application/binary");
    String fname1 = req.getParameter("BusinessId");
    String fname2 = req.getParameter("AccountUserId");
    String fname =fname1+"-"+fname2+".txt";
    res.setHeader("Content-Disposition","inline; filename=\""+fname+"\";");
    BufferedInputStream bif = null;          
    try {
    bif = new BufferedInputStream(new FileInputStream("C:/ABCD/download/XYZ/"+fname));               
    stream = res.getOutputStream();
    byte [] buf = new byte[20480];
    int data;
    while(( data = bif.read(buf,0,20480)) != -1) {
    stream.write(buf, 0, data);
    stream.flush();                    
    bif.close();
    stream.close();               
    return res;
    } catch(Exception e) {
    System.out.println("The Exception in MainServlet is :"+e);
    finally {
    if (stream != null)
    stream.close();
    return res;
    }//end of method
    </Code>
    Thanks a million in advance,
    Regards
    Sam

  • Lightromm 2.4 + Photoshop CS3 + NAS file save problems

    I'm not sure if this has been asked before (I couldn't find it when I looked...) but I have the following problem.
    I have a folder of JPG files on a NAS drive ( I'm using a Mac OSX 10.5.7 )
    When I have Lightroom open I can't then edit and save the images. I have tried opening them from within Lightroom and get a file may be in use error when I try and save it. I have tried opening them via finder with CS3 and get the same error when I try and save them. If I then close lightroom it all works fine.
    If I open a raw file from within Lightroom (also on the NAS) and save it Lightroom creates a PSD file (as i have asked it to do) and saves it without a problem. If I then go back to re-edit the PSD file and save it I get the same file may be in use error and can't save my changes. Again, if I close Lightroom I can then edit and save the file without a problem.
    For some reason it looks as though lightroom locks all the files in the catalog that are stored on the NAS even when they are not being edited......
    Any help gratefully received  !!

    It'll be no surprise to you to learn that LR isn't designed to work on networks. AFAIK, the workaround is as you've found: Quit LR, and the .lock is removed. I suppose you could delete the .lock file and keep LR open, but I can't recommend that.

  • Photoshop file save problems?

    As i complete a project, i go to save my work and when i get to the save window and try to select the format that i want to save in, i can only save in Photoshop editable file formats and cannot for example save in '.PNG' ect? Please Help!!

    Nobody can tell you anything without proper system info or other technical details liek what version of PS or your document. Available formats can depend on several things like color mode, document size and so on.
    Mylenium

  • AL11 File Save Problem

    Good morning everybody,
    I've again ran into a problem using AL11. While exporting my file unconverted I seem to be losing white space.
    I'm writing an ecryption program that operates using ASCII Characters 32 to 126, spaces included.
    1) After program execution, the white space character is in the string at the end
    [http://imgur.com/MvXRU]
    2) When I export to HTML format, it appears that the white space is still there
    [http://i.imgur.com/CBemx.jpg]
    3) When I export uncoverted to text file, the white space is removed.
    [http://i.imgur.com/TELSx.jpg]
    The text file on the application server is then transferred using a windows batch file to another location where it can be decrypted using a key. However, the problem is that since whitespace at the end is shaved, It kind of ruins the decryption and message.
    I'm thinking that the space is still there on the text file that is on the application server because the space is exported when going to HTML, but I can't access the file directly, only this way which.
    So, my question being is white-space at the end of lines trimmed upon export from AL11? Is there a way to avoid this?

    Hi Suhas,
    Sure. I can't do a fixed length because the lines vary. Some lines are 20 characters, others are 300. Also if I use a fixed length and the extra spaces get added to other lines then I have an alignment problem.
        open dataset ls_c_path for output in text mode encoding non-unicode.
        do li_bp_str_length times.
          lc_key = me->cl_keygen->get_current_key( ).
          lc_dec = ls_cur_bp_str+li_str_pos(1).
          lc_enc = me->cl_v->enc_char( in_key   = lc_key
                                              in_char  = lc_dec
                                              in_pos   = li_str_pos
                                              in_l_num = li_line_number ).
            concatenate ls_text_line lc_enc into ls_text_line respecting blanks.
          clear lc_enc.
          li_str_pos = li_str_pos + 1.
        enddo.
        transfer ls_text_line to ls_c_path.
    Even with the transfer statement given a length, the space at the end still gets cut off.
    transfer ls_text_line to ls_c_path length li_bp_str_length.
    Edited by: Bryan Abrams on Jun 8, 2011 10:05 AM
    Edited by: Bryan Abrams on Jun 8, 2011 10:07 AM
    Edited by: Bryan Abrams on Jun 8, 2011 10:23 AM

  • Illustrator CS4 file save problem

    Recently, when I try to save an Illustrator file to a server or locally, instead of replacing the file, it shows this dialog and creates a duplicate with a "1" appended. Any ideas?

    Ah, thank you! I never thought of that since I only have 1 artboard.
    But I saved again under a different name and made sure it was unchecked. It worked!

  • Problem printing with Adobe Acrobat X pro. No File Save As dialog

    We have a C++ program to print a formatted report, by selecting the configured  printers. "Adobe PDF" printer is available on install of Adobe Acrobat Pro.
    During report print  when "Adobe PDF" printer is selected, the report use to get printed in a PDF document & saves at the path provided by the User.
    Internally it uses printer APIs like  OnBeginPrinting, StartDoc, OnPrepareDC, StartPage, OnPrepareDC etc.
    Report printing was working fine with Adobe Acrobat Pro 9.1. But since I installed Adobe Acrobat X pro (with update as 10.1.3) I am unable to print PDF document using "Adobe PDF" pinter.
    StartDoc API does not pops up the "File Save As" dialog at all.
    Any help in this regard, would be very useful.
    Note: My code is working fine, if I use freeware like CutePrinter.
    Thanks,
    Amit Agrawal

    Interesting. My approach would
    1. Try on a different system if available. If still bad...
    2. Try to create a simple test application with CreateDC and StartDoc, and really nothing else not absolutely needed.
    Test that.  If it is good, look for other problems in your application (e.g. memory overwrite).
    If your little example is still bad, post it here and other people can try and compare your results.

  • Problems with "File Open" and "File Save As" in Tiger

    I recently upgraded to OS10.4.3 on my PowerBook G4 and ever since I have had only frustration upon frustration with this new version.
    When launching a program whether it be QuarkXpress 6.5, Illustrator CS, Photoshop CS, InDesign CS or Acrobat 6.0 and you go "File Open", it can take up to 3 minutes before the "Open" window dialog box will appear so that you can access your files. The same applies to the first "File Save As" in any of these programs. After that everything works normally.
    Has anyone experienced this problem with Tiger and is there a solution? I should be most grateful for any assistance.
    Leon
    PowerBook G4   Mac OS X (10.4.3)  

    I got so frustrated with iDisk that I did indeed turn mine off altogether. Now I just mount it when I need it, and do whatever I want to do manually. And it is STILL annoyingly slow, not only in its own operations, but in the way it hijacks the Finder and can sometimes bring all Finder operations to a grinding halt.
    I keep a local copy of the all the files I have on my iDisk in a perfectly normal folder. And I keep looking forward to the day when the promised seamless operation of my local files and iDisk will actually work.
    I've been waiting for several years and thru several different incarnations of the OS, and it ain't there yet. I think Apple's version of WebDAV is just really really bad. I've heard other WebDAV servers work better. And I figured it was a bad sign when, back in Panther, one of Apple's own helpers recommended a third party WebDAV software (Goliath) to access the servers rather than using the Finder. I didn't think things could get any worse--until Tiger came along. A bad situation can get worse, and it did.
    Maybe when Leopard gets here.....
    Francine
    Schwieder

  • Photoshop File Save as problem

    buenos dias:
    mi problema es que descargo photoshop y lo instalo en mi portatil acer one con xp
    y puedo trabajar una fotografia normal pero cuando voy a archivo guardar como...
    esta opcion no funciona ¿que debe hacer? gracias por la ayuda

    DIDIER´s wrote:
    Good day:
    My problem is that I download photoshop and install it on my laptop acer one with xp
    and I can work a normal photo but when I go to file save as...
    This option does not work is that to do? Thanks for the help
    Does your laptop have a screen with a resolution of at least the minimum required 1024 x 768 pixels?  If not, Photoshop will not be able to display the File - Save dialog.
    -Noel

  • File save as type showing as GIF in Photoshop  CS6

    I have a problem/bug. When  I save for the web, select my file type ( png,wbmp,jpeg) it displays the file type as a Gif in the lower left eventhough the file saves in the correct format.  This is the version from the cloud download. Every file type displays this way?
    How can this be fixed?

    The original file must be Gif or you have some slices.
    On the top of the Save for web dialog press the Two Up button and the orginal will be on the left and the version to save will be on the right.
    Could you post a bigger screenshot as it's to tell from the small size you posted?

  • TWO CRITICAL BUGS: 1) File, "Save Page As" and 2) right-click the picture and select "Save Image As", both do not work at all in Firefox 27, 28, and 29!

    Note: capitals are used only to highlight important words.
    PLEASE, TAKE THESE COMMENTS ON TWO CRITICAL BUGS VERY SERIOUSLY BECAUSE THE BUGS DESCRIBED BELOW ARE SO CRITICAL THAT I CANNOT USE THE LATEST VERSION OF FIREFOX UNLESS THEY DO NOT APPEAR IN THE LATEST VERSION AND THEREFORE I AM FORCED TO REVERT BACK TO FIREFOX 26.
    I have Windows 7 64-bit and Firefox 26. I could not install Firefox 27, 28, and 29 due to the persistent presence of the two critical bugs described below. I have 8 GB of RAM and an Intel quad-core processor and a lot of hard disk space available.
    I installed Firefox 27 and then Firefox 28 a while back and these two bugs described below were still present and now I have just checked again with Firefox 29 by installing it and yet again, these two bugs described below are present!! UNBELIEVABLE THAT THESE TWO CRITICAL BUGS ARE STILL PRESENT IN FIREFOX 29 WHEN I CLEARLY INFORMED YOU ABOUT THEM IN THE HELP, SUBMIT LINK OF FIREFOX!!
    I am forced to revert to Firefox 26!
    First, I use Windows 7 64-bit and I always use Firefox with at least 120 tabs opened. BUT I have 8 GB of RAM, an Intel core i7 quad-core processor and more than 1 TB of hard disk space. Consequently, I do not understand why I would have these two critical bugs.
    With Firefox 26, I also have at least 120 tabs opened when I start Firefox and I do not have the two critical bugs described below, therefore I do not believe that the number of tabs is the reason of the two critical bugs that are present in Firefox 27, 28, and 29.
    ---FIRST CRITICAL BUG:
    When I open ANY web page and do File, "Save Page As", the window that is supposed to open to locate the folder where I want to save this web page does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---SECOND CRITICAL BUG:
    When I use Google Images, for instance entering model in the search field of Google Images and then pressing enter.
    Then I select any picture, open to a new tab this selected picture, then open a new tab by selecting the option View for this picture. Then right-click the picture and select "Save Image As".
    Again, the window that is supposed to open to locate the folder where I want to save this picture does NOT open at all, even if I wait a long time to see if it opens.
    Same problem happened with Firefox 27, 28, and now 29!! When I reverted back to Firefox 26, this problem did NOT happen anymore!
    ---THESE TWO CRITICAL BUGS DO NOT APPEAR WHEN I USE INTERNET EXPLORER 11.
    I have no idea if you will be able to reproduce these two critical BUGS but I can assure you that they are not present when I use Firefox 26 and they are present when I use Firefox 27, 28, and 29. More, be aware that I have at least 100 tabs opened but I also have this same number of tabs opened in Firefox 26 and yet I do not experience these two critical bugs when I have Firefox 26!
    Once again, these two bugs touch at two vital, critical very basic functions of Firefox and therefore I will NOT be able to use any version above 26 if these two bugs are still present, as they are present in Firefox 27, 28, and now 29!!!
    Please, make it a priority to solve these two critical bugs. Thanks.
    I did read a post related to the same issues “Firefox stops responding when trying to "save page" or "save image" | Firefox Support Forum | Mozilla Support” at https://support.mozilla.org/en-US/questions/991630?esab=a&as=aaq
    I am still reading it again to try to figure out exactly what the person did to make his problems be solved, as the post is not clear at all on what solved the problems!
    In any case, all the suggestions proposed in this post do not work and I surely cannot do a system restore when it is obvious that the two bugs do not appear in Internet Explorer.

    First, I sent an email to the author of PhotoME to inform him of the serious issues his addon caused with Firefox latest versions.
    Now, for those of you who do not have the PhotoME addon and yet experience the same problem that I had and that I described above, I suggest the following strategy.
    As PhotoME did cause these problems with Firefox latest versions, I am pretty covinved other addons probably might cause these problems too. Therefore, adopt the following method.
    Test one addon at a time to see if this particular addon is behind your Firefox issues like the ones I had.
    So, disable one addon only at a time. Then close your Firefox and restart it from scratch and see if you still have your Firefox problems. You must restart the Firefox browser from scratch. If you still have these Firefox problems, re-enable the disabled addon, restart your Firefox (again!) and repeat the same method for every single addon that you have.
    Try to be selective by choosing first addons that are more likely to cause your Firefox problems such as not very well-known or not very popular addons (like it was the case for the PhotoME addon).
    If this method works or if it does not work, report it on this web page so that others can be helped with your comments.
    I hope this method will help you because I was really upset that I had these Firefox problems and I first thought it was the fault of Firefox, only to discover later that this PhotoME addon was the culprit and had caused me such upset.

  • Saving a PDF file when printing is not supported. Instead, choose File Save.

    I am using Mountain Lion (10.8.2) and I was using Adobe Reader version 9. In the past, I've always been able to print to file using the File -> Print dialogue but all of a sudden it stopped working. I read somewhere that installing the latest version of Adobe Reader (version 11) would remove the old printer, so I did so. It took me about an hour on version 11 to even find the pdf print to file option, but I am getting the same message. For what it's worth, when I try print to file from Microsoft Word, I have no problem. I have no idea why things changed all of a sudden, but does anyone have any idea how I can get this working again?

    I checked with Adobe.  No luck. 
    Allow me to clarify my problem: 
    I have Adobe Reader XI. I also use a Mac--imac and a MacBook Pro.   My adobe was updated on 12/24.  Prior to that point, I could open my print dialogue box and there was a PDF tab on the bottom left.  In the drop down menu there were many choices, including but not limited to Open in PDF Preview, Print PDF, Save PDF, email PDF.  If I selected one page of 30 pages from a document saved in Adobe, I could extract just that one page and save it or email it, without having to send the entire document.   After the update, when I open a PDF file using ADOBE READER XI, and then open the print dialogue box, and follow those same steps, I get the message "Saving a PDF file when printing is not supported. Instead, choose File > Save."   My question is why is this feature now unavailable and is there a way to fix it? 
    The answer I got from Adobe was that Adobe never had this function, so it must have been via my print or preview programs..which are apple.  Does anyone have any thoughts?
    Thank you.
    https://forums.adobe.com/message/7124567 

  • Message error: "Saving a PDF file when printing is not supported. Instead, choose File Save."

    I have 2 problems creating a .ps file.
    As i know, there are 2 ways of creating a Postcript file from a PDF.
    The first is from the Print monitor. I go through menu File/Page Setup i give the exact dimensions from my spreaded pages and after that i go to Print and when this window opens,
    i go down and left and i open the pop-up menu on"PDF" and i choose "Save PDF as Postscript"
    There is where i get the above error message :
    "Saving a PDF file when printing is not supported. Instead, choose File > Save."
    And the second scenario, i get an equal problem.
    If i go to Page setup and give the right dimensions of my spreaded document, after that i go to the File/Save as command, there is choose from the bottom pop-up menu, the option at Format: Postscript
    If i do that i get the following message:
    "The document could not be saved. An internal error occured."
    What is wrong with all this?
    Can anyone help me out?
    System preferences.
    Mac OS X 10.4.11
    Acrobat professional 8.1.2
    Thank you

    Jon Bessant asked:
    "Does this occur on every PDF file? The internal error message that is ..."
    Yes, it happens on every PDF

  • File Save As Other Reader Extended PDF Enable Commenting & Measuring GRAYED OUT

    I have an PDF form created in Adobe LiveCycle Designer ES 10.0.
    When I open in Reader, All the "Sign" options are grayed out.
    Under "Properties" Signing is allowed but Commenting is not.
    From all I have seen, I hope that allowing Commenting will allow me to use the sign features.
    The only solution I'm finding on the internet is below:
    File > Save As Other > Reader Extended PDF > Enable Commenting & Measuring
    It is grayed out in my (latest version of) Acrobat pro.
    **Is there a way to make this option available?**
    **Will this even solve my problem?**
    **Is it possible that it is impossible to use these features on this document?**
    At this point, I've spent about two and a half hours on this issue and haven't been able to find a solution. Very frustrated.
    Thanks.

    Thanks. I'm not an IT person and needed that lead.
    In the end, I just printed to Adobe PDF and then was able to use the commenting options (once I had flattened it). For those who might come across this - this is one of the only ways to flatten a XFA PDF.

Maybe you are looking for

  • Acrobat Updater for Yosemite from 9.0 - 9.5.5

    Hello - Attempting to run the updater to update to version 9.5.5, when the installer gets to "Installing Update" it pops-under a modal panel for "Install Extras" and waits on a response to that panel; unfortunately i can't bring that panel to the for

  • WEBUTIL : Security Error

    Hi , I am using 10g developer suite . I am testing my forms in my own machine using OC4J.( so my own machine both appserver and the client ). I downloaded the example of webutil and all other functions is working except OLE . The demo form writes int

  • Upgrade From CS5 To CS6 Problems With Flash Graphics?

    Hi People. I upgraded from Adobe CS5 to CS6. I originally built a printable book and developed an interactive version in InDesign CS5, which I finally exported to Flash. For the printed version I used Adobe illustrator to create the book images and f

  • Why is a question mark in place of my phone book?

    Why do I get a ? in place of my phone book?

  • Mic Recording Level

    Good evening. I would like to do a voice recording in Garage Band but when I plug in my mic the sound is non-existent or very low. Is there some way to boost the volume on the mic using Garage Band? Thanks, BurntMonkey