JS InDesign CS4: save document into specific location on a network

Hi,
I been able to save my document with new name, but I am not sure how to specify new network location for it. Here what I have:
app.activeDocument.save (myFileName+".indd");
Thank you very much for your help.
Yulia

(Aside: me not a John, me a Theun. [JW] is just a convenient handle.)
"/SPACE"+yourfilename is not a fully qualified path name. For one, with a 'yourfilename' of "foo", it will result into a full string
/SPACEfoo
and this can be taken apart in a path "/" (the root of your current drive) and a filename "SPACEfoo". You need another slash after "SPACE".
Second, you should investigate what a full path looks like. I seriously doubt "/SPACE/" is a valid path on your machine. Use the one line script I showed to check what it looks like for a saved ID document.
A small trick you might want to use is, pressing Ctrl+C (or Cmd+C, on Apples) with a dialog on screen copies the entire text of that dialog. That's how I copied the full path and file name into my previous mail -- I didn't type it in manually.
[EDIT] Sorry, I did not include that one line script. It simply is
alert (app.activeDocument.fullName);

Similar Messages

  • How do I save emails into specific folders in my Documents, NOT in the email account folders?

    How do I save emails in a specific folder in my Documents, NOT in the email account folders.
    Thx,
    Beginner

    Open the email, do a save as have it save to the location you want from the drop down menu (You could select desktop and then drag it into a folder in documents) and click save as a .rtf.
    Or you can copy and paste into a document (Word, Pages, Text Edit...) Make a folder and put it in docs.

  • Add button to PDF Form to save file to specific location

    I have a simple form that is completed daily by various supervisors. I have successfully added a button to the form to email the form which then sends the form to an email group. Now, I'm trying to add a second button to save the form to a network location. I'm looking for this to be a one-click type situation, where the button then saves the form to the specified folder on the network.
    Lets call our form "Form.pdf". I'd like the filename to be "Form - date - time.pdf" where date and time are fields on the form that are completed by the user. The location will always remain the same and will be a UNC path ie \\server\share\filename
    All users are using Acrobat X standard when completing the forms, will be connected to the network and will have permissions to write to the file share.
    This seems like it sohould be easy, but I cant figure out how to do it in Acrobat.
    Thanks in advance for any help.

    It's only possible if you can install a script on the local machine of each
    user. For more info, see this tutorial:
    http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Exporting an InDesign book of documents into InCopy

    I work with a lot of books, and I frequently get the request to suddenly provide an entire book of documents in InCopy to an editor (on or offsite).  I'm just curious if anyone knows of a plugin or script that does all the manual work of opening each document in a book, exporting all stories to an assignment and then combining the assignments into something that can be easily portable? It can become a very time consuming task when my books can contain as many as 30 or 40 documents.

    E Diane King wrote:
    I'm just curious if anyone knows of a plugin or script ..
    PC or Mac platform ?
    robin
    www.adobescripts.com

  • Save jpg into same location with appended filename and no dialog

    Hi there,
    I've got thousands of images on a local server, all nested in a folder structure. For each image I need to open it, run an action to resize it, then save a jpg copy into the same folder it came from with an appended filename. I need to supress the jpg quality dialog (and all dialogs) so I don't have to babysit the batch process In Photoshop.
    I select the initial files by kind & aspect ratio in Bridge then run a Batch Action.
    Any suggestions?

    Something like this?
    app.displayDialogs = DialogModes.NO;
    var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
    var saveFile = new File(app.activeDocument.path.toString() +"/"+Name +"-edited.jpg");
    SaveJPEG(saveFile, 8);
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    function SaveJPEG(saveFile, jpegQuality){
    jpgSaveOptions = new JPEGSaveOptions();
    jpgSaveOptions.embedColorProfile = true;
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
    jpgSaveOptions.matte = MatteType.NONE;
    jpgSaveOptions.quality = jpegQuality;
    activeDocument.saveAs(saveFile, jpgSaveOptions, true,Extension.LOWERCASE);

  • Add image in uploaded pdf file and then save it specific location using C#

    I need to upload a pdf file and then add image in that file and then save it in specific location. This process should be in C# . Is it feasible or not in Acrobat XI Pro ?

    Hi Irosenth,
                        In 'License & Compliance Services' document provided by Adobe, they specified as
    For server use, installing desktop licenses in a server based environment is generally allowed,
    so long as the total number of users, (not concurrent users) who can access the software
    deployed on that server, do not exceed the Permitted Number of licenses. Usage is defined as
    individuals or entities who “use, download, copy OR otherwise benefit” from the
    functionality of the Software installed on the server.

  • Save adobe form to specific location

    Help need!!!!
    I have managed to create a regular saveas button that works great at the minute it defaults to the users my documents folder
    How can i make it save to a specific location?
    e.g of location:
    \\Bcnw-fs-02\Salford Workgroup\QA
    also can you have a pre-determined save as name depending on what the user entered in a certain text box?

    I have a time sheet form named Timesheet Paperless.pdf I send this form to an employee and tell them to fill their name and employee number in the form. I then ask them to go to File>Save As and name the form INTIALS_TS.pdf . I now would like to a have button with in the form that will open a Save As dialog with the filename INITIALS_TS CurrentDate.pdf under My Documents/Work Files/Time Sheets/. So every new pay period they would click the save button on the form to save the file under the time sheets folder with their intials and the current date the button was pushed. How can I do this in JavaScript?

  • How do I reorganise documents into folders?

    My current version is 5.5.2 (2120) in OS X Yosemite 10.10.3 (14D131) and Im looking to move created documents into specific folders.
    As a student I regularly create documents on specific topics and in my Pages I have folders for each topic. What I would like todo is drag and drop documents into the folders but pages stops me from doing this.
    The only way I have fixed this is to open up my iPad pages and organise the documents on there, simply by dragging and dropping.
    Have I missed something on pages for Mac? 

    On your Mac, option+Save As… . In the File Save chooser, click the small black triangle adjacent to the filename. You want this black triangle facing up so the expanded Save As panel is visible. Now, you can either navigate to and open (double-click) existing folders where you want to save your current document, or on the bottom panel is the New Folder button.
    The File Save As chooser window does not support drag and drop as one might expect from a true Finder window. If you were to drag and drop a document from the Desktop into this Save As window, not only would it not copy, but it would switch the location of your Save As window to the Desktop.

  • Paste from Indesign cs4 to Illustrator cs4?

    Will the styles and effects applied to type and graphics in InDesign CS4 and pasted into Illustrator CS4 print correctly on the press? They appear correctly when pasted into Illustrator.

    By printing correctly your main concern is will you have enough resolution. In Indesign you determine the resolution of these effects when printing by choosing Advanced and setting the transparency flattener
    If you copy InDesign items with effects and paste this into Illustrator, the effects are turned into embedded graphics. If you copy and paste this into Photoshop at 300dpi and look at 100% view, there does appear to be some pixelization so whatever resolution these embed graphics are turned into I would say they are short of 300dpi (someone else please chime in if you know how to determine the exact resolution these are).
    You can try exporting your InDesign Effects graphics to a press quality PDF, and then importing that into Illustrator.
    The other issue may need to consider is if you have spot color inks for your job, and will your graphic be utilizing these spots if needed.
    If you are just using drop shadow, I would recomend you copy and paste the type, and in Illustrator add a drop shadow, so you can have more control. FI you are using bevel and emboss, Illustrator does not have that so export you graphic to press quality PDF in that case.

  • HT4641 how do I organize my documents into files on pages?

    I want to organize all my documents into specific files, however I can  not figure out how to create new files.

    A "document" is a file. When you create a Pages document, you are creating file. Perphas you can provide a little more context or detail as to what you are trying to accomplish.

  • Indesign CS4 loses links when saving layout

    I ran across an interesting situation at work, using Indesign CS4 on a Mac in an ActiveDirectory environment (network users). Every time Indesign was saving the layout file, the last graphic element placed on the layout lost the link to the original file. We change every single component in this scenario (parameter ram, Indesign prefs, new hardware, OS upgrade from 10.6 all the way up to 10.8, deleted the user and created a new one, ...) until we noticed a font problem with the universal type client deamon. The solution was pretty simple - we deleted all the font-management stuff and did a clean install of the universal type client. Et voilà, Indesign worked like charm… maybe someone can make use of my time-consuming experience

    Thank you. I'm pretty sure there was another thread about losing links last year, and it also turned out to be Suitcase.

  • Can't Place a specific Word 2010 docx into InDesign CS4

    I'm trying to use the Place command to bring the text from a specific Word 2010 docx into InDesign CS4.
    I've successfully brought in several Word 2010 documents (docx extention) to InDesign CS4 documents using the place command.
    I have one specific 30 page document (which is no loarger than others which have been successful), and when I use the place command with this file, nothing happens (and no text gets loaded onto the cursor for placement.
    I've tried re-saving the word doc, even pasted its contents into a new Word doc and still can't get the Place command to work.
    THere's nothing particularly unique about the file - doesn't have any odd embedded content, just a 30 page text document writtin in word.
    Any ideas what could be going wrong or how to fix it?
    I've tried restarting both Word and InDesign without any change (and the rest of my word files can be Placed without problem, so I imagine it's something specific to that file.
    NOTE - re-saving in RTF format lets the Place command work but leaves a bunch of empty squares/boxes (not sure if these were for tabs or empty spaces or what really??)
    Can work around this for now, but would like to know how to get the place command working with decent size Word Docs( docx for word 2010 if that matters).
    Thanks for any help.

    It turned out that for at least one particular document the OP had used some blank paragraphs as spacers at the start of the text, and that the style assigned to the second paragraph used a combination of left and right paragraph indents that was more than the width of the document page, sending the entire document (except for the empty first paragraph) into overset. I can't say for sure, but I think the Word styles might have been mapped to ID styles because I found no trace of the indents in the Word file itself, only in the ID document, and I had no trouble placing that Word file in my own ID test document. I did have some trouble placing another .docx file supplied by the OP in CS4, but not in later versions, and conversion to .doc solved that problem.

  • Cannot Save Document Leading to Serious Error in InDesign

    I'm using both InDesign CS3 and CS4 in Mac OS X 10.5.5
    We recently got a new printer at work (Xerox 700 Digital Color Press). Since then, I've had major issues saving some of my documents. Immediately after printing a document duplexed, It says this when I try to save: "Cannot save the document. It may be opened by other applications. Close applications and try again. You may also use saveas to save it into a new document." If I cancel and do a save as to another location, InDesign immediately crashes saying a serious error has been detected and must shut down. The same thing happens if I close the document without saving and try to open that same file again. I've tried this with files located on our server as well as my hard drive with the same results.
    Fortunately, restarting the computer resolves this problem (although only until I try printing it duplexed again). If I print it without duplexing, It will save just fine. No other applications I use are having this problem. As a temporary solution, I've been printing the job to the hold and then changing the settings on the printer to make the job duplex. I've tried uninstalling and reinstalling the entire creative suite as well as deleting the preferences and other settings, but none of those things have helped.

    I managed to find a workaround to this problem. Hopefully this'll be useful for anyone else with this problem until the problem is resolved by Adobe.
    After you close the document without saving, rename the file. When you open the file, it will open as a read-only document. Do a "Save As" to another location. You can then move the file you just saved to where it belongs. However, you won't be able to delete the previous file until you restart the computer.

  • InDesign CS4 - placing Word document and style mapping

    Hi,
    I'm using InDesign CS4 on Windows XP (SP3). I've noticed that when I place Word document, do the style mapping and saving this as a preset ... mentioned preset does not save style mapping. It works for the first time but when I try another place with the same preset - it fails.
    Example:
    Heading 1 => InDesign_heading 1
    Heading 2 => InDesign_heading 2
    etc.
    becomes
    Heading 1 => Heading 1
    Heading 2 => Heading 2
    etc.
    Any help would be much thankful.

    This issue is now solved in the 6.0.4 update. See the release notes for item #2335625.
    An important update to the InCopy and InDesign products has been released today!
    To install the update, choose Help > Updates from any Adobe CS4 application, or navigate to the Adobe Updater and launch it:
    Mac: /Applications/Utilities/Adobe Utilities/Updater6/Adobe Updater.app
    Win: C:\Program Files\Common Files\Adobe\Updater6\Adobe_Updater.exe
    You can also download the updates from Adobe.com at the following locations:
    InCopy Mac: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=Macintosh
    InCopy Win: http://www.adobe.com/support/downloads/product.jsp?product=30&platform=WIndows
    InDesign Mac: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=Macintosh
    InDesign Win: http://www.adobe.com/support/downloads/product.jsp?product=31&platform=WIndows
    Release notes are here: http://www.adobe.com/go/id6_readme_en

  • Moving from Corel Ventura into InDesign CS4 - prints dark

    My company has been using Corel Ventura for years, up to version 10.   We are now switching in InDesign CS4, but everything is printing dark.  We use it to publish black & white manuals, including some photos  & vector art.
    Ventura had an essentially unmanaged color workflow -  everything was set to generic - i.e. - "Generic RGB" & "Generic  CMYK"
    In Indesign, currently we are using "North American General  Purpose 2".  The files are printed to a postscript file in InDesign.   Then made into a PDF via Distiller.  The settings for the PS file &  Distiller we are using came from LightingSource.com.
    I  was assuming that the problem came up in the creation of the PS file -  under Color Handling - it is set to "Let InDesign Determine Colors".  So  I took the other option & used "Let PS printer determine colors"   The pages print lighter now, but they are actually too light.  I'm not  sure what to try next, given that any direct alteration of the printer  setup is out of the question.
    Any help would be great!!!
    Lighting Source Settings -  http://lightningsource.com/ops/files/premedia/PSsettingsINDcs4_PC_int.pdf

    Not knowing more, this is a possible solution if you have Photoshop:
    1. In Photoshop with no documents open: Edit Color Settings. By CMYK, Custom CMYK. Black Generation "Maximum"
    2. Hit OK, but NOT to the whole Color Settings dialog, just the Custom CMYK dialog. Again in the CMYK pull down, "Save CMYK" Put the profile in your Color Sync folder where InDesign will recognize it. After you save it CANCEL. You don't really want to alter your Photoshop color settings, you just want to create the Max Black Generation profile
    3. In InDesign. Create a top most layer on master page. Create a white box to fill the whole page. Set Blend Mode to "Color" Lock the layer.
    4. Change the transparency blend space to RGB (Under Edit)
    5. Assign the new Max Black CMYK profile to the ID document (Edit: Assign Profile)
    6. Check with Separations Preview, you should have K channel only
    7. Export PDF/X1a. By Output: Destination: "Document CMYK." You must flatten transparency when you output PDF, and X-1a will do this. The PDF result will be black and white, K channel only. Verify in Acrobat.
    This process converts an all color InDesign document to K only CMYK. Dot Gain will be standard 20% but can be changed in step 1 when you create the custom CMYK.
    Any grayscale images placed should not be affected by this workflow.
    This process is the closest thing I know of to grayscale color management in InDesign.

Maybe you are looking for