Index reference add JS script

Hi all,
i'm using InDesign CS3 5.0.4/ javascript/windows,  here working in xml workflow, i need to traverse element and captured the content, that content need to be add in the Index reference  with the current pagenumber not topic index.  Help me anybodies.
Thanks
Nagaraj

Thanks
Geetanjali Arora  for replying me 
I tried to call the .js file by using button click event but I am not getting the method and  I checked my Custm.js file is not loaded  so I placed script in aspx page then only
I am getting that function . 
But I want to call my custm.js file on click event of button 
Thanks in advance. 
Arun Darly

Similar Messages

  • Index Reference Mark between two spaces.

    Please add index reference mark between two spaces. And after that replace double spaces to one space. Do you still have your reference marks?
    CS 5.5.

    You first need to define what you consider to be "whitespace". Is it just a space? Is it spaces and linefeeds? What about carriage returns? Tabs? Anything non-alphabetic and/or non-numeric?
    As mentioned previously, the Search and Replace String can be used to delete characters by wiring an empty string to the replace string input. The following, for example, will delete all spaces:
    If you need to delete other whitespace characters, just call it again on the resulting string.
    Message Edited by smercurio_fc on 06-02-2008 09:25 AM
    Attachments:
    Example_VI1.png ‏3 KB

  • Can't add java script to Adobe 7.0 PDF document

    Hi, ran into a small problem using Adobe Pro 7.0. Created a interactive form in Adobe Designer 7.0. Want to add Java script to run when a user selects certain fields on the forms. However, when I try and use the advanced editing tools to gain access to the Java script properties for that object, the toolbar is greyed out. No document security has been configured. Can this be done? Should it be done in Adobe Prof or in Designer? Can't figure out how to add the java script to the forms.
    Any help would be appreciated.
    Thanks Michael

    Once a form is started in LiveCycle Designer, it has to be edited in LiveCycle Designer. There are very few Acrboat features that can be used.

  • In mozila 3.6 or higher version as i install Browser Highlighter addone then in my site when i edit any html content in fck editor or in tiny mce editor then it add a script name gwproxy how i can solve it

    in mozila 3.6 or higher version as i install Browser Highlighter addone then in my site when i edit any html content in fck editor or in tiny mce editor then it add a script name gwproxy its happend with 3.6 or higher version thanks
    == This happened ==
    Every time Firefox opened
    == i upgrqde mozilla to 3.6.3 version and i check it with on another computers

    Hi Deepak!
    This seems to be a well-known and quite widespread problem with this extension, unfortunately - the net is full of complaints about this issue, not to mention 'horror stories' about how this (otherwise fairly innocent and well-certified but clearly highly commercial) extension has 'sneaked' its way into peoples installations.
    I find it quite amazing that such an issue has existed for so long without the Browser Highlighter, TinyMCE and FCKeditor teams getting together and making a working fix - it should be rather easy to prevent with a tag or plugin check in editor code and/or a simple editor recognition routine in the extension.
    If you want (/need) to use this extension, I can only point you to the Browser Highlighter homepage for support; in [http://thebrowserhighlighter.com/help.jsp The Browser Highlighter Help section] it is clearly documented - first section, last paragraph - along with a link to [http://thebrowserhighlighter.com/blacklist.jsp this problem report form] where it seems you can ask for help solving the problem.
    However, given the (script-)name of the page, I suppose that reporting a problem on your own website (with all details) actually adds your site - or part of it - to a blacklist that TBH maintains to turn off TBH or at least problematic script injections when visiting sites registered in this list. So actually this might help you solve the problem quite easily, if they do what the page implies.
    Please let us know how above works out, and if we can be of further assistance. Detailed feedback is appreciated and helps us to help you better, plus enables us to better help more users with similar problems.

  • Add a script to CFIDE/Administrator and run it?

    Hello, everyone,
    Is it possible to add a script (.cfm file) to /CFIDE/Administrator and run it?
    I've got a script that is used for reindexing and optimizing a small set of Solr collections, and the PTB do not want it publicly accessible (even though it will never touch a database, and I have conditions set so that only one of us can run it), so they are asking if it can be run from within the protected /CFIDE/Administrator folder.
    I copied my script (and an associated .gif image) to my local CF server /CFIDE/Administrator folder, but I can't run it.  Every time I browse to it, I get redirected to the login page.
    V/r,
    ^_^

    To be quite honest, WolfShade, even if it should work, I would strongly advise against it. /CFIDE/Administrator/ is a system directory. As such, it should contain no custom user scripts.
    A solution is possible that involves putting the script and GIF in a directory elsewhere in the web root. You could, for example, implement authentication in the directory or exclude its path in the web server settings. You should revisit the subject with your PTB and discuss these possibilities with them.

  • [svn:osmf:] 11993: Add build scripts

    Revision: 11993
    Revision: 11993
    Author:   [email protected]
    Date:     2009-11-19 10:44:08 -0800 (Thu, 19 Nov 2009)
    Log Message:
    Add build scripts
    Added Paths:
        osmf/branches/flex4/build/
        osmf/branches/flex4/build/build.xml
        osmf/branches/flex4/build/paths.properties
        osmf/branches/flex4/build/svn_sync.cmd

    DanielW wrote:
    elocal wrote:
    great stuff, thanks!
    so far the only really bad thing i've noticed in kde4 is the slow performance while accessing websites under kde4's konqueror, it is really slow looking up and loading the websites.  Must be some dns or ipv6 bug...
    Am I correct that you are using an AVM or AVM built OEM router? (the may be some from other vendors affected too).
    Its a well known bug an easy workaround not using your local router for DNS but the DNS from your provider (in your resolv.conf) or for example the one from opendns.  Another workaround is to use a local dns proxy.
    The bug is: http://bugs.kde.org/show_bug.cgi?id=154774  but it is closed now, as it has nothing to do with konqueror.
    Further discussion about it is here: http://bugs.kde.org/show_bug.cgi?id=162600
    Please tell what router you are using.
    Yea i figured it out earlier.  I am using the modem's IP as the dns, and telling dhcpcd not to modify resolv.conf.  But even with epiphany or firefox, if i use my router as the DNS it feels slower, not as slow as kde4/konqueror, but it is slower than if I use my modem's IP (or the ISP DNS) in resolv.conf.
    My router is an old Netgear WGR614 v4.  Besides the slow DNS lookups, it is giving me some other issues with wireless encryption... it is about time to upgrade it i guess...
    Thanks for the info.

  • SES_ADMIN search help index to add transport request.

    Dear All,
    I have a requirement to add index for particular business object in SES_ADMIN.
    i need to business object index to add into a transport request to move to other systems.
    please let me know whether it can be possible to add index into a transport request?
    Thanks & regards,
    Prathap.

    Hi Prathap.,
    I'm not sure why you would want to transport an index from per-production to production.  The content the index points to would not be live production data.  I think you might want to transport you search configuration.  Please visitSearch Engine Service Configuration for Advance search
    Best regards,
    Duncan

  • Add programming/scripting mode

    Hi There,
    Recently I started writing a client/server app. The basic functionalities are working fine so far.
    I would like to add kinda scripting or better a programming mode to my application now.
    E.g. it should be possible for the user to choose existing commands during runtime (methods()), and let them run in a self defined order. What�s the best way to do that in JAVA?
    Has anybody made experiences on that? any Good links?
    Thanks for any ideas and help!
    Regards,
    stonee

    Stonee,
    Ok to get started, I'd look at the examples that come with it. In a nutshell, though, you'll need to do something like:
        // Inititialise
        Context context = Context.enter();
        context.setLanguageVersion(Context.VERSION_1_5);
        Scriptable scope = context.initStandardObjects(null);
        // Execute some script
        Object obj = context.evaluateString(scope, "<some javascript>", "", 0, null);Some early gotchas/hints that I think you should know about:
    1. Context is thread specific, so you'll need to do a Context.enter per execution thread.
    2. The scope object is not thread specific. So an optimisation is to set one up on startup then re-use the scope object for every thread.
    3. The conext object creates lots of temporary class objects, which it caches. To clear the cache, periodically call context.setCachingEnabled(false) then back to true or else it will memory leak.
    4. Setting caching enabled to false from the start doesn't work.
    5. You can manipulate Java objects from the script, but have a look at the examples first.
    Hope that gets you started. I've found the engine to be very powerful and useful, but it does require a little up front work to integrate seamlessly. You could also benefit from wrapping it up to hide some of the implementation details.
    Dom.

  • Can't add action script to my buttons, need help

    I'm trying to add action script to my buttons to link them but the script menu has the message "Current selection cannot have actions applied to it" Why is this happening?
    see attached

    Okay,
    I have a page where I have a button that states "PRODUCTS". I need to get
    the button to send the user to another page called "products.swf
    (products.fla)". What script to I insert in the actions menu?
    Thanks
    Derrick Young - Graphic Designer, Art Dept.
    (d) 403.250.4261 | (f) 403.250.4336 | www.calgarysun.com
    (e) [email protected] | (a) 2615 12th Street N.E., Calgary, AB
    T2E 7W9

  • Merge Index References?

    Is it possible to merge index references such as Poverty & poverty? I have Some 215 reference words/phrases. Some occur within the body copy while others may be capitalized within data table titles or section titles. In this publication, the case sensitivity is not preferred for the index. Is there any way to merge these things without manually cutting and pasting numrous page numbers into sequence?

    An individual reference can be indexed under any topic you like, or more than one, so you can put both versions under the same topic heading.

  • ADD partition script

    Hi,
    Can anyone shed some light on adding range partitions on a table by date, i need a script which will add 40 partitions from sysdate to sysdate+40. My table struture is
    desc sales_data
    ticket_no number
    pos_no number
    tr_date date
    i want a partition which will stores data on daily basis, so partition on daily basis so 40 partitions. Is there any scripts to do that or ny reference doc will do.
    thanks
    jafar

    hi,
    Thanks for ur reply, but what i need is a script which will add multiple partitions providing some logic on partition name and date values
    for example
    partition nam eshould be like - sales_ddmmyy and value less than ('sysdate+1','DD-MON-YYYY')
    ddmmyy should be value less than sysdate+1 thats it
    i cant figure out the logic or PL/SQL script which would do the automation of adding scripts.
    regards
    Jafar

  • Multi-dimensional allocation reference in calc script is locking up EAS

    I am trying to draft a calculation script that allocates 1 total number at a point of view that includes "Entity" "Product" and "Customer". This number is entered in at one entity, one customer, and one product. I have loaded allocation weights by entity, customer, and product to be used as the basis for allocating this number down to entity, customer, and product.
    We have tried to use the @MDALLOCATE in a script as follows:
    SET AGGMISSG ON;
    SET UPDATECALC OFF;
    SET CACHE HIGH;
    SET CALCPARALLEL 3;
    FIX("BU Version_1","Actual",&CurrFY,&CurMth)
    "PL_AC_4502" = @MDALLOCATE ("PL_DP_1"->"PL_AC_4502", 3, @LEVMBRS ("Prod_Line",0),@LEVMBRS("Product",0),@LEVMBRS("Customer",0),"Abs_4502",,share);
    ENDFIX
    This locked up the EAS server everytime we tried it.
    We decided to add an account to hold a calculated percentage for the allocation and tried the following calc script:
    SET CACHE HIGH;
    SET UPDATECALC OFF;
    SET AGGMISSG ON;
    SET CALCPARALLEL 3;
    FIX ("FY10","Jan","BU Version_1","Actual",
    @RELATIVE ("Entity",0),@RELATIVE ("Product",0), @RELATIVE ("Customer",0))
    "Pct_Abs_4502"="Abs_4502",@LEVMBRS("Prod_Line",0),@LEVMBRS("TotCustomer",0),@LEVMBRS("TotProduct",0) / "Abs_4502"->"Prod_Line"->"TotCustomer"->"TotProduct";
    ENDFIX
    This also locked up the EAS server. Each time, it did not even finish the syntax check.
    We have about 70 product numbers and about a dozen customer numbers with numbers in them. Can anyone suggest a modification that will allow either of these calc scripts to avoid locking up the servers?
    Much appreciated in advance,
    Rob

    I just thought I would try to add a little more context to Glenn's response. A calculation on Essbase will step through every single member of every dimension by default. When you mention member "Abs_4502" in a calc script, you are not referencing ONLY "Abs_4502", you are also implying exactly one member from every other dimension in your database (every data value needs a member from every dimension. FIXes are there to limit which members of certain dimensions should be subject to your calculation.
    The math you are doing to create a percentage should only reference one value in the numerator, and one value in the denominator. Your denominator is one value, but the numerator is undefined because it is referencing a range of member across three dimensions. I believe I understand what you are attempting here, but it is not necessary. Your FIX already explicitly states that the calculation will work across all the lev0 members of Entity, Product, and Customer. So, you don't need that in the math again. To restate Glenn's attempt...
    /* Assumes Prod_Line is "Entity", TotCustomer is "Customer" , and TotProduct is "Product" member */
    FIX ("FY10","Jan","BU Version_1","Actual",
    @RELATIVE ("Entity",0),@RELATIVE ("Product",0), @RELATIVE ("Customer",0))
    "Pct_Abs_4502" = "Abs_4502" / "Abs_4502"->"Prod_Line"->"TotCustomer"->"TotProduct";
    ENDFIX
    The very first calculation of this calc script is working on the first lev0 relative of "Entity", the first lev0 relative of "Product", and the first lev0 relative of "Customer", and divides the value in that intersection with the value at the "Prod_Line", "TotCustomer", and "TotProduct" intersection....which should be percentage (albeit probably very small...I'd warn against any rounding attempts). The fix then steps one by one through each of the lev0 members and does the same math.
    You could step this up and go across all months in the FIX too, and it will step through all months, and calculate the percentages within each month.
    Hopefully that helps a little.

  • How can I create a simple app that will automatically add folder script

    Hi! I hope I can get a little help on this.  I tried searching online and haven't found anything.
    Is there away I can make a simple "application" that will automatically add a folder script to a users folder?
    Basically I need a folder script to run but I don't want to explaint o a user how they'd have to do it in automator.
    I'd like to be able to create an application they double click.  The app tells them to select a folder then automatically runs the script.
    Does anyone have any ideas of how'd I'd do this?

    Oh I get it. Yeah I read you post on one of the other pages and didn't quite understand, but not that you say that your're makeing this for another user, it makes sence.
    So what you want to do is have the computer automatically install a script on a customer's computer, right?
    (I'm using "custumer" loosly; i.e. just another user)
    If that's what you'd like to do, then you'll probably have to write an actual program in Xcode, since I imagine automiticlly installing folder action scrips will be highly discuraged by Apple because it would cause a huge security hole in the OS. (You wouldn't want some random person sending you a folder action installer disgused as a regular app LOL.)
    But I will actually suggest the following, which I think will work great for your users:
    Make a regular Automator app, and drag it to your Dock. Now, have the user click and drag a bunch of photos to the application icon, and it will run the app automatically on those files.
    You could try a work flow like this:
    ask the user Are you sure?
    convert pictures
    save pictures to ConvertedPics folder
    pop up a confirmation message saying that everything was resized
    Hope this helps

  • How do I add PHP Script to an XHTML Page?

    I am tring to add a PHP script to my XTHML page in Dream
    Weaver. The tag starts <?php and ends ?>. I have uploaded the
    script on to another site which I use for testing and it shows the
    whole code not the intended presentation. I did read that the
    server should support PHP scripts..I have been trying to research
    it online however I have had no luck.
    I have also tried publishing it to a local folder and it
    still didn't work. I am really lost!!!
    I am very new to building websites in dreamweaver so laymens
    terms would be great!!
    Thanks so much!
    John

    1. are you adding the php script in design view or code view?
    2. is the file name a .php?
    3. does your server support php?
    Dan Mode
    --> Adobe Community Expert
    *Flash Helps*
    http://www.smithmediafusion.com/blog/?cat=11
    *THE online Radio*
    http://www.tornadostream.com
    <--check this
    *Must Read*
    http://www.smithmediafusion.com/blog
    "jbravo1224" <[email protected]> wrote in
    message
    news:f32956$fj7$[email protected]..
    >I am tring to add a PHP script to my XTHML page in Dream
    Weaver. The tag
    >starts
    > <?php and ends ?>. I have uploaded the script on
    to another site which I
    > use
    > for testing and it shows the whole code not the intended
    presentation. I
    > did
    > read that the server should support PHP scripts..I have
    been trying to
    > research
    > it online however I have had no luck.
    >
    > I have also tried publishing it to a local folder and it
    still didn't
    > work. I
    > am really lost!!!
    >
    > I am very new to building websites in dreamweaver so
    laymens terms would
    > be
    > great!!
    >
    > Thanks so much!
    >
    > John
    >

  • Where to add new script in an ActionScript file

    Hi,
    moved to AS3 forum
    I am a newbie using Flash Pro CS5 and have beginner skills in AS3.
    I am working on an eLearning lesson and already, with a lot of earlier help of others, and have an Action Script file to use for a white noise  animation in a learning lesson.
    I need to make a couple of additions but am very unfamiliar with adding  script to an Action Script file "package." Specifically, I want to add a  URL checking to the Action Script file so that students do not view the  Flash movie animation outside of the lesson which contains learning  materials and instructions for using the animation.
    I would like to add the following script but so far, I have been getting error messages:
    if ((this.loaderInfo.url).indexOf("mywebsite. com") == -1)
                navigateToURL (new URLRequest ("http://mywebsite.com/default.html"));
                else
    //run the animation
    The current AS3 in the .as file is:
    package
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
        import flash.geom.Matrix;
        import flash.geom.Point;
        import flash.utils.getTimer;
        import flash.utils.Timer;
        public class Main extends Sprite
            private var viewbmd:BitmapData;
            private var workbmd:BitmapData;
            private var scaleUp:Matrix;
            private var px:Vector.<uint>;
            private var timer:Timer;
            private var itsNoisy:Boolean;
            public function Main():void
                if (stage) init();
                else addEventListener(Event.ADDED_TO_STAGE, init);
            private function init(e:Event = null):void
                removeEventListener(Event.ADDED_TO_STAGE, init);
                viewbmd = new BitmapData(stage.stageWidth, stage.stageHeight, false);
                var view:Bitmap = new Bitmap(viewbmd);
                addChild(view);
                workbmd = new BitmapData(viewbmd.width / 8, viewbmd.height / 8, false);
                scaleUp = new Matrix();
                scaleUp.scale(8, 8);
                itsNoisy = true;
                stage.addEventListener(MouseEvent.CLICK, manageNoise);
                initNoise();
                timer = new Timer(50);
                timer.addEventListener(TimerEvent.TIMER, onTick);
                timer.start();
            private function initNoise():void {
                var array:Array = [];
                for (var i:uint = 0; i < 255; i++) {
                    array[i] = 0xffffff * (i % 2);
                workbmd.noise(getTimer(), 0, 255, 7, true);
                workbmd.paletteMap(workbmd, workbmd.rect, new Point(0, 0), array, array, array);
                px = workbmd.getVector(workbmd.rect);
            private function onTick(e:Event):void {
                flipSomePixels(160);
                viewbmd.draw(workbmd, scaleUp);
            private function flipSomePixels(howMany:int):void {
                for (var i:int = 0; i < howMany; i++){
                var pxidx:int = Math.floor(Math.random()*px.length);
                    px[pxidx] = ~px[pxidx]; //bitwise NOT to flip all bits
                workbmd.setVector(workbmd.rect, px);
            private function manageNoise(e:MouseEvent):void {
                itsNoisy ? timer.removeEventListener(TimerEvent.TIMER, onTick) : timer.addEventListener(TimerEvent.TIMER, onTick);
                itsNoisy = !itsNoisy;
    If anyone can take a look and please let me know how to add the  additional script to check for the URL (please be specific since I am a beginner in  scripting):
    I have tried everything that I can think of and am stuck.
    Thanks in advance for your help.
    Kind Regards,
    saratogacoach

    in your constructor:
    if (this.loaderInfo.url.indexOf("mywebsite.com") == -1) {
        navigateToURL(new URLRequest ("http://mywebsite.com/default.html"));
    } else {
        addEventListener(Event.ADDED_TO_STAGE, init);

Maybe you are looking for