Open in read / set save path

Hello,
I would like to open an image in read only mode and then set the save path to save to a different directory, without actually saving the document. The former i can manage. When the user selects save I wish the save directory to be different from the source. Is it possible.
Thanks

Thanks for the reply.
Anything is welcome at this point.
And yes, I did try both through PowerShell and through the Unlocker and the behavior is pretty much the same. If the item is checked in, there is no trace that it is locked, if I Check it Out (the only thing I can really do with it) it shows as "LongTerm"
but then throws the same exception
Unlocking...
Error occurred. Details:
Save Conflict
Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes.
   at Microsoft.SharePoint.SPFile.CheckIn(String comment, SPCheckinType checkInType, Boolean bIsMigrate, SPUser modifiedBy)
   at Microsoft.SharePoint.SPFile.CheckIn(String comment)
   at ForceSPItemUnlock.UnlockerForm.UnlockButton_Click(Object sender, EventArgs e)
The method UpdateItemCheckoutExpiration sounds insteresting though.
"The more difficult something became, the more rewardant it was in the end"
http://ftduarte.blogspot.com

Similar Messages

  • Saving documents via Scripts: Get current file name and set save path/file type

    I am writing a script that will:
    -Make all layers invisible
    -Make a layer named "background" visible
    -Delete all the invisible layers
    -Save the docment as an EPS file (leaving the original document untouched)
    I am new to scripts and so have based my script by copying code from other scripts.
    Here is my code:
    var doc = app.activeDocument;
    var name = doc.name;
    var hide = function (){ // hide all layers (based on http://forums.adobe.com/thread/644267)
         var L=doc.layers.length;
         for (j=0;j<L;j++){  doc.layers[j].visible=false; }
    hide();
    // loop through all layers
    for (var i = 0; i < doc.layers.length; i++) {
                  // Create the illusrtratorSaveOptions object to set the AI options
        var saveOpts = new IllustratorSaveOptions();
        // Setting IllustratorSaveOptions properties.
        saveOpts.embedLinkedFiles = true;
        saveOpts.fontSubsetThreshold = 0.0
        saveOpts.pdfCompatible = true
    //Set up Variable to access layer name
              var currentLayer = app.activeDocument.layers[i];
    // Loop through the layers and make the back ground layer visible
              if (currentLayer.name == "Background") {
                        docName = name + currentLayer.name+".eps";
                        currentLayer.visible = true;
    // Delete Invisible Layers (based on http://www.cartotalk.com/index.php?showtopic=7491)
    var myDoc=app.activeDocument;
    var layerCount=myDoc.layers.length;
    for (var ii = layerCount - 1; ii >= 0; ii--) {
        var currentLayer = myDoc.layers[ii];
        currentLayer.locked = false;
        var subCount = currentLayer.layers.length;
        for (var ss =subCount -1; ss >= 0; ss--){
            var subLayer = currentLayer.layers[ss];
            subLayer.locked = false;
            if (subLayer.visible == false){
                subLayer.visible = true;
                subLayer.remove();
        if (currentLayer.visible == false){
            currentLayer.visible = true;
            currentLayer.remove();
    // Save Out Document with New Name
    var saveName = new File ( doc.path + "/" + docName );
    doc.saveAs( saveName, saveOpts );
    Everything works fine except:
    1) It saves the document with the name AdobeIllustratorBackground as opposed to the name of the document
    Also, I am not sure how to tell the script to save as EPS and to specify the save location.
    Could some one give me some pointers?          Thanks!

    Thanks! I changed my code to this:
    var title = doc.name;
    var title = title.substring(0, title.length - 3);
    And it now works! (The substring thing removes the .ai extenion).
    However, how do I get it to save it as an EPS? (I found this script that  saves as PNG, but I am not sure how to adapt it to EPS).
    Also, how do I set the file output path?
    Thanks for any help that can be offered.

  • Adobe reader is freezing each time I am using it this week. I cannot open and read or save documents.

    I have a Macbook Pro 2011. Adobe reader freezing.  Unable to read documents or save documents.

    Hi barbjuchua,
    Are you still facing this issue.
    If yes, have you tried to update Reader. Also, i would suggest to repair disk permission in safe mode::  http://support.apple.com/kb/HT1564?viewlocale=en_US
    Regards,
    Ajlan Huda.

  • How to set save path using FileStream?

    Hi everybody, I have a webcam that takes a snapshot in AIR. I understand that the code below is to write/edit a .txt file.
    var file:File = File.desktopDirectory.resolvePath( "Text.txt" );
    so how do I save multiple snapshots .jpg to my local network/C drive?

    Hi guys, I have been doing some trial and error and found the correct code to save the bitmap into my C drive. Thanks for reading this thread.
    var fl:File = File.desktopDirectory.resolvePath("C://grpphoto.jpg");
    -Zainuu

  • I enable Display PDF in browser but still opens in Reader

    Our current client PC's are Windows XP 32-bit, IE 7, using Adobe X v.10.1.2. We have an application that opens PDF files. We have the parameter "Display PDF in browser" enabled and it opens in the browser as it should.
    However, new PC's are built with Windows 7 63-bit, IE 8, using Adobe X v.10.1.2. Using the same application with the parameter "Display PDF in browser" enabled, it always asks if you want to open in Reader or save the file. That shouldn't happen. It does this whether the paramter is enabled or disabled, it also does this using 32bit IE 8 or 64bit.
    Is this a Adobe bug, Win 7 bug, or how can we make it open in the browser? Using another browser is not an option. IE is the company standard.
    Thanks

    Does it work correctly on "normal" web pages, e.g. the PDF links near the bottom of http://forums.adobe.com/community/adobe_reader_forums ?
    In a 32-bit browser, the PDFs should open inside the browser.
    With a 64-bit browser, the PDFs will open in an external Adobe Reader window.

  • How can I save zoom setting for a DOCUMENT so it opens at that setting?

    I find an optimal zoom setting for a document I'd like to use (say 42%) and want the document to open at that setting.  I save the document with File>Save Copy.  However when I open the document, it opens at the DEFAULT zoom setting set in the Preferences for program.  If I change the zoom level here to what I desire for that document, obviously all documents will open at that default setting.
    How can I save my desired zoom level for a document, which will most likely be different for EACH document, and have the saved document open at that setting?
    This seems like a trivial exercise / feature that should be easy to implement BOTH by the programmers of the software and the user setting the zoom level.
    Also, I want to suppress the bookmarks sidebar.  I save without the bookmarks but the documents opens with the side bar.  Can't THIS be set for each document?
    Why is it so difficult to tailor the viewing of a document to exactly what the viewer wants?

    OK.  Sorry for the mistake in posting the question here.
    Again it seems like it should be trivial to save a document in the Reader with a viewer's desired zoom setting.  I find this very helpful as I like to use a zoom setting that when scrolling down the document only one full page of the document is viewed (like turning the pages of a book).  Without this feature, partial pages are displayed when scrolling unless one experiments to find the correct zoom setting (often it is 60%).  One must do this every time one opens the same document, unless one remembers the zoom setting.
    Oh well ....

  • Shared folder files open as read only even though they are set up as read write

    Hello, I've recently purchased a iMac to work alongside my mac book pro. Primarily, i want this for ease of use at home and as a 'back up' to my pro should anything happen.
    I have a number of folders and files on my pro that I wish to access on the iMac and have set up shared folders to enable this with a new profile and read/write permissions. This all works fine until I open the document, make changes then find that I have to save as a different name as the files open as 'read only'?
    Is there anything I've missed? I would of expected 'read/write' permissions to enable me to save files as edited?
    Any help appreciated otherwise, I'll have to resort to copying files between machines which would be a major dissapointment!
    Thanks in advance

    Found the solution...basically the permissions are not automatically cascaded down to sub folders and files so you have to do the following... modified from https://discussions.apple.com/thread/2743520?start=0&tstart=0
    On the folder that you would like to change, select the Get Info and then click on the cogwheel at the bottom of the Get Info dialog.
    Click on the menu pick "Apply to enclosed items ..." and confirm the warning message.
    Then the same read & write permissions are applied to all the subfolders of the selected folder.

  • SP2013 and Project 2013 - project files open in read-only mode with no options to edit only Save As

    Hi all,
    Environment:
    SharePoint 2013 (15.0.4420.1017)  RTM
    Windows 8 - Project 2013 (15.0.4433.1506) 32Bit
    Issue details:
    When opening .mpp files stored within SharePoint they are opened successfully within Project 2013 however they are opened in Read-Only mode with no options to edit/check out only Save As.  The
    same outcome is experienced if you click the document link within SharePoint or you chose to edit from the document menu. 
    Opening the file through windows explorer also opens only in read-only mode.
    To date we’ve tested the following
    Windows 7 – Office 2010 = working as expected
    Windows 8 – Office 2010 = working as expected
    Windows 7 – Office 2013 = opening as read only, no prompt to edit
    Windows 8 – Office 2013 – opening as read only, no prompt to edit
    Current thinking is that it is an issue with either the SharePoint Office Documents Class ActiveX control or Project 2013 itself interacting with SharePoint 2013.
    We have tested this in multiple SP2013 environments with the same outcomes.
    The workaround therefore is to save locally and then upload again which is not ideal.
    Unable to find an exact issue match to this.
    Any help with this appreciated.

    Hi Dan,
    For us after investigating this further it was found that using the document menu to edit or checkout and then edit results in the project file being opened in read-only mode. 
    The same issue was present for Visio files.
    Using the FILES ribbon menu results in the document being opened in edit mode successfully in both Project and Visio.
    Please note that we found that this issue only exists within document libraries where checkout is required to edit which was our case.  If checkout is not required the document
    menu can also be used as expected.
    Cheers,
    Dan

  • HT1146 microsoft Outlook for MAC, how can I set "receive notification email sent has been opened and read" in Outlook?  Thanks

    Microsoft Office for MAC, how does the sender select a notification that an email has been opened and read in Outlook?  Thanks

    Since this question is about a Microsoft product, you might have more luck getting suggestions if you ask in Microsoft's own forums.
    Regards.

  • Can't open pdfs direct from firefox, have to save it and then open with reader.

    cant' open firefox pdfs direct
    == This happened ==
    Every time Firefox opened
    == about the last time there was an upgrade

    Hi Nikoo,
    Are you opening the PDF files in Reader or Acrobat (or in a web browser)? If you open in Reader, there are different options on the Tools panel from what you see in Acrobat. If you need to edit a PDF file, make sure that you open it Acrobat.
    Best,
    Sara

  • Not Working: Enable Reader to Save the Document

    I'm having a problem that's mentioned in the first post on this knowledgebase thread: http://help.adobe.com/en_US/Acrobat/9.0/3D/WS58a04a822e3e50102bd615109794195ff-7e0d.w.html
    I have Acrobat Pro 8.0 and Acrobat Reader 8.0 installed, so I should not be having this issue. After I've enabled reader to save the document within Reader, and I test it within Reader 8.0, I get this message: 
    Outgoing Message Notification
    An email message with "documentname.pdf" attached has been given to your default email application. If your email application is configured to send email automatically on a schedule, the email will b sent automatically.
    If not, you will need to send the message manually.
    But my default email application (Outlook) doesn't open an email up. I've checked the "internet properties" for my browser, and Outlook is set as the default email application, so I'm not sure why it's not working. PLEASE HELP!!!

    As Graffiti said, I am just trying to help you from going down a frustrating path. You can enable Reader Right's in Acrobat (if you designed the form in LiveCycle Designer, you may have to follow a slightly different path) to allow the full form to be saved. However, you can have the form data (XML or FDF) submitted and that does not require the save step. The issue with the save is that you are limited to 500 uses by the EULA (looks like your form was a general use form and you would likely exceed the limit).
    The submitted data can be imported to the form and so you can easily have the same results as getting the full form with data.
    The problem with e-mail submission is that it is dependent on the client machine, something you have no control over unless you are in a controlled environment and the machines can be controlled as a result. MAPI is the Windows interface that allows other programs to access e-mail. There are at least 2 versions of it and many folks do not activate it. Thus, those without MAPI activated would flood you with the complaints about it not working. You are welcome to try to set up instructions to tell folks how to activate it, but they would likely have something else to say to you or simply get lost -- a good way to lose business. If you do not need the data formatted, you can have it submitted to cgi-mail or formmail that may be on your server. In that case you will have to have the data formatted in an HTML form (one of the options in Acrobat forms, not sure about Designer). Then the data would be submitted just like on a web form to the mail script. These scripts require hidden fields to know where to send the mail and such.
    What I meant to say is that it is unfortunate that the manual suggests e-mail when it is not a good method to use for form submission. We address this issue 3 or 4 times a week with folks. There are several forum topics that relate to your question, all saying pretty much the same. Sorry if you do not like the answer, but that is the way it is. Use e-mail submission if you wish, but be prepared for complaints. At least you know why you will be getting them. Apparently some MAC users have some similar problems with e-mail submission. I have no idea about UNIX users in general. It even sounds like you don't have things set up correctly on your e-mail and you are expecting it to work for other folks? That's the problem!

  • Acrobat Reader won't read pdfs: "file path not valid"

    I thought that my PlayBook would be the perfect device to read pdfs in the Adobe Reader. The only problem is when I download a pdf from the internet, or copy a pdf from my computer, and click on the file icon from within the Reader, all I get is a cryptic error message that reads "The file path is not valid". No hints at what to do.
    At first I thought it was a problem with the file. But every file suffers from the same ill fate. Do you have any suggestions?

    Article ID: KB26744
    Unable to open any PDF documents on BlackBerry PlayBook
    Type: Support Content
    Last Modified: 06-17-2011
    Product(s) Affected:
        BlackBerry® PlayBook™
    Overview
    When attempting to open locally saved or attached Adobe® PDF document the following error is returned:
    The file path is not valid
    Environment
        BlackBerry® PlayBook™ tablet
    Cause
    The error is returned due to application permissions to of the Adobe® Reader application on the BlackBerry® Playbook™. The 'files' option within Adobe Reader application is set to 'Denied'.
    Resolution
    Edit the application permissions file access rights for the Adobe Reader application.
    1.  On BlackBerry Playbook open Options
    2.  Select Security -> Application Permissions
    3.  Select Adobe Reader application
    4.  Edit file permissions setting to allow the application to access files stored on BlackBerry PlayBook
    5.  Save settings by selecting Back button after making changes
    rabbitupnorth:
    This solution works! Problem solved.

  • InDesign CS4 Files Open as Read-Only (Mac)

    Having a problem where InDesign CS4 files sometimes open as read-only versions. This happens when opened by double-clicking through Finder, force opening by dragging the file over the ID icon in the Dock, or when opened through ID (file > open). If it's relevant, the ID file contains links to InCopy files that have been made using the Assignments Panel. System is Mac OS X 10.6.2. Any help &/or insight is greatly appreciated!

    I got a similar kind of problem / error trying to migrate an InDesign Server CS4 solution to another server with InDesign Server CS5.
    Windows 2008 server.
    I'll describe it, just in case it might give any clues.
    Calling an InDesign server "open" script, trying to open an InDesign document, using a network path - although the file is on the same server - resulted in an error message:
    System.Exception: 3598: Error from InDesign. Cannot save the document. No destination file supplied.
    In the script there is a line, telling Indesign Server to call the save method, if the document is modified, which can be the case after opening a document from another environment, converting to CS5, and links that need relinking and other stuff that either InDesign takes care of, or that the script does.
    No lock file ( .idlk ) was created on the server, but until I restarted the InDesign server instance, the file was opened as read-only when I opened it on my own computer (from the same network path on the server). I could then not save it from my own computer (the "Save As" dialogue appeared when I selected "Save" in the File menu).
    After restarting the InDesign Service, the file was no longer locked (restarting the sevice automatically clears all open threads to the documents), and I could use and save the file without trouble, from my own computer.
    Changing from Local Service to Administrator for running the InDesign service on the server, made the document open. Setting full permissions to the "Local Service" account, on the network share in question, also works, and that's the way I left it.
    So my problem had to do with permissions on the network share. Since the service account was not allowed to do certain things, such as "modify" files... something went wrong.
    Probably no lock file could be written either, due to permissions... then the open document and locking was handled by the operating system only(?), keeping the document read-only, and reporting other messages than the expected ones. It somehow seems that the document was neither open nor closed on the server (since InDesign Server has no user interface, I can only report what my method calls "saw").
    Now - with the permissions of the service account changed - trying to open the document on my computer I get the correct message: "Cannot open the document [...]. You may not have permission or the document may be open already."
    (When it was opened in a faulty state - with insufficient permissions - on the server, I could still open it on my computer, but as read-only, due to the missing lock file.)

  • Can I change the defualt folder that opens when I press 'save' in answers?

    Hi
    like in the question above: can I change the default folder that opens when I press 'save' in answers?
    it shows the path but in order to see the content of the folder where I wanna save sth i need to navigate through folders to get to that destination folder
    can i change the set up so that by default directly the content of the folder displays where the report is saved?

    I am on a webiste and wish to upload a photo.
    I click on select file on the website
    You are attempting to download the picture to your computer not uploading photo to the website if I am understanding you correctly.
    To change the download direction, you must do so through your browser's Preferences.  If you are using Safari, hopefully, someone who uses Safari will help you and/or post over in their forums.  I do not use Safari.
    If using Firefox>Preferences>General>Save Files to:

  • Help Please! my JPG files suddenly won't save paths

    I'm using CS5 on a mac. I've always been able to save JPG files with clipping paths intact. Suddenly today the paths won't save. I do a 'save as' and the path is there. When I close the file and open it up again, the path (not work path, but a saved path) is gone. No path in the path panel list! I am guessing I must have accidentally changed a setting?? Not sure what else it could be short of a software bug. Any help is greatly appreciated! Thanks.

    That's a bit strange. I am not aware of a setting that would cause the path not to be saved.
    The two circumstances to investigate are: i) was the path not saved and ii) are you not seeing it for some reason. The only way I am aware of to not save the path is to save the file as a jpg via Save For Web & Devices.
    If the file was parsed by some other viewer & saved after it left photoshop then you could loose the path, though this is not common. Also, if you happen to open the jpg via camera raw it would also not be parsed to include the path.
    Paulo
    P.S.   Perhaps you could post a sample jpg file that you believe should have a path that you cannot see.

Maybe you are looking for