CS4/JS: generate index problems

Hello scripters.

In fact, I have a problem with the generation of my index finger.

The index already exists, the only thing to do with the script is to generate and place.

When you run the script, I get the following error message:

invalid parameter line: myIndex.generate (myIndexPage, [myY1, myX1, myY2, myX2] myLayer, true, true);

function generateIndex() {}
myIndex = myDocument.indexes var [0];
var myMasterSpread = myDocument.masterSpreads.item("A-Mustervorlage");
var myIndexPage = myDocument.pages.add (LocationOptions.AT_END, myMasterSpread);
myLayer var = myDocument.activeLayer;
var myBounds = myGetBounds (myDocument, myIndexPage);
var myY1 = Math.round(myBounds[0]);
var myX1 = Math.round(myBounds[1]);
var myY2 = Math.round(myBounds[2]);
var myX2 = Math.round(myBounds[3]);
myIndex.generate (myIndexPage, [myY1, myX1, myY2, myX2] myLayer, true, true);

}

I checked all the settings, they're right.

What else could be wrong?

Thanks in advance for any help.

Hi Franziska,

You must define a place point with an array of two values instead of geometric with an array of four values limits - as you did:

var myStory = myIndex.generate(myIndexPage, [myY1, myX1], myLayer, true, true);

This generates a new history of the index.

Later, you can do something with the textContainers of the new history of the index (for example to specify geometric limitations).

Martin

Tags: InDesign

Similar Questions

  • Spotlight indexing problems

    I cleaned files on my hard drive - re-filing of certain documents (pdf files) rename photos - adding text says pictures of things like that.

    Have had occasional problems with gel - startup etc - that only seem to happen after a cleaning.

    By checking newspapers led to a finder error - saying his flight, or a job did not finish before the closure.

    Never really used it yesterday and it deleted all the files the search-, but if it ends up falling on indexing - or anyway to clear it.

    I was wondering if the problem is that indexing never delete old stuff - maybe the problem after snow leopard from is that the re-indexing after each update is in fact eventually causing an overflow (leak) because the size of some user data was not provided (or someone to pull).

    I'm on snow leopard on a Mac Pro 2008.

    Update on this problem...

    If you are looking for articles on how Spotlight indexing problems - other sites of mac users - OSXdaily, for example - to have discussions on this topic, including advice on how to use a statement in a terminal to turn it off completely - the problems are similar to those that I have - then it's perhaps a question that has not been reported to Apple.

    My problem seems to be a combination of chaining a large number of files and moving them - combined with Time Machine.   I have restore a plu Time Machine folder which contained 1200 small pdf files - which lost some how because of permission issues when I moved them.    As well as readonly files I could not restore them unless I put them in the box and then changed all the permissions read and write.   The older folder was actually the first time machine upward when the main folder in question had been copied from the CD for the office (he gave no permission to write to the subfolders in the main but to load data)

    My time machine is now stopped and I ejected the drive until I decide how to restart backup.

  • Indexing problem

    I'm running a state machine in a loop and wish to record the errors that occur and diplay on the fron Panel. Because there are many caases and many mistakes possible I want to make sure that all is displayed something like the following.

    Error of gain coefficient

    Setpoint error

    Response error

    etc, but my problem is that the table of errors only displays an error message and replaces it if another error occurs. I thought that indexing would allow me to 'stack' errors so I see all erros that occurred during my test. The "case"TRUE"in the right lower structure case does nothing with the CR. Any suggestions?... Error writing to a file would be easier?

    No, no, no. You must pass in the table since the shift register. An entry in the table build is connected to one and the other input is connected to the error.

    Have you taken the LabVIEW tutorial or resembled any of the examples? An example that illustrates an instruction box with a shift register and table construction is called "separate table values. It is listed under Fundamentals > tables and classes.

  • Function Index problem.

    Hello

    I have a problem regarding a function function index.

    example:

    TableName: Test

    Column: A, B, C, D

    I create the index on the table, column, a test using a user-defined function.

    If I do a select on the column, he'll be fine. In other words, I'll get the results you want.

    However, if I insert in the table and validation, and I do a query using the 'A' column in the where clause. I don't have any query hits. Its really weird.

    Have you ever experienced this problem? and is there an index of function according to back and donts w.r.t.?

    Thank you.

    MichaelR

    If you use a deterministic function really, it works:

    create or replace function test_fn (p_number number) return number deterministic
    is
      vreturn number := 0;
    begin
      if p_number = 1 then vreturn := 55; end if;
      if p_number = 2 then vreturn := 89; end if;
      return vreturn;
    end;
    

    Or, if you reverse the order of your second inserts (insert the folder before the recording of test1 test2) - it works fine.

    The reason why you get no results is when you insert the file test1 with a = 2, Oracle executes the function and gets no data, so it assumes that the result is NULL and puts in the index. You said Oracle function is deterministic, so he starts from the principle that any time test_fn (2) is called, it retrieves a null response.

  • Generated index - comment error

    Dear friend,

    I need to generate the index entries, but the index not generated not? (using the CS6 indd application). I have attached the screenshot for your reference.

    Please a friend advice.

    Screen Shot 2016-06-13 at 3.01.27 PM.png

    Thanks in advance

    This thread is now moved on the InDesign forum.

    Your question is really interesting, Kiss.

    Could you identify special characters (or characters invalid ) that forced the message?

    Kind regards
    Uwe

  • Auto generate indexes for CF

    Where as "auto generate FK index" option in DataModeler 4.0.3?

    You must right click on the browser for the design node and then select Properties.

    In the design properties dialog box, you will find the option automatic generation of indexes for FKs on settings > page DDL.

    David

  • index problem

    I created a new site where I created a version of the Tablet and a version phone... when I exported it in the HTML code... it created separate index's for the Tablet and phone version... now when I open the site on chrome... I was unable to check the version of the tablet or version phone... so I installed google chrome app known as mobile reagent tester... and when I opened the site on the tester... I have not seen the phone version... is to open the desktop version... I dunno what to do now... I have to open the index of the version phone? If Yes... How can I work combine the versions... for that my client is not facing any problem...

    I guess you used these updates by replacing, instead of (somewhat) sensitive design?

    Which is a very good approach, don't get me wrong on this :-)

    These separate index html files are stored in special folders in the main HTML file. You can try to open them in your browser and take a look at them. But from the general index of HTML files, scripts embedded in this page are difficult to be "deceived" by referring to other index files. This passage is only 'live' on real and appropriate devices.

  • CS4 Master Collection installation problems

    Hi all

    I got an old Mac Book pro, since 2008, who recently had his bloating of the battery upwards and die... No new battery no longer exists for this old model so I had to buy a new Mac Book Pro 15 "." It is running under Yosemite, OS X 10.10.5

    Adobe CS4 Master Collection, I bought it in 2008. And I'm trying to re - install on my new computer. I have the original install CD as well as the serial numbers.

    But he does not want to install... It blocks a bit during the process of installation at the end of CD 1. It said please insert CD 2 or quitting smoking... When inserting my CD 2, nothing is recognized... and I can't stop the same... I tried to install individual programs off the CDs diffΘrents, its does not work... Also at one point, he worked for individual programs, such as Photoshop and Illustrator and Indesign, (which are the only programs I really need with Adobe Acrobat Pro), but then I met problems with serial number, and programs would not launch...

    Please help me, I need these programs... I read that CS4 is no longer compatible with Yosemite? is this true? Why?

    What can I do? I don't have thousands to spend on a new program, or in particular a rental program through clouds... Are there discounts for upgrade to the current version? I like Adobe, but it isn't very easy sale to make a program that is not compatible with the current operating systems...

    Help, please!

    PS: I know not how to use a computer, but not a wiz! as simple as possible

    My solution: after inserting the DVD 2 go to Menu > edit > select all
    and the installation will run. Repeat this procedure after DVD 3 and 4.
    solved
    PS. : I also installed Java 6 Download Java for OS X 2015-001
    But I don't know if this is really necessary.

  • z-index problem (I think)

    Hi all

    I have a simple image (x 6 photos) click swap. I have 3 columns, left and Center with the image swap and they work fine, but the right column I can't make it work. I suspect that maybe it's the z-index?

    Would appreciate someones help please.

    HTML

    "" "" < div id = "imageContainer-right" > < img class = src="templates/horme2/images/andrew_balemi_1.jpg 'active'" alt = "01" width = "388" height = "306" / > < img class = src="templates/horme2/images/andrew_balemi_2.jpg 'active'" alt = "01" width = height '388' = "306" / > < img class = src="templates/horme2/images/bruce_fergusson_1.jpg 'active'" alt = "01" width = height '388' = "306" / > < img class = src="templates/horme2/images/bruce_fergusson_2.jpg 'active'" alt = "01" width = "388" height = "306". "" > < img class = 'active' src="templates/horme2/images/lindsay_hooke_2.jpg ' alt = '01' width = '388' height = '306' / > < img class = src="templates/horme2/images/peter_hargreaves_3.jpg 'active' "alt ="01"width ="388"height ="306"/ > < / div >

    < / div >

    CSS

    {#imageContainer right

    Width: 100%;

    height: 306px;

    position: relative;

    overflow: hidden;

    }

    #imageContainer-right img {}

    position: absolute;

    top: 0;

    left: 0;

    z index: 6;

    cursor: pointer; cursor: hand

    }

    {img.active #imageContainer - right

    z-index: 1;

    }

    jQuery

    < script type = "text/javascript" >

    var imageObject = {}

    clickSwap: {function (obj.)}

    {obj. Click (Function ()})

    London var = $(this) .children ('img.active');

    activeImage.removeClass ('active');

    If (activeImage.next () .length > 0) {}

    activeImage.next () .addClass ('active');

    } else {}

    $(this).children('img:first-child').addClass ('active');

    }

    Returns false;

    });

    }

    };

    {$(function()}

    imageObject.clickSwap ($('#imageContainer-right'));

    });

    < /script >

    Thanks for the reply Nancy O,

    I have solved the problem, I was using the class "active" to all images when it should appear on the first frame.

    The site is now on a test server, would appreciate your thoughts, please go here: Homepage

    See you soon

  • index problem with regular letters

    Illustrator applies the effect index only to numeric characters, for example 1,2, etc.. But it does NOT apply it alphabetical characters, for example a, b, c etc. I observe that using the default Myriad Pro font, as well as the other fonts.

    How can I request letters exposing to regular (not only the numbers)?

    p.s., I use the menu Ctrl + T, and then go to the OpenType tab and select index under positional parameter and observe the above problem. I'm doing something wrong here?

    Thank you.

    Character Panel > sidebar > index. Works very well. Just tested.

  • Exit Photoshop generator reflow problems

    When I generate a file of this file photoshop reflow

    Screen Shot 2013-11-20 at 1.11.41 PM.png

    I opened the reflow and get this

    Screen Shot 2013-11-20 at 1.13.36 PM.png

    Do I have to just clean the areas of text by hand, or there at - it a group of layers/naming that can handle the output to make it look remotely like the original design in photoshop. Whenever I have create a file to get this output problem. I made boxes to maintain the text and images and set the width of the text boxes to the automobile. This solves the problem, but does not make use of the reflow file generated a faster solution to use the asset and recreate the reflow file to match the original design.

    Reminder: I am a designer and know few HTML and CSS

    Hmm, that's strange. I tried to reproduce this, but I get the width of the text that runs through correctly when importing.

    One thing I wanted to ask, is the object in Photoshop a line of text or a text box? I don't know the correct term, but if you manually break the lines, or if it's a text object that is has manipulates and transforms its width.

    Photoshop:

    Reflow import:

    You can try an import of basic text object? Just make disappear a text element in the PS and import the psd without a reflow?

    Let me know if you continue to have problems and the steps it takes to reproduce. Also, be sure that both applications are up to date!

  • CS4 export to PDF problem

    I'm the editor of layout for my high school newspaper, and we recently had a new imac. We put cs4 on it and made our first page.

    I exported to PDF (with the same settings as on the old mac that works very well) and all the headlines turned to black boxes. We then took the form of indesign files the new mac put it on the former and exported out of that old and everything went well. Note the black boxes.http://imgur.com/eOdm9yG

    That's what went wrong...

    That's what we want...http://imgur.com/qdIDQQM

    Thanks in advance for any help

    I return to my computer. I see the boxes here and it's certainly a kind of problem of availability of fonts, if she says that the police is incorporated. If I select and change the font of the text appears.

    The fonts in question are HelveticaNeue HelveticaNeue-Bold and HelveticaNeue - Italic (TT). Here are the versions of the Mac of Helvetica Neue systems?

    CS4 is fully patched on the new system?

  • z-index problem

    I'm having trouble with menus that appear in front of my enlarged Lighbox images. Please visit this page for example:

    http://www.taikodrum.com/about.htm

    I made sure the z-index is lower for the menus as it is for the light therapy device. I hope that someone here might be able to let me know what I missed.
    Thank you

    Maria Grist

    Ok!. Having found the cause of the problem. Take a look at line 109 to 111 of the p7PMMscripts.js and you will see

    P7_PMMremClass (TM, 'p7PMMnoscript');

    tM.style.position = 'relative';

    tM.style. zIndex = '999999';

    Lowering this value, or better yet, increase the value of z-index of the light table to 1000000

    GRAMPS

  • Premiere CS4 on Windows 7 problems

    My job is to edit weekly videos for a college. They provided me with a computer Windows 7 and Adobe CS4. My source material comes from shared servers. For these months, everything worked without problems. In the last two weeks, I had various problems with first which are not compatible.

    1. sometimes playback and controls start just behind until the program crashes.

    2. sometimes audio clips from a single source will be suddenly silent when reading, even if the waveform on these clips is displayed. It also keeps exports to be successful (the log says 'Error compiling Movie - unknown error').

    3 there are sometimes JPEGs or png that I bunk is not found when I open the project file, with result the box "Media disconnected" in their place.

    4. even if none of the above happening, export the video as an AVI file causes audio choppy who cut then when it reaches the clips referred to at 2.

    Help please? As I said, not all of these problems occur on a regular basis, but at least we're still here.

    OS: Windows 7 64-bit

    Processor: Intel (r) Core (TM) 2 Duo CPU E6550 2.33 GHz 2.33 GHz

    Memory: 4 GB of RAM (3.87 GB usable)

    Card: ATI Radeon HD 2400 XT

    source material comes from shared servers.

    Don't, don't.  Copy all assets to a local drive before importation.

  • Help necessary after CS4 CS3 installation uninstall problem

    Hello

    I recently upgraded my computer from Vista to Win7, so I spent a lot of time to update applications.  I realized my CS2 wouldn't work and I was told that I had to at least get CS3.  I bought the CS3 and installed on my two new Win7 machines without problem.  I then discovered that CS3 is no longer supported by Adobe, so I need to get CS4 or CS5. I installed CS4 trail and decided for now back to CS3.  I had not uninstalled CS3, but was disabled, not knowing if CS4 would no longer write it or if the two can co-exist.  uninstalled CS4 via the Control Panel, CS3 re-activated and all was well on both machines.  Then, on my machine main update of Adobe wanted to update a few modules, InDesign and Acrobat Pro.  Things went very well with the update until he asked me my CS4 disc?  I have it mood the second time and fed Alternatively the CS3 and CS4 disc... he let me not put both if I swapped the drives until I was no longer able to lift my arm and when everything is done, the installation failed.

    He left me with no functional InDesign.  To make things worse, activation could not connect to Adobe for some reason any.  I was able to use the phone process to activate products, but now I wanted to try installing CS3, but it wouldn't let me disable due to network issue, and there is no option to disable, internet phone or she to jump.

    I called Adobe and asked for help.  I talked about the problem of turning off for them.  They said to go and Uninstall CS3 and we arrange activation after the re - install.  Knowing that he might take a long time, he said he'd call me back... never did.  I tried to help and were unable to get help.

    What I have now is a CS3 uninstalled that I can't install at all, so I am in worse shape before, when only InDesign did not work.

    I have DW3 on the same computer and it is very well and has been very well throughout the process.

    I need a way to exorcise the PC of all memory of CS3 or CS4 so I can really start from scratch.  Is there a such a "wipe bomb Adobe" I might fall on my registry to really get rid of his insistence on the CS4 install disk need?

    I am convinced that CS4 did not uninstall cleanly, leaving files or settings that still refer to CS4, in conflict with any attempt to update or reinstall the product correctly.  I hope that this happened to someone else and has found a solution, far from rebuild the whole PC.

    Thank you!

    Lew

    Adobe Photoshop cleanup script is would have been good for just this sort of thing:

    http://www.Adobe.com/support/contact/cs5clean.html

    He said CS5, but it works on older versions as well (note the text at the beginning of the description).

    -Christmas

Maybe you are looking for

  • 2112 dv7 tx: error message 601

    My computer starts up and displays an error 601 internal battery. I tried tiopress esc to recalibrate the battery but will not go to this process, > is this battery I get out from the bottom of my laptop or another and how do I replace it if its anot

  • deliver results Records

    I use TestStand 4.1 and have the following problem: In my main loop, I call functions and the digital test on my results. It works very well. My problem is with the recording of the results. When the report came out, all that is shown is SUCCESS or F

  • BlackBerry programming - screen popup close with a tap

    I have a popup screen (small screen) is on a main screen. This popup form has a button, the button will close the screen when you click on it.Do you know how to close this popup screen users by typing on the phone, outside the area that the popup of

  • Home video in avi format won't play Video folder in Explorer but...

    Video AVI won't play Video folder but will play external hard drive? I feel more that I should have waited for Windows Pro.

  • In a new laptop, what configuration is the best use of Adobe products?

    It's time to replace my aging laptop, and frequently - use Adobe Illustrator, PhotoShop and InDesign products more often. I am open to any suggestion on setting up a new laptop. I been a PC user for always - supporters of Mac who believe a Mac to be