How can you PS creating folder selected Indesign

Hi all

How can I create a ps to the indesign file selected. Please see the my incomplete coding

var myfolder = Folder.selectDialog("Select a Indesign File")
var myfiles = myfolder.getFiles("*.indd")
//~ alert(myfiles.length)
for(i=0; i<myfiles.length; i++)
{
  app.open(myfiles[i]);


  
    alert("Done")
  }

Kind regards

Assia

Hi assia,.

Try this.

var _folder = Folder.selectDialog("Select the path...");
var _files = _folder.getFiles("*.indd");
for(var i=0;i<_files.length;i++)
{
        var doc = app.open(_files[i]);
        doc.printPreferences.printFile = new File(_files[i].fullName.toString().replace(".indd",".ps"));
        doc.print(false, app.printerPresets.itemByName("PressQuality"));
        doc.close(SaveOptions.YES)
    }

Kind regards

Cognet

Tags: InDesign

Similar Questions

  • When Outlook Express 6 detects emails from a name in the right column indicates the folder in which it is in. How can you tell which folder this folder is located in?

    Column of Outlook Express folder in find

    When Outlook Express 6 detects emails from a name in the right column indicates the folder in which it is in. How can you tell which folder this folder is located in?

    OE does not have the capacity to tell you where the folder is located in the folder hierarchy.  You can select different trees under local folders to find what subfolder is and what kind of tree it is under.  Unless folders.dbx is corrupted (which happens a bit), then OE will not create folders for you.  If folders.dbx is corrupt or not, I would suggest that you backup the files and the registry (see www.oehelp.com/OETips.aspx#6) before things become corrupt, because you seem to have a complex organization from your e-mail folders.

    Steve

  • How can you truncate filenames, or selectively remove text strings?

    I am a newbie of LR and imported by mistake some long file names in the program.  It is catastrophic when mode grid as the file the main components of the name are not visible due to the length of the file name. I tried a customer card in which had a tedious work around, but could not do the work for me. Any suggestions?

    John,

    If these files have been renamed before importing in Lightroom than "Filename number suffix" are not available.  I've seen this problem with the files renamed prior to importation.

  • How can you change a form you've already created?

    I do not speak for the form fields. I mean if you have a typo in, for example, in the docuyment that you have created in InDesign and now you must go back and correct it. How can you do this and maintain any fields that you have already created?

    If you are not able to do this, it would be a huge flaw in the workflow.

    The easy way is to make the change in InDesign, re-export the PDF file and then use Pages to replace in the Document Menu to replace the content of the original with the corrected file file. He maintains the form fields to their original position.

  • How can you copy a "My Documents" folder to a folder in the "Drafts" folder in Yahoo UK mail?

    How can you copy a "My Documents" folder to a folder in the "Drafts" folder in the mail of Yahoo UK?

    It is an Adobe, not Yahoo!, forum.

  • When I get a bookmark and you think how can I find the folder it is in?

    I click Favorites, and then click Show all bookmarks and use the favorite search box at the top right. I type in the name of the
    I'm looking for bookmark and considers appropriate. How can I find the folder it is in?

    Without an extension, a possible way to proceed is to open the bookmark in a tab (possibly offline), then click the star on the Navigation toolbar to open the dialog box "Edit this bookmark" that shows the folder.

  • How can I remove "the folder/Users/user/to/mygame doesn't exist." Terminal. Rises every time I launch Terminal.

    How can I remove "the folder/Users/user/to/mygame doesn't exist." Terminal. Rises every time I launch Terminal. I am a novice. Thank you very much.

    1. Please select from the menu bar Terminal

    ▹ terminal preferences... ▹ Profiles ▹ Shell

    If the run command box is checked, uncheck it or enter the command to run automatically (if any), each opening of a Terminal window. Note: this is not how you define a default shell.

    2. If step 1 does not resolve the problem, see below.

    Back up all data.

    Select

    New Shell command ▹

    in the Terminal menu bar. Uncheck the box marked

    Run the command inside a shell

    If it is enabled.

    Copy and paste the following line into the text box that appears, and then press return:

    /bin/mkdir disabled_shell_files

    Close the Terminal window that opens. Repeat with this line:

    /bin/mv .profile .bash_history .bash_profile .bashrc .inputrc disabled_shell_files

    History Shell and former initialization files will be saved in a directory named "disabled_shell_files" at the top level of your home directory. It is normal that some of these files do not exist, and therefore, you will get error "no file".

    Close the window and open a new test.

    You may already know that files with name starting in '. ' are not visible in the Finder by default. So, if you open the folder that you created in the Finder, it will appear as empty, even if it is not. If you need to recover a portion of the data in the files of the shell, use a shell such as nano-based text editor (1). Make sure that you're not recreating the problem. Otherwise, you can delete the folder.

  • How can you transfer favorites among users. My original user no longer works?

    How can you transfer favorites among users. My original user no longer works?
    I had to create another profile.

    Firefox made regular bookmark backups, so that you can restore the backup from your old profile to the new. Although, I suppose that the user is unable to connect, you always have access to its files.

    First of all, make sure that Windows allows you to see the hidden files and folders. This article has the steps if necessary: http://windows.microsoft.com/en-us/windows/show-hidden-files

    Then, down the old profile and copy out a few last backups to a more convenient location. You'll look here:

    C:\Users\oldusername\AppData\Roaming\Mozilla\Firefox\Profiles\semi-random-name\bookmarkbackups

    File names include a data and County bookmark as well as random characters. I suggest you copy the last two at your new desktop or documents folder.

    In Firefox, you can restore the backup file by following the steps in this article: restore bookmarks from a backup or move them to another computer. Use the option "Choose file" to find backups in your office or documents, as appropriate.

    Note: You could bookmark that something already in Firefox, but those that are not merged, they are replaced, so if they are essential, you can export your current bookmarks to HTML format, which can be imported from non-destructively after restoring. See:

    Success?

    And if it is interesting to find other old data: recovery of data from an old profile

  • How can you change a text in an image?

    How can you change a text in an image?

    Hi Jasper,.

    It depends on how the text has been staged, and what has been done with the image after that.

    A quick test - what happens when you zoom in on, or enlarge the image?

    If the text retains its edges when amplified, then it can probably be edited separately from the image. If the text begins to show pixelation on the edges (like the picture), then there is no text to change, what looks like adding text is actually part of the image and can only be changed in the same way that you can change anywhere in the image.

    Here is an example:

    The photo is a photo (jpeg format), inserted in a Pages document created with the essay template. White text in the upper left corner of the photo is placed in a text box. To put the photo on this page (and the text on and around it) has been converted to a PNG file. When it is enlarged on this screen, the text finally a pixelated image...

    .. .the easily noticed in the thin relates diagonal 'o'.

    In Pages, however, the text and the picture are separated, and the text is a vector image - mathematically trained and scalable.

    The text here is contained in a text box and the text box was grouped with the photo. To change the text (in Pages), I need to:

    • Click on the text.
      Handles will appear in the corners of the selection.
      That click you select either the entire image OR just simply the text box.
      • IF the handles are blue x characters, the selection is locked
        Go organize (menu) > Unlock
        Sectionals unlocked handles are small white squares.
    • IF the selection includes the entire image
      • Go to the menu, rearrange and choose ungroup
        If the choice to separate is not available, the text may be part of the image and uneditable as text.
        Try to click twice (separated from the clicks, not double click).
        If the insertion point (|) is now in the text, the text is editable as text.
        Change the text.
    • IF the selection looks like a text box and does not the whole image
      • Click on the text to place the insertion point (]) in the text
        Change the text.

    Image showing the insertion point in the text in a text box on the image:

    Kind regards

    Barry

  • How can I restore a folder of bookmarks in Safari, but keep all my other bookmark folders published?

    Hi, I have a Macbook Pro with Yosemite and have a backup hard drive.

    I've been doing many changes/modifications to my bookmarks in Safari for weeks, but I notice that a folder of bookmarks that I moved is missing one more a week ago. How can I restore a folder of bookmarks in Safari, but keep all my other current/edit bookmark files? Is there a way to do this?

    Thanks for any help!

    Select

    Importing files ▹ of... (or import bookmarks...)

    in the Safari menu bar. Import from a backup of the Favorites file. Organize the bookmarks you want to and remove those that you do not want.

  • I recently downloaded my favorite CD music in my I tunes library, how can you transfer this music on a USB Flash drive so that I can play the music through my stereo system H D - Bike. I'm 10 Windows on my PC

    I recently downloaded my favorite CD music in my I tunes library, how can you transfer this music on a USB Flash drive so that I can play the music through my H D - bike

    stereo system.

    I'm 10 Windows on my PC

    Select the songs in iTunes, let them slip into a file Explorer window showing the flash drive, drop.

    TT2

  • How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please?

    How can you cancel the download of an update that was started by after having pressed the button "Check for Updates" in the window "On Firefox", please? If possible, please cover all platforms, Mac, Windows, Linux, although the first mentioned is what currently applies to my situation.

    Thank you.

    Such a download is usually recorded in a updates or updates folder in the program folder or the Firefox application.
    You can delete this folder to cancel the download.

    If the files have already been downloaded, then delete the files in the folder updates\0 and updates.

    Mac: /Applications/Firefox.app/updates "/path_to/Firefox.app/Updated.app"
    Linux: "/path_to/firefox/updated"
    Windows: C:\Users\<user>\AppData\Local\Mozilla\Firefox\Mozilla Firefox\updates
    
  • How can you rebatching photo metadata.

    How can you rebatching photo metadata. It was super easy in Aperture or iPhoto.

    There must be a way, but I'm not.

    Select the Photos and info - enter the metadate in the info window - all selected photos are updated

    LN

  • How can you collectively save all tabs as a bookmark?

    How can you collectively save all tabs as a bookmark?

    As you have a Protect tab option, you probably have Tab Mix Plus installed, option added by TMP.

    Tab Mix Plus will change what appears in the context menu. You can return "bookmark all tabs". TMP options, go into the menu panel and in the section "Tab context" menu select "bookmark all tabs".

    Protect tabs is a feature of the TMP. Assistance of the TMP, "Protect tab is a tab that is prevented from closing. You can load other sites in the tab and navigate to other URLS tab, notice that the close button is missing from the right part of the tab, so you can not close the tab. If you try to close Firefox, you will get a warning message on the closure of the protected tab. »

  • Watch does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets eg elliptical etc. is appropriate. Also does not count calories for example 35 when the rest of the group is around 500

    Look does not recognize the weight class as exercise-how can you add the duration of activity manually because none of the presets etc for example elliptical is appropriate and therefore do not count toward the daily goal. Also does not count calories for example 35 when the average of the others in the group is around 500.

    Hello

    When you use the application of the training session, choose the type of activity that best fits your business. For anything else - like weight - select the other category.

    During the follow-up of one year to the next helps:

    • Activity app will credit the ring of progress of exercise with one minute for every minute of the workout.
    • Active calories will be based on the data recorded by the heart rate sensor or a brisk walk, whichever is greater.

    Note, however, that the heart rate sensor is likely to give better results for the workouts that involve rhythmic (for example running) rather than the irregular movements.

    More information:

    Use of the workout on your Apple Watch - Apple Support

Maybe you are looking for

  • Thank you to our volunteer Mozilla

    I asked for help and got it immediately. The answers have been useful and my problem is solved! Thank you!

  • Checkerboard display

    Most sites have a checkered pattern large box that appears when I'm scrolling upwards or downwards. It's strange because it's even on sites that have fully loaded. It's almost that Firefox is having a problem of refreshing the page. I am running FF30

  • "No control".

    Hello. I bought a Lenovo A536 (Postpaid Plan) and I use it for about 6-7 months. Since I bought this phone, I've never had a problem. But a day after having used 'Restore factory settings' settings, I had a problem after it restarts. A dead green And

  • Screws for msata for XPS 8500 card card mother screwposts (informative)

    I ordered a Crucial msata for my XPS 8500 card.  Installing an msata card requires two screws to CAPSA map for the two screwposts on the motherboard.  Crucial does not include screws and neither does Dell.  Working with Dell I was able to identify th

  • error message - failed to install the new driver for deskjet f4280

    Now impossible to print what