Script for soft kinsoku override in InDesign CS4?

I have a javascript for the soft kinsoku override for IDCS5.5 but not for ID4. Can someone please post the .jsx? Thanks!

I've should have been more specific...I've imported text from Word to InDesign CS4. I didn't realize the paragraph style had the Kinsoku: Soft kinsoku attached to it until I'd already formatted much of the 400 page book (there's a plus sign next to my TXT paragraph style because of this). I have character styling within the paragraphs and don't want to option click the style to remove the Kinsoku. Isn't there a java script available that I can run on the whole InDesign CS4 document that will clear this out. I found one online for InDesign CS5 but not for CS4. I do not know how to write scripts. Thanks!

Similar Messages

  • Need Help Creating A Script For Labeling Finder Files from Indesign

    Trying to figure out a way to have a script run in InDesign CS4 that will label a text file RED after it's been imported into InDesign.
    We import numerous text files into an InDesign template. Since there are several text files in the same folder, we need to somehow "mark off" that we've imported that file and move to the next one to import. I have created an Automator "service" with a keyboard shortcut to label the file Red in the finder but it would be great if we could have this happen automatically after we import into InDesign.
    If we import the wrong text file by accident and it gets missed in proofing, it costs us a lot of money with the printer.
    Thanks for any ideas.
    Jim

    You know, these guys are absolutely right in their assessment that this is a good place for event listeners. You would need three scripts though.
    Something like...
    Label Placed Files Red.scpt
    --Put this in a folder called IDScripts in your Documents folder
    main(evt)
    on main(myEvent)
    tell application "Adobe InDesign CS4"
    set placedFilePath to full name of myEvent
    set placedFilePath to placedFilePath as alias
    end tell
    tell application "Finder"
    --This turns the file color red
    set label index of placedFilePath to 2
    end tell
    end main
    And these two are in your InDesign scripts folder...
    Start Placed File Finder Labelling.scpt
    --Installs the afterImport event listener for the Label Placed Files Red script.
    tell application "Adobe InDesign CS4"
    set myHandler to path to documents folder
    set myScriptName to "Label Placed Files Red.scpt"
    set myHandler to "" & myHandler & "IDScripts:" & myScriptName
    try
    set myHandler to myHandler as alias
    make event listener with properties {event type:"afterImport", handler:myHandler, captures:true}
    display dialog "Placed File Labelling: ON" buttons "OK" default button 1
    on error
    display dialog "ERROR: Couldn't start handler!" & return & return & "Make sure the \"" & myScriptName & "\" script in a folder called \"IDScripts\" inside your Documents folder and try again" buttons "OK" default button 1
    end try
    end tell
    Stop Placed File Finder Labelling.scpt
    --Removes the afterImport event listener for the Label Placed Files Red script.
    tell application "Adobe InDesign CS4"
    set myHandler to path to documents folder
    set myScriptName to "Label Placed Files Red.scpt"
    set myHandler to "" & myHandler & "IDScripts:" & myScriptName
    set myHandler to myHandler as alias
    set myResult to remove event listener event type "afterImport" handler myHandler with captures
    if (myResult is false) then
    display dialog "ERROR: Couldn't remove handler! Are you sure it is active?" & return & return & "If so, please quit and relaunch InDesign to get rid of it." buttons "OK" default button 1
    else
    display dialog "Placed File Labelling: OFF" buttons "OK" default button 1
    end if
    end tell

  • Script to rotate an image in InDesign CS4 from an Excel Spreadsheet

    Hi all,
    Is there a script for InDesign CS4 that reads degrees from an excel spreadsheet and then rotates a specific image by the same amount of degrees that was written in this excel spreadsheet? I would like to create a column in Excel full of rotation degrees and then go to InDesign, run the script for a specific image and the image will rotate automatically.
    If there isn't a script like that already around, can you let me know if it is possible to be done and also if it is possible, can you help me create one please?
    Thank you in advance for your help.
    Lucas

    a script to rotate images... only one at a time and marijan tompa had the answer for that: http://forums.adobe.com/message/2998073
    as for referencing an excel file or txt/csv, i don't know, but perhaps other posters could assist.
    colly

  • Is there a script for changing layer names in ID CS4?

    I have multiple documents with an average of 20 layers in each. Each of the layers is named for the expiration date of the coupon in the ads. When a new order comes in I retrieve the previous files and change the dates via scripts and the Find/Change option. I have looked but cannot find a way to rename the dates in the layers as well.
    Does anyone know of a script for this?
    Thanks in advance!

    E-mail, eh? You're missing out a lot of fun stuff, as there is
    - editing your own posts
    - using bold and italics to highlight important stuff
    - finally being able to shout (some posters think it's necessary to use a large bold font to make their post stand out in the crowd. They are correct, it does. In the Bad way.)
    - inserting images
    - uh, Jive (-- sorry, couldn't think of any more fun stuff to add)
    Visit the scripting forum (using a web browser, s'il vous plait) by clicking here.

  • Script for Soft bounce

    Hi All
    We want any script to perform soft bounce that we can call through plsql code.These are the steps that we are following
    a)Go to Functional Administrator Responsibility
    b) Go to Core Services ==> Caching Framework
    c) Go to Global configuration and clear all the cache from there.(Only If you want to clear all the cache)
    We dont want to bounce OC4J server or Forms Server...
    Is there any way around??
    Thanks in Advance!!!
    AJ

    Hi,
    Please see the docs referenced in this thread.
    R12 Clear Middle Tier Cache
    R12 Clear Middle Tier Cache
    Thanks,
    Hussein

  • InDesign CS4 Scripting Help how i can start scripting

    Hi all,
    I'm new to Indesign Scripting, and I'm hoping someone can help me with the following Apple/Java_Script which script language (Apple/Java) good for me.
    (1) Adobe InDesign CS4 Apple/JavaScript tutorial (.PDF/Text/ExampleScript)
    (2) How i can start scripting ???
    I'm working Adobe InDesign/QuarkXpress with ETMV2 with (Pearson DTD/IDML) as a Operator last 4 Year. I want learn Scripting.
    Any one Help/Suggest i really appreciated!
    Thank's
    snegig
    email => [email protected]

    Thank you so much!
    Kudos to you.

  • Any script for PowerMath Equation (InDesign CS4)

    Hi,
    All, I'm new to Indesign Scripting, and I'm hoping someone can help me.
    Is that possible any type of script (Apple/Java) for edit/update Poermath Eqation in Indesign CS4.
    In my Knowledge (not found) Powermath Editor have no Dictionary. Is that possible we make script for Powermath Editor.
    Thanks for answering.
    Regards
    snegig

    You can try it like this. (Tested on Mac OSX)
    // export indesign doc to idml
    // tested on Mac OSX
    // this code is Public Domain
    // check if the doc is saved
    var doc = app.activeDocument;
    if (!doc.saved) {
      doc.save();// if not save it
    // take the .indd's name and make a .idml from it
    var aName = doc.name;// get the name
    var newName = aName.replace("indd", "idml");// replace the indd to idml
    // crate a new FIle Object
    var theFile = File(File(doc.filePath).fsName + "/" + newName);
    // export
    doc.exportFile(ExportFormat.INDESIGN_MARKUP, theFile, false);
    // done

  • Using CS2 script in Indesign CS4

    Hello,
    I am very sorry if this point has been already treated but I have not yet found the solution.
    I have Applescripts running on CS2, and I would like that these scripts could work either under CS2 and CS4 without any change
    I know there is a possibility of choosing the version but I can't find the code corresponding to applescript.
    Anymore I would be happy to find the applescript reference for Indesign CS4
    Thank you for your help
    Jean

    Please move this thread to Indesign forum, http://forums.adobe.com/community/indesign.

  • [Ann] QR Code for InDesign CS4 and up

    Ever needed to create a QR code? There are literally hundreds of free QR code generators on the web, but they all have the same drawbacks:
    1. They typically deliver a PNG, either 'click here to download', or you have to drag it somewhere yourself.
    2. It's typically an RGB image, so the cautious designer will start up Photoshop to convert it to a monochrome image.
    3. .. so you get a file to store somewhere ..
    4. ... and after seeing four of them you cannot remember which QR code said what ...
    5. .... and, you cannot use such site in a batched environment (well, maybe some people can by building a proper URL, call the website, wait for a response, etc. I bet it's difficult for your average scripter.)
    So I had a go on converting one of the existing Javascript solutions -- Patrick Wied's, in case you're curious -- into a construction fit for InDesign. All you have to do is download the zip: http://www.jongware.com/binaries/jw_qrcode.zip -- unpack it, and save the file "QRCode.jsxbin" in your local User Script folder. It ought to be compatible with InDesign CS4 and upwards, for both Mac and Windows.
    When it appears in your Script Panel, you can double-click to run and
    1. with nothing selected, it prompts for text and error recovery settings, and will place a proper monochrome TIFF bitmap of (approximately) a useful dimension in the center of your current page.
    2. with an empty rectangle selected, the new QR code will be placed inside it.
    3. with some text selected, the text field will be pre-filled with this.
    4. With a QR Code selected which you created earlier using this same tool, the text field will contain the original text, and the quality setting will be retrieved. You can cancel the dialog if you only wanted to know what it said, or change the text or quality.
    5. You can call this script from another script to perform batch operations. It accepts two required arguments, and one optional, in this order: text, Error Correction level (1-4), and optionally a destination rectangle to place it in:
    app.doScript(new File(app.activeScript.path+'/qrcode.jsxbin'), ScriptLanguage.JAVASCRIPT, ["hello", 1, app.selection[0]], UndoModes.ENTIRE_SCRIPT, "Call QR Code");
    6. Since it's a monochrome bitmap TIFF with enough resolution (at its default size it's 200 dpi), you can use the swatches palette to change the white or black parts to another color, or even make one transparent.
    7. It's just a small file, and so I decided to always have it automatically embed. That way you can never loose it. The image first has to be created in a temporary file (default location: (Temp)/qrcode.tiff, where (Temp) is your local Temporary Files folder). If this fails for some of you (there always seem to be overly prudent IT professionals who seem to despise users storing files willy-nilly), I'll have to think of something else.
    Note: this version only supports plain text mode, not numeric, alphanumeric, or Kanji. Text is converted to UTF-8; for the most common purpose -- web pages -- it should work normally.
    Enjoy!
    Based entirely on Patrick Wied's implementation of a basic QR Code generator. Patrick Wied dutifully notes
    I do not guarantee any resulting QR code generations or detections, use this application at your own risk! - this project is just a study project (non commercial).
    and so I advise to always check your generated code using a good QR Code reader.

    To give back to community, here is the script to generate QR codes for business cards created by data merge
    It reads text frames starting with MECARD:, empties them and places QRcode rotated 15 degrees counterclockwise. Enjoy!
    var _d = app.documents[0];
    var _allStories = _d.stories;
    for(var nx=_allStories.length-1;nx>=0;nx--){
        var _storyAllTextFrames = _allStories[nx].textContainers;
        for(var mx=_storyAllTextFrames.length-1;mx>=0;mx--){
             _storyAllTextFrames[mx].select(); // change page
             if(_storyAllTextFrames[mx].contents.indexOf('MECARD:')==0){
                 var obj = app.doScript(new File(app.activeScript.path+'/qrcode.jsxbin'), ScriptLanguage.JAVASCRIPT, [_storyAllTextFrames[mx].contents]);
                 _storyAllTextFrames[mx].contents = "";
                var myScaleMatrix = app.transformationMatrices.add({horizontalScaleFactor:.7,
                    verticalScaleFactor:.7,counterclockwiseRotationAngle:15});
                obj.transform(CoordinateSpaces.pasteboardCoordinates,AnchorPoint.centerAnchor, myScaleMatrix);            
                 //obj.move ([_x,_y]);
    here is a MECARD template for you:
    MECARD:
    N:<<Last>>,<<First>>;
    TEL:<<Direct>>;
    TEL:<<Mobile>>;
    EMAIL:<<E-mail>>;
    NOTE:<<Position>> at <<Company>>;
    http://www.nttdocomo.co.jp/english/service/developer/make/content/barcode/function/applica tion/addressbook/index.html

  • InDesign CS4 and CS5 scripting on Windows 7 unstable

    Hello, have not found any solutions to our previous issues with RPC errors while scripting InDesign CS4 and CS5 on Windows 7.
    Even more problematic, I just installed a trial version of InDesign CS5 on Windows 7, created a small JavaScript script that places a counter text from 1 to 10.000 in a one page, one frame document and found out this crashes when the counter is at around 4500 or so. This was the same issue with CS4, that's why I tried CS5.
    These scripts run fine with CS4 on Windows XP and Vista. So what is the problem with scripting Indesign on Windows 7 ? Are there any settings that should be changed in Windows 7 to create a more stable situation ? Need to allocate more memory somehow ?
    Anxious to know, for now I try avoiding Windows 7.
    Roelof Janssen

    Shouldn't be a problem but you should be aware that if you upgrade to CS5.5 now you'll get a free upgrade to CS6 when it ships.
    Bob

  • Shared Content InDesign Plugin for InDesign CS4 won't open file

    Yesterday I discontinued using Adobe CC and went back to using my Adobe InDesign CS4.  CS4 is working OK but there is ONE file that won't open.  I get the message "Shared Content InDesign Plugin is currently not available on your system".  The file will not open. Is there a workaround or how do I get the required plugin?

    You get that error when the file was saved in CS5 or later. You can find out the version using the script at Adobe Forums: [Ann] Identify Your InDesign File.
    You'll need to export the file to .idml from the newer version to be able to open it in CS4. This is something I normally offer to do, but I'm not available for at least a week, so perhaps one of our other regulars can step up and volunteer.

  • Do you have hindi fonts for InDesign CS4 and if so how much are they?

    Do you have hindi fonts for InDesign CS4 and if so how much are they?

    Adobe does offer a few Unicode fonts that support Hindi  I'd expect that you'd be asking for Devanagari fonts, though. Have you ever done any Hindi typesetting? I mean, when we typeset English we don't do it in "English fonts" but in "Latin-script fonts."
    There are two main classes of Devanagari fonts - the more common, older fonts where someone took a Latin-script font, erased the characters, and replaced them with Devanagari glyphs, versus contemporary Unicode fonts. The first class are wonky, hard to use, and quite common. If you're in-country you will find lots of ways to buy those kinds of fonts. You also can use them in InDesign without needing any scripts or plugins to turn on the World-Ready Composer. I find Unicode fonts to be much easier to use, to automatically compose according to proper rules regarding behavior of glyphs - but to use them in CS4, you'd need something like World Tools or IndicPlus. I'm a World Tools user myself but if you're going to be doing only Hindi work in CS4, I'd suggest that you look at IndicPlus first.
    In short - it's deeper than it looks. If you want to tell us more about what you're trying to do, we might be able to give you better advice.

  • InDesign CS4 Server Scripting duplicate()

    Hi,
    Just wondering anyone would be able to help me with this.
    I am having problem with using duplicate() in a InDesign CS4 Server Javascript. It locks the InDesign instance while running the script and we have to unlock it by restarting the Server. Below is the offended script. Do anyone have any idea what is causing this? My head hurts...
    var inlines = myDocument.stories.everyItem().pageItems.everyItem().getElements();
    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.millimeters;
    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.millimeters;
    myDocument.viewPreferences.rulerOrigin = RulerOrigin.pageOrigin;
    var myPage = myDocument.pages.item(0);
    var myX = myPage.marginPreferences.left;
    var myY = myPage.marginPreferences.top;
              if(inlines.length==1){
                     inlines[0].duplicate([myX+37.75,myY+9.5]);  
    I have tried removed the x and y coordinates and run the script again with only duplicate(); it is still breaking the server. Can anyone help???? Hellllpppppp....
    Cheers

    That looks correct - InDesignServer is up & running, waiting for commands, or a control-c to quit.
    InDesignServer.com is a shell app which launches InDesignServer.exe, so having both processes active is correct.
    Once you have successfully serialized (as it appears you have), you should be able to restart either via the Windows service or at the command line without the '-serialnumber' parameter.
    -Brendan O'Shea
    InDesignServer Engineering

  • Can't Download Trial version for InDesign CS4! Please help ASAP!

    Hi Everyone!
    I have been trying to download the trail version of InDesign CS4 into my PC and it doesn't download.
    What happens is that when I choose the software and click download, it takes me to a page that says "the download should start automatically, if it doesn't click here". The download doesn't start automatically and when I click what it says, it takes me to the previous page that I started the download.
    I hope I am clear enough.
    Please help me ASAP, I need this for a project that is due very soon!!!!!!
    Thanks a bunch,
    Rose

    What version of Windows are you running (that's your Operating System). I've never seen that hand thing, but I don't use Internet Explorer. It's clearly a security feature  somewhere that is preventing the download, either in the browser or some other antivirus, malware blocker, or firewall program you have installed. What version of IE?
    Allowing scripting and ActiveX controls would be in the IE Tools menu under Internet Options, Security Tab, custom settings button. It might be best to get someone with more experience to come in and help you make any changes rather than trying to do this yourself since you don't appear to be skilled in the inner workings of the computer.
    If all else fails, I think you can order the trial on a disk.

  • Indesign CS4 for Mac

    Hello everyone.
    I'd like to purchase adobe indesign CS4 for my macbook OSX 10.4.11.
    I've looked for it online and can only find a company called soft-applications.com selling it for 70 dollars.
    I suspect its a scam. Does anyone know about this company?
    Could you help suggest legit sellers of this product.
    Thanks in advance for your help.
    Furhana

    I've not heard of them, but most of the super deals for software like that are scams. They're usually beta software or hacked versions. Let the buyer beware!

Maybe you are looking for

  • RoboHelp is unable to start RoboHelp Explorer

    I recently installed RoboHelp 9 on my Windows 7 Ultimate 64-bit computer. I worked in it for a day, editing a previously existing robohelp file that was created in version 6. Yesterday when I tried to open RoboHelp, it wouldn't open. The RoboHelp spl

  • Problem Printing html page with JEditorPane...

    Hello All, I Have a problem in printin html file with JEditorPane... My Html file contains a Table on it.. Problem is that JEditorPane displays the html file correctly but it prints the file without print that Table.. So pls help me... Thanx in advan

  • Installed FF25 - keeps crashing on a fresh build of Win7PRO...2gb ram...virtual mem 3gb please help!!

    bp-8b8be977-128a-45a6-a73c-f79a12131106 11/6/2013 8:07 AM bp-b4728704-138a-4799-bcd2-114622131106 11/6/2013 7:43 AM 30e69f79-e9eb-4c9d-83a7-5edf78120e36 11/4/2013 6:57 PM bp-cf8305d9-1b01-4bb9-9ae4-ad8672131104 11/4/2013 1:22 PM bp-23bdb74a-d623-4ed8

  • How to implement Company Calender?

    Hi All, Can you please let me know the procedure for the below issue: How to Implement Company Caleneder in SAP BI. As a BI Developer what is our activities to implement this? (Source syatem = MS SQL) Do we require to mainatian Company Caleneder  in

  • How do I resize this JPanel withou cutting off content?

    I need to make this JPanel smaller vertically. Every time I do it cuts off the bottom of the graph. How can I make it shorter without losing content? TIA import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Graph extends JFr