Script to convert .indd CC CC 2014 .indd format

Hello!  I am a novice to the script, so any advice is appreciated.  I'm trying to create a script that will do the following, but miss me the code so that a guest actually InDesign to perform the Conversion to upgrade the file formats.

(1) select a folder containing CC .indd files that I want to update

(2) open the .indd CC files.

(3) remove the TypeKit dialog box

(4) save the files with the same filename in the new format of CC 2014 .indd

(5) close the files

I started with the Script to open INDD files, run the script and close and changed from there.  Currently, this does everything except (4) above.  It saves files with the same filename, but does not go through the conversion process.

The web and research forums did not turn any documentation on this specific process and how to trigger.  Anyone who has tried this, or have a better way to do it?  I'm all ears! Thank you!

var myFolder = Folder.selectDialog("Select InDesign Folder to Mass Convert to New File Format"); 
var myIndsnFiles = myFolder.getFiles("*.indd"); 
var saveFile;

for(k=0; k<myIndsnFiles.length; k++)
{ 
   app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;
   
   app.open(myIndsnFiles[k]); 
   
   app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;

   saveFile = File( myFolder+ '/' + app.activeDocument.name ); 

   app.activeDocument.close( SaveOptions.NO, saveFile );
       
    } 

Try this: www.kahrel.plus.com/indesign/batch_convert.html

Peter

Tags: InDesign

Similar Questions

  • Script to open INDD files, run script and closing

    Hello, I'm looking for a script that will open a folder of Indesign files, open each one, run a selected script, and then close each file.

    Right now I use Batch convert script to convert INDD INDD and run the script in the meantime (so I delete the extra INDD file). But I'm trying to eliminate the element of conversion, just the script of this part.

    Someone at - it any help? Thank you.

    HI erblo007,

    Use the code below can it be useful for you...

    var myFolder = Folder.selectDialog("Select Indesign Folder");
    var myIndsnFiles = myFolder.getFiles("*.indd");
    
    for(k=0; k
    

    If the above coding help for you, then please click on useful or correct answers for me.

    Thanks in advance

    Beginner

  • Help with a script that converts the HTML object text box

    I don't know anything about programming scripts and unfortunately inDesign isn't any panel actions as Photoshop..

    I need a script to convert a text box with HTML code inside a HTML object... I think not, it should be very difficult

    How could be the following:

    (1) select the text box
    (2) cut all text inside
    (3) remove the empty box
    (4) select selection tool
    (5) go to OBJECT/INSERT HTML
    6) paste it into the code before you cut the text box
    (7) OK and close the menu INSERT HTML code

    If the Script works, we could change with HTML code inside a text box to an object HTML (video, card, animations,...)

    The first step could be manually selecting each text box or by selecting all of the boxes that start automatically by "< iFRAME '

    1000 thanks

    Remember that you can not get an answer it if you don't show any attempt of your choice.

    FWIW

    Loïc

  • Camileo S10 - want to convert mov HD in a different format

    It would really help if someone had information about the video format of this camera.
    For any format conversion I use * Im TOO HD video converter * which is really good.

    * But now I want to perform the inverse conversion in other HD formats in the camera.* .mov format

    Are there restrictions in the reproduction of large HD video files like a movie in the camera?

    I tried to convert other HD video files in the following formats:

    Video (mov) mov HD
    HD H.264/mpeg-4 AVC video (*.mp4)
    but none appears as a playable video file in the drive of the built-in camera.

    Thanks in advance

    After many hours, I discovered these details on THE FORMAT OF THE CAMILEO RECORDS:
    * IF someone can better understand I would be grateful to suggest a way to convert a file in the following format hd video / codec *.

    * Format: MPEG-4
    Profile format: QuickTime
    Codec ID: qt
    File size: 2.02 MiB
    Duration: 1 s 901ms
    Overall bitrate: 8 895 Kbps
    Encoding date: UTC 2008-01-05 00:25:13
    Marking date: UTC 2008-01-05 00:25:13
    AMBA :

    Video
    ID : 1
    Format: AVC
    Format/Info: Advanced Video Codec
    Format profile: [email protected]
    Parameters of the format, CABAC: Yes
    Parameters of the format, Reframes: 4 frames
    Codec ID: avc1
    Identifier of the codec/Info: Advanced Video Coding
    Duration: 1 s 901ms
    Bit rate mode: Variable
    Width: 1 440 pixels
    Height: 1 080 pixels
    View picture format: 16:9
    Original display proportions: 16:9
    Frame rate mode: Constant
    Frame rate: 29.970 fps
    Resolution: 24 bit
    Colorimetry: 4:2:0
    Scan type: Progressive
    Stream size: 1.93 MiB (96%)
    Title: Prunedecythere STROKE / STROKE prunedecythere *.

  • convert files to email in pdf format to transfer the thumb in training

    convert files to email in pdf format to transfer the thumb in training

    convert files to email in pdf format to transfer the thumb in training

    • What email program are you using?
    • They have in PDF format, or just readable?

    If you use Outlook Express, you can create a folder on the desktop (or elsewhere) and drag messages from OE to it. B it will be readable EML files. If it is necessary to convert them to PDF format, there are many EML to PDF converters available.

    http://www.Google.com/search?q=eml+to+PDF+Converter&RLS=com.Microsoft: en - us & ie = UTF-8 & oe = UTF-8 & startIndex = & startPage = 1

    There are also some DBX to Converters PDF, but if you want to waste time in the message store, make sure you convert a copy of the dbx file and not the original. Otherwise, it will not open in OE.

    http://www.Google.com/search?q=dbx+to+PDF+Converter&RLS=com.Microsoft: en - us & ie = UTF-8 & oe = UTF-8 & startIndex = & startPage = 1

    Bruce Hagen
    MS - MVP October 1, 2004 ~ September 30, 2010
    Imperial Beach, CA

  • Hello, I have on a single computer Adobe on my outlook account where I can convert my e-mail in PDF format. How can I install it on my other computer?  Thank you.

    Hello

    I have on a single computer Adobe on my outlook account where I can convert my e-mail in PDF format. How can I install it on my other computer?

    Thank you.

    Thanks for your reply. I discovered that this feature is enabled in Outlook itself by enabling the pdf creator. Thank you.

  • I want to convert my video files in FLV format as im eager to export the video in flash, this seems to be the only format that it will accept. Media Encoder is more to this format, how can I get around this?

    I want to convert my video files in FLV format as im eager to export the video in flash, this seems to be the only format that it will accept. Media Encoder is more to this format, how can I get around this?

    I could be wrong, but in my research for this issue, I learned that there is no solution from Adobe to convert an F4V or a FLV. I talked to Adobe support directly and they told me to buy a 3rd party conversion program. I find absolutely stupid that the only way to embed a video in Animate using a FLV or F4V, and there is no codec to convert video in this format.

  • How to convert a PDF file to the format letter rather than A4 size?

    I'm a little frustrated.  I'm trying to convert a PDF to a Word, format letter size.  Instead, it uses by default a format A4.  How can I change the default setting?  I use Windows 7 Professional.

    Jack

    After exporting, you can edit the image file using a graphical editor.

  • How to convert my document scan to pdf format?

    How to convert my document scan to pdf format?

    Hi davidp33429376,

    When parsing the document, you will also be able to save it as a PDF file, it is the feature of your application to scan.

    Later, you can view the PDF in reader Adobe - Adobe Acrobat Reader DC Distribution

    Kind regards

    Nicos

  • Convert files of C4 in PDF format?

    Is there an Adobe product that can convert the C4, JEDMICS files or PDF format CLIENT access licenses?  C4 files are blue, then I must be able to zoom in and manipulate the image without distorting.  I tried to print the image directly in the C4 file and save in Adobe Acrobat Pro DC, but it did not work.  When I zoomed in on the image he distorted it.

    Hello Cara,

    If you ask me about Acrobat, then I will probably say that these formats are not supported by Acrobat for conversion to pdf file format.

    Also search on the internet about these formats which brings me to " JEDMICS C4 and CLIENT access licenses are raster (bitmap) images formats developed by...» "so logically the most likely software from Adobe which can open these file formats are Adobe Photoshop and Adobe Illustrator.

    But unfortunately, I don't see these formats of files mentioned in the KB Doc "Supported file Formats" list for these two products:

    If you can export these image formats in the formats popular image (*.jpeg, *.png etc.) then I think you can convert the file resulting in .pdf format.

    Hope that helps

    Kind regards
    Rahul Tyagi

    Acrobat Support team

  • I am trying to create layers with a JPEG originally published in LR6. I converted the JPEG in a TIF format for my PES 11. PSE does not recognize the file for purposes of superposition; None of the routes command works. Just to see if PES was grateful the

    I am trying to create layers with a JPEG originally published in LR6. I converted the JPEG in a TIF format for my PES 11. PSE does not recognize the file for purposes of superposition; None of the routes command works. Just to see if PES was grateful the file at all, I tried to turn the file. Fortunately, he rotates the photo and turned it back. Why the program allow me to create layers?

    You click on Expert in pse before trying to add layers?

    Or it is possible that the image is 16-bit/channel.

    In photoshop elements go to Image > Mode and click on 8-bit/channel and see if that makes a difference.

  • How can I convert my view files in pdf format

    How can I convert my view files in pdf format

    Not with Adobe/Acrobat Reader.  You have Acrobat Professional or Standard?

  • I want to convert a Word document to PDF format. I can't do unless I pay... .is this correct?

    I want to convert a Word document to PDF format. I can't do unless I pay... .is this correct?

    That is right. Free Adobe Acrobat Reader is to view, print and comment on pdf files. For other functions, you can use one of the subscription services or purchase the full version of Adobe Acrobat.

  • How do you mass convert photo shop pictures in JPEG format?

    How to mass convert photo shop pictures in JPEG format?

    If you have the full version of Photoshop, you can use the image processor on the file menu.

    It will create a new subfolder called jpg and place all JPEGs new in this file, leaving only the originals.

  • How to convert a word document to PDF format?

    Please teach me step by step on how to convert several Word documents to PDF format?

    Is properly installed and updated (depending on the version of WORD), you can simply do the following:

    1. open the doc in WORD and click on print, select the Adobe PDF printer, print.

    2. open the doc in WORD and go to the Acrobat menu in WORD and select Create PDF (this example uses PDF Maker).

    3. open the document in Acrobat and conversion to do based on PDF Maker.

Maybe you are looking for

  • Apple TV 4 suddenly no longer works

    Since last week my Apple TV 4 suddenly no longer works, bought 27 December 2015. I already have things: 1 charge of the remote control 2 disconnected and reconnected the power cable, hdmi and ethernet (my wifi is unstable when I'm apple tv). After re

  • Pavilion 500-007eb: cannot install Windows 8.1

    I just bought this PC. It is already preinstalled. I want to format the hard drive and partition it. I changed the sequence of boot for the first DVD, second and third USB HD. It always boot from the hard drive. I also tried to start the boot, and al

  • Peap in ACS configuration affect my connections Ganymede?

    So I've just set up peap (certs and eap - tls) on ACS 4.0. However since I can't connect to my routers more. I see the authentication on the ACS logs, but the router always tells me it's authentication has failed. I have a local user name and passwor

  • Trial of 160 days after the purchase of MUSE...

    Title says it all, I just bought Adobe Muse (2015.2.1.21) and it says 160 days left in the trial. It's not funny.(I was on a trial to date of 7 days and proceeded to the already installed Version of the Muse)What am I supposed to do? Ignore this?Than

  • How can I keep changing file created when exporting

    I upgraded to LR6 of LR4.  LR4 would allow me to keep the original date file created.  I need this feature, and I can't get LR6 to behave this way.How can I do this?  I don't want to go back to LR4 and I don't want to change Capture one - but I'm goi