[JS, CS5] Strange exit in the javascript console, of extractLabel

I get a lot of CData empty in the javascript console, if I write the result of extractLable ('anynonexistinglabel').

I use this code:

var allPgItems = app.activeDocument.allPageItems;
for (var i = 0; i <=allPgItems.length-1; i++){
    
    var currentItem = allPgItems[i];
    $.writeln(currentItem.extractLabel('asdfgh'))
    
}

The result:

<! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > <! [CDATA]
[]] > etc.

This behavior is repeatable?

Capture.JPG

This is a bug in the ESTK, on Windows, in any case. The ESTK don't like empty strings or null. See what happens when you make $.writeln (' ')

Peter

Tags: InDesign

Similar Questions

  • Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical de

    Sync to iphoto with Iphone hangs on during synchronization. In addition the google map can be charged when I click on the places of Mediathek. Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    Error message: "this page has not loaded correctly Google Maps. See the JavaScript console for more technical details. »

    Apple has not renewed the contract with Google to access Google servers.

    If the old version of iPhoto, which are still using Google's servers for the cards and places are either crashing or hanging.  Places are only work in iPhoto 9.5.1 or newer, who use places of Apple servers.

    There is more support for iPhoto from Apple.  You must update iPhoto 9.5.1 with the Mavericks. It would work well, only it is no longer buying this update to Apple.

    Perhaps the reason for the problem of synchronization is the problem with the loading of google map?

    It is very likely.  If iPhoto work very well when you are offline, then your problems will be caused by the connection failed to Googles servers.

    See this: Bug: iPhoto 9.4 crashing when viewing the scene

  • «oActionSubform is zero...» "Error in the JavaScript Console

    I have the following script on a custom button to dynamically create rows in the table.

    MeetingMinutes.LogoControls.ActionSubformA.ActionItemAddSubform.AddActionRowButton1::click - (JavaScript, client)

    var oActionSubformA = MeetingMinutes.LogoControls.resolveNode ("ActionSubformA [" + this.parent.parent.index + "]");
    this.resolveNode('ActionSubformA.Table1._Row2').addInstance (1);
    oActionSubformA.Table1.HeaderA.presence = "visible";

    If (xfa.host.version < 8) {}
    XFA. Form.Recalculate (1);
    }

    I get the following JavaScript console error:

    oActionSubform is null
    3:XFA:MeetingMinutes [0]: LogoControls [0]: ActionSubformA [0]: Table1 [0]: Row2 [1]: DeleteActionIt em [0]: initialize

    No idea what causes the error?

    Perhaps a typing mistake.

    Everywhere, you use the name of ActionSubformA but in this script only ActionSubform.

  • Cannot run scripts in the javascript console

    If I press Ctrl + J and the javascript debugger window appears. I select the script in the menu drop down and the script box and the button are grayed out. Anyone has a solution to get it not grayed out? Thank you.

    Hi nhat11,

    You could watch this video on the setting and utilization of useful Console window.  It's in the.

    http://www.pdfscripting.com/public/34.cfm

    Scroll to the title of the video "the Acrobat JavaScript Console: your new best friend.

    Hope this helps,

    Dimitri

    WindJack Solutions

    www.windjack.com

    www.pdfscripting.com

  • NA not find the Javascript console in Acrobat 9.1

    Hello

    I want to use acrobat javascript editor but I have not found any javascript or javascript editor console to activate javascript in Acrobat.

    I have also not debugger. Search in the tab advanced and as active Javascript editor-> editor-> Preferences-> Javascript

    I use Acrobat 9.1

    Thank you

    POIREL

    Acrobat Standard, Pro, or Pro Extended?

    Acrobat Pro, you can activate the debugger with Ctrl + J.

  • Is there a JavaScript console in Dreamweaver CC?

    I get a "Oops!" Something going wrong. "error message instead of a Google map in Live View map and all browser previews.

    His request to see the Javascript console for more technical details.

    Not sure if this console is in the Chrome of DW CC browser...?

    Thank you

    It is the only console I can think it is related to your question Google Maps JavaScript API |  The developers of Google

  • Get strange errors 'real time' in the browser console, what do mean?

    I noticed recently that since yesterday is the day prior to that, I get a strange 'real-time' error messages in my browser console log. I get them for more or less the same sites, and I have attached a screenshot of some of the most common mistakes for example. I see these errors very frequently in the browser console log.

    So I'm a little worried about what mean these errors, why I want to come and if anything, what to do about them.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Popup of console log in Chrome for the Javascript code for the Adf application

    Hello

    I use JDev 11.1.1.7.

    In our application, I used the same code as in the example (http://www.oracle.com/technetwork/testcontent/27-long-running-queries-169166.pdf) adf code corner next.

    I used this code to my command button on my page.

    The problem is, when you run the application in the browser Chrome, clicking this command button displays a warning for javascript popup (Please find below printscreen).js_error_popup.png

    The application is not break and continues to work even if this popup comes.

    I tried with other browsers, it is works well and do not show this javascript error.

    You can all help to suggest? Is there something wrong with the javascript code? Thank you.

    Best regards

    cmoster

    Hi Timo,

    The problem is now resolved.

    We have corrected by adding these params of context in the web.xml file to work around the problem.

        org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT

        fake

     

     

        oracle.adf.view.rich.profiler.ENABLED

        fake

     

     

        oracle.adf.view.rich.LOGGER_LEVEL

        OFF

     

     

        oracle.adfinternal.view.faces.DISABLE_CONTENT_COMPRESSION

        fake

     

    Best regards

    cmoster

  • What happened to the error console? I need!

    As a web developer, I use the JavaScript error Console, all the time. It seems to have disappeared in Firefox 6.0. Do I need a separate plugin or what?

    What follows (moved to "Web Developer" in the two menus):

    • CTRL + SHIFT + J
    • ALT + T + W + C
    • Firefox button > Web Developer > Console errors
    • Using the menu bar, tools > Web Developer > Console errors
      • temporarily , display the menu bar and make selections from it, press ALT or F10

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You must update some plug-ins:

  • When I try to access the Recovery Console, "Welcome to Setup" screen does not appear and it asks me to install on a partition... Help

    My office has the continuous loop reboot of Windows XP SP3 ("UNMOUNTABLE_BOOT_VOLUME" STOP 0x000000ED - 0x8A8EB7B8). When I put my Windows XP Pro installation CD to access the recovery console to make the steps required to solve the problem. The "Welcome to Setup" screen ever comes back to press 'R' to arrive at the RC. Instead a screen comes up that says, "the following list shows the existing partitions and space unpartitioned on this computer." Then, he gives me the ability to press ENTER to install Windows XP, press C to create a partition, or D to delete a partition.

    Why can't I to the Recovery Console to fix the reboot loop?
    Most importantly, I lost some data on my hard drive? If it won't let me even get to the RC?

    I found a solution to my problem and it worked!

    If anyone else has this problem follow these steps:

    Click on this link and follow the instructions to make a CD of Windows XP Recovery Console. http://www.proposedsolution.com/Downloads/Download-Windows-Recovery-Console/

    Then, when you start using the CD, this...

    1. When you see the "Welcome" screen
    2. press on 'R' to use your Recovery Console to repair the installation
    3. Type "chkdsk/r" and press "enter." CHKDSK will analyze and repair your hard disk. Type "Exit" once this process is complete.

    Your computer will restart and should be fixed. at least mine was.

    I hope this helps!

  • Installation Partition problem (allocated too expensive for the Service Console?)

    Installation Partition problem (allocated too expensive for the Service Console?)

    RAID1 (15K 146 GB SAS) on Dell R710 and VMFS is on table EQL.

    What I did during the ESX4.1 excavation, it's that I have used ALL the space in 146 GB (mainly for / and / var), after adding this ESX host to vCenter, VC and EQL ASM/VE started to complain about the following points:

    1 VC: health check of localstorage warning (only has 245 MB left on 146SAS localstorage)

    2 EQL ASM/VE: warning rootFolder folder (due to the above)

    I thought that he is authorized to use all the space for / (50 GB) and / var (50 GB) in my case for only 146 GB, I don't think I need to leave any space on the installation disc.

    Could someone share some lights here?

    Thank you

    As you can see SDS use all the SDC VMFS partition space.

    This create the alarm.

    The thing really confused me why I have to leave a space on the disk at all?

    Technically there is no reason to let the space... but also no reason to have a big service console

    Usually, you need 10 to 20% free space for each snapshot data store and Exchange files... but in your case, you will not have these files.

    If you have any problems, but you receive the alarm until you do not disable them on this specific data store.

    PS: I suggest you switch to ESXi, is quite simple and it doesn't have this strange vmdk for the "console".

    André

  • Strange behavior with the PSD in Photoshop

    I am currently working with a two-page ID CS5.5 document. This is a CMYK document with CMYK images and grayscale.

    Strange behavior is the following: I have a gray levels (tiff) image that is repeated on the page 1 and page 2. This image looks completely different from page 1 to page 2. I have triple checked everything (opactiy, effects, etc.) and then I started to remove items from page 2 one by one.

    As I deleted a psd file all of a sudden all the images in grayscale on page 2 changed his appearance to match page 1. The PSD in question is also in CMYK with a transparent background. What the frack happens?

    I'm more concerned to know if it makes a difference when it goes to print, or if it's just weird screen in InDesign.

    Anyone who has heard of this or know why this happens - would like to hear from you.

    Thank you!

    I think it's simply because of full transparency on the page. Should not affect the production of gray images... but check in Acrobat.

    Mike

  • Adobe Illustrator CS5 do not remember the last settings &amp; crashing

    Hello

    I use the latest version of illustrator CS5 on a MacBook Pro Intel Core Duo, the rest of my work of Master Collection ok except illustrator

    First, every time you exit illustrator he crashes and asks to send an accident report

    Second, when you reopen and go to file > open recent item, no document has previously worked on in the list

    Third, when I put in place of the units in inches for example then the reopen the next day, he returned to the milimeters?

    Does anyone know how to change this problem? Apart from that it seems to run pretty smooth

    Thank you

    To add to this, in case your trash folder settings and happens again, you have right or control click on the folder of the settings in the preferences and select Get Info and search for property and permissions and you can change it there to read/write.

    But when you do this, click the icon of padlock at the bottom of the window, read the information and then enter your username and password at the bottom of the Get Info there is a gear as icon with a down arrow it will allow you to apply the change to all content in the folder read/write settings.

    To search for the folder settings

    1. quit Illustrator.
    2. go to user/username/Library/Preferences/Adobe illustrator CS5 Settings and parameters, the entire record of the trash not only the contents of the folder...
    3. launch Illustrator. Illustrator creates a new preferences file.

  • CS5 server crashing on the document close

    Hello guys,.

    I have another little problem with our indesign plugin. With CS4 server the plugin worked well, but on the CS5 server it crashes the server when closing documents with javascript. I think that this could be a problem with the new architecture of multithreading in CS5, but what exactly I need to change to fix this? Which is perhaps a pointer to the document inside my plugin which is not released?

    Thanks in advance!

    It's true, the QueryInterface method increments the counter by references on the Interface, but because you do not release the interface, its refcounter never gets decremented. Use the InterfacePtr template class
    --
    Piotr Maciej Przepiora

    http://Phoibos.pl

  • Call the javascript function using parameters cause run an immediate dependant

    Hello.

    I saw a strange behavior, if I try to use javascript parameters in the method af:clientListener property.

    Using the syntax
     <af:commandButton text="Init" id="cb1"
       partialSubmit="true">
       <af:clientListener method="OnInitControl1" type="click"/>
    </af:commandButton>
    and javascript
    function OnInitControl1() {
      alert('OnInitControl1 called');
    }
    the method oninitcontrol1 is called first with the click of the button.

    But with the syntax
    <af:commandButton text="Init" id="cb1"
       partialSubmit="true">
       <af:clientListener method="InitCtrl('Control1')" type="click"/>
    </af:commandButton>
    and javascript
    function InitCtrl(frameName) {
      alert('InitCtrl(' + frameName + ') called');
    }
    the InitCtrl function is called immediately to the loading of the page.

    In both cases, the javascript file is inserted into the use of af: document
    <af:resource type="javascript" source="/ScriptHelper.js"/>
    Is my "method" of the af property syntax: clientListener the problem?

    Paul.

    Paul,

    I don't know if you can call javascript with parameters in the way that you are currently using. However, have you tried using an af:clientAttribute and enhance the javascript?

    Check the operating instructions by Frank on the related topic.

    http://www.Oracle.com/technology/products/jdev/tips/fnimphius/passingAdditionalArgumentsToClientListener.html

    Arun-

Maybe you are looking for

  • New iPhone 6s cannot set up blue tooth

    its Configuration Bluetooth connection do?

  • Combine the signals

    Hey guys,. I try to combine the two signals, but I got an unexpected error when I combined a relay. According to me, I'm missing something here, and I've tried everything... Objective: The data entry follows different ways depending on the switch. If

  • Acer technical support

    I bought an Acer monitor for a new computer, it was perfect and it came with everything in the box. I liked so much that next week for another computer, I bought the same monitor. This monitor did not come with a DVI - D cable to connect the monitor

  • KO 971644

    I need to download the update for window KB971644 vista platform. I've tried everything. The Download Center, the update of windows, difficulty of the update, but I can find. I need to get the update for windows essential. Please help me.

  • Sectioning ThinkVantage Connection Manager FOR GOOD!

    Hi everyone- Can someone tell me how to disconnect my T-500 connection manager? I am running XP Pro on this machine. I would just use the wifi Manager instead. I don't want to uninstall it if I don't have to. Thank you