VBScript in error "Object doesn't support this property or method" on all versions of InDesign

I try to run the VBScript examples and get this error. I tried to run all available versions of InDesign Creative cloud on the two Windows 7, 32 and 64-bit and Windows 8. Also tried running InDesign as an administrator. Anyone know what could be the problem?

I managed to solve our problem and I'll just add some additional information provided by adobe support in case someone else falls on something similar.

"In terms of InDesign by saving type with Windows libraries, it is a two-step process. First, InDesign CC 2015 should write 2 files at launch if the files do not already exist at these locations:

C:\ProgramData\Adobe\InDesign\Version 11.0\en_US\Scripting Support\11.0\Resources for Visual Basic.tlb

C:\Users\[username]\AppData\Local\Adobe\InDesign\Version 11.0\en_US\Caches\Scripting Support\11.0\Resources for Visual Basic.tlb

It should also create the following registry entries:

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{451AF4B6-5D30-4D46-95CE-E4F900BF2D44}\1.0\0\w in32
value = C:\Users\[USERNAME]\AppData\Local\Adobe\InDesign\Version 11.0\en_US\Caches\Scripting Support\11.0\Resources for Visual Basic.tlb

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{7C8B1C08-7618-477f-A2EC-D6DC4BCD6B06}\1.0\0\w in32
value = C:\ProgramData\Adobe\InDesign\Version 11.0\en_US\Scripting Support\11.0\Resources for Visual Basic.tlb

Second, these tlb files must be registered by Windows. If the tlb files are created, you can force the record using regtlibv12.exe, from "Resources for Visual Basic.tlb" "

The only way I could get InDesign to generate new .tlb files was to remove or to add a plugin and then run it as administrator. This also lead me to find the problem, one of our plugins internal had a CLID duplicated in its script objects that should have prevented loading InDesign the .tlb.

Tags: InDesign

Similar Questions

  • When I connect to the Internet, I get a message error "object does not support this property or method". Unable to do anything from there.

    original title: error messages
    As soon as I get on Explorer and on internet I get an error message "object does not support this property or method' am unable to navigate due to this message to appear on each movement.  Someone help?  Thank you

    Hello

    (1) do you have made no changes before this problem?
    (2) is this problem limited only with a particular website or any websites?

    (3) when exactly, you receive an error message when you use Internet Explorer or when the Internet connection?
     
     
    Method 1: If you receive script errors, you can read the following article and check if that helps.
     How to fix script errors in Internet Explorer on Windows computers?
    http://support.Microsoft.com/kb/308260

    Method 2: You can also read the following article and check if it helps.

    Can't access some Web sites in Internet Explorer
    http://support.Microsoft.com/kb/967897

    Warning: Please note that reset the settings of Internet Explorer running resets all of the settings defined by the user, including those established by the installed extensions, toolbars and other add-ons for IE by default. This includes all the security, privacy and settings area. Also this will erase browsing history, delete all temporary Internet files, cookies.

    Method 3: Networking in Mode safe
    Follow the link below and check if the problem persists in safe mode with network.
    http://Windows.Microsoft.com/en-us/Windows-Vista/advanced-startup-options-including-safe-mode

    Hope this information helps.

  • ILearning Issue::Object does not support this property or method

    Hello
    I use the ilearning Oracle Partner Network site facility. After completing the course on ' Oracle Application Server 10g R2: IT increase flexibility with process Orchestration, Business Activity Monitoring and business rules ", when I'm doing the exit test, the test page does not load with the following error:"
    Line: 1229
    Char: 1
    Error: Object doesn't support this property or method
    Code: 0
    URL: http://ilearning.oracle.com/ilearn/en/assessment/jsp/test_player.jsp?
    LMS_URL = http://ilearning.oracle.com/ilearn/en/learner/jsp/lms.jsp

    Software used:

    OS: Windows XP SP 3
    Internet Explorer Version: 7
    Java runtime environment:
    Java plug-in 1.6.0_11
    Using JRE version 1.6.0_11 Java hotspot Client VM
    User home directory = C:\Documents and Settings\Kaustav
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on the finalization queue
    g: garbage collection
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: Hide console
    r: reload the policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: delete the cache of class loaders
    0-5: set the level of trace to < n >
    ----------------------------------------------------


    Oracle iLearning LMS Applet 5.1.0.0.1

    What should I do? I have checked internet options and that you do not find a problem!

    This is related to the issue of Sun JVM Plugin with updates of the 1.6 version 10 and 11 which apparently should be fixed in the updated 12.

    For now, you can do the following and it should work:

    In the java Control Panel (uncheck):

    Advanced-> Java plug-in--> activate the Java plug-in of new generation (requires a restart of the browser)

    as shown here:

    With content W SCORM Version the most recent error of Sun's Java (1.6.0_10)

  • Message from Web page (object does not support this property or method)

    When I go on the net... A message appears. His word to say 'object doesn't support this property or method' what can I do to stop the poping upward every time I change the page... Help, please!

    OK...

    (1) what happens * version * Internet Explorer - 8 or 9?

    (2) what is your HOME PAGE (s) value?  If you type www.google.com in the address in the top box and press ENTER, you get the message?

    (3) makes 32-bit Internet Explorer v_ do the same thing that 64-bit for you?

    I would like to change your home page (s) to "subject: empty ' first.  It could very well be a script that tries to run the form on your home page.

  • What can I do to remove a box pop up indicating "Message from Web page" and the message reads "object does not support this property or method".

    What can I do to remove a box pop up indicating "Message from Web page" and the message reads "object does not support this property or method".

    Hello

    1 how long have you been faced with this problem?

    2 have you made changes on the computer before this problem?

    3. when exactly you get this error message?

    The following threads may be useful:

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_other/message-from-webpage-not-implemented/d09fa331-92c6-4CD3-bc89-9a2c03e304fe

    http://answers.Microsoft.com/en-us/IE/Forum/IE8-windows_other/message-object-doesn

  • How to get rid of "Web Page Message" indicating the object does not support this property or method.

    After I log on my computer, I get the following pop up message "Message on the Web Page" - "object does not support this property or method." He continues to pop everytime I try to do something

    Hello

    I suggest you to follow these steps and check if that helps:

    Method 1:
    Start the computer in safe mode and check if the same problem occurs:
    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    Method 2:
    Try to perform the clean boot and check if it helps:
    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that you reset the computer in start mode normal such as suggested in step 7 of the above article.

    It will be useful.

  • MuseSJAssert: error calling function selector: TypeError: object does not support this property or method

    I get this error message with IE, version 8 upwards. The message appears once you navigate to another page on the site and then return to the home page. Can anyone offer advice on how to solve it? As the cursor on the site doesn't seem to work with IE, we wonder if that's where the whole issue.

    The site is hosted in British Colombia and is http://www.improvementservice.org.UK

    Thanks in advance.

    Martin.

    Hi Martin,

    Could you please try some steps here.

    MuseJSAssert: Error calling function of selection: [Object Error]

  • Error object doesn't support property or method "redirect localized broadband."

    Whenever I open my computer, I get the same error message.

    A yellow triangle with an exclamation with the following message is displayed: an error has occurred on this page of script

    line 15

    2 tank

    Error object doesn't support property or method "redirect localized broadband."

    Code 0

    URL: file:///C:Program%20Files%20(x86) Microsoft % 20Office/OFFICE11/INTLBAND. HTM

    Do you want to continue running scripts on this page

    YES NO

    If I click on Yes, I can usually continue what I want to do, but I want to get rid of this error message, then I would be very grateful if anyone can offer help in informing them of what means this message and what I need to do to get rid of him.

    Thank you very much

    Angus Finlayson

    Original title: Script error.

    Reinstall the Office should solve the problem.

    For any reference later yuou should consider 'Office' in the section for office because it is where are the experts.

  • CS5 - object does not support the property or method 'resolution '.

    OK, upgraded to CS5 and now it is not supported:

    app.jpegExportPreferences.resolution = 350;

    Question is how to specify the resolution in CS5 since this worked in CS4?

    Thanks in advance,

    Joe

    It has changed in CS5 to 'exportResolution '.

    app.jpegExportPreferences.exportResolution = 350;
    

    --

    Marijan (tomaxxi)

    http://indisnip.WordPress.com/

    http://inditip.WordPress.com/

  • I'm unable to print Web sites. I get the error: "an error has occurred in the script on this page. Error: class doesn't support automation. »

    My printer does not work online I get. An error has occurred in the script on this page. Error: class doesn't support automation. Could someone help me please.

    Hello

    1. what version of internet explore do you use?

    2. What is the brand and model of the printer?

    3 - is the problem occurs when you use Internet Explorer or other documents too?

    4 have have there been recent changes made on the computer before the show?

    Please try following methods and an update with the results.

     

    Method 1: Impossible to print or view the print preview of a Web page in Internet Explorer

    http://support.Microsoft.com/kb/973479

    Method 2:

    If you are having problems with Internet Explorer, I suggest you to refer to the links and check if it helps.

    Correct errors in Internet Explorer

    http://support.Microsoft.com/kb/822521

    How to resolve script errors in Internet Explorer on Windows computers

    http://support.Microsoft.com/kb/308260

    Let us know if it helps.

  • We get an error "Player doesn´t support that file or a required CODEC is not installed.

    * Original title: how to open the exported from a Mac in my Windows MP4 video?

    Hi, I can't open MP4 videos when exported from a Mac. A message says that maybe player doesn´t provide support to this file, or a necessary CODE is not instaled on my computer.

    Hello

    1. what player you use to play MP4 videos on your computer?

    2. What is the full error message?

    3 is the issue limited to the exported file?

    Codec can be written for 32-bit OS or 64-bit. If you install a 32-bit codec on a 64 bit system, for example, the player may not be able to play all the files in need of codec.

    Note that many older codecs are no longer available in 32-bit versions. If the codec provider does not specify whether its codec is 32-bit or 64-bit, the codec is capable of 32-bit.

    Determine what codec was used:

    a. read the file in the player.

    b. right-click on the file and then click Properties.

    c. on the file tab, look at the Audio codec and Video codec sections.

     

    Then you can uninstall any installed codec and install that you need to do the job file.

    If you have several codec for the single file to work they can clash and cause problems.

    Codecs: Frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/codecs-frequently-asked-questions

    For more information, see the article:

    Play an audio or video file: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows7/play-an-audio-or-video-file-frequently-asked-questions

    If you use Windows Media Player, I would say that you can download the latest pack of codecs for Windows Media Player to the Internet and check out them. Make a search using your favorite search engine.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    I hope that helps!

  • Microsoft Jscript Runtime error - object does not support the action of line 12

    I get this error at startup on my laptop running Win 7. I have just respond ok and continue to work. How do I cure this?

    Hello

    Have you made changes on the computer before this problem?

    A runtime error is a software or hardware problem that prevents a program to function properly. Runtime errors could cause you to lose information in the file that you are using, causing errors in the file (corrupt the file) so that you cannot work with it, or prevent you from using a feature. Unlike stop errors, errors lead usually Windows or a program to stop working.

    See the following Microsoft article.

    What is a runtime error? http://Windows.Microsoft.com/en-in/Windows7/what-is-a-runtime-error

    I suggest you perform a clean boot and check if it helps.

    Clean boot will check if any third-party application is causing the problem, as the clean boot helps eliminate software conflicts.

    How to solve problems using the clean boot in Windows: http://support.microsoft.com/kb/929135

    Note: once the diagnosis has been made, make sure that you reset the computer as usual.

    Keep us updated on the status of the issue.

  • Managed bean doesn't have this property error

    Hello

    I want to show the Group of radio buttons on my page. The values I put in my managed bean method that returns a list.

    I took a selected component of radio one and he chose my method that returns a list.

    But when I run the page it gives error that the class does not have the property.

    Here is the code that I wrote in the method which returns the list:

    Please let me know what is the problem here. Thank you

    public list choiceList() {}

    System.out.println ("inside the bean');

    DCBindingContainer links =

    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

    DCIteratorBinding iter =

    bindings.findIteratorBinding ("TblSurveyQuestionsView1Iterator");

    ViewObject vo = iter.getViewObject ();

    String rowAnswer =

    vo.getCurrentRow ().getAttribute("RowAnswerChoice").toString ();

    ("String [] answers = rowAnswer.split("\\n ");

    System.out.println (response [0] + "navneet" + answers [1]);

    The list of answersList = Arrays.asList (answers);

    Return answersList;

    Rename the method to be getChoiceList() and write another one, with the name setChoiceList(List value) {...}

  • JavaScript 55 error code: does not support

    I am trying to run the following script:

    EU estou tentando redoar o seguinte script

    ________________________________________________________

    myDocument var = app.documents.add ();

    var myTextFrame = myDocument.pages.item (0).textFrames.add ();

    myTextFrame.geometricBounds is ["6 p", "6 p", "24 p", "24 p"];.

    myTextFrame.contents = "Hello Worlfgfgd".

    Improved Hello World!

    Enter the name of a font on your system, if necessary.

    try {}

    myFont = app.fonts.item ("Arial");

    }

    catch (MonErreur) {};

    myDocument var = app.documents.item (0);

    {with (myDocument)}

    myPage = pages.item var (0);

    var myBounds = myGetBounds (myDocument, myPage);

    {with (myDocument.pages.Item (0))}

    Get a reference to the structure of the text.

    var myTextFrame = textFrames.item (0);

    Change the size of the text block.

    myTextFrame.geometricBounds = myBounds;

    var myParagraph = myTextFrame.paragraphs.item (0);

    myParagraph.appliedFont = myFont;

    myParagraph.justification = Justification.centerAlign;

    myParagraph.pointSize = 48;

    }

    }

    myGetBounds is a function that returns the limits

    'live' area of a page.

    function myGetBounds (myDocument, myPage)}

    var myPageWidth = myDocument.documentPreferences.pageWidth;

    var myPageHeight = myDocument.documentPreferences.pageHeight;

    if(MyPage.Side == PageSideOptions.LeftHand) {}

    var myPage.marginPreferences.left = myX2;

    myX1 = myPage.marginPreferences.right var;

    }

    else {}

    var myPage.marginPreferences.left = myX1;

    myX2 = myPage.marginPreferences.right var;

    }

    var myY1 = myPage.marginPreferences.top;

    myX2 var = myPageWidth - myX2;

    var myY2 = myPageHeight - myPage.marginPreferences.bottom;

    return [myX1, myY2, myY1, myX2];

    }

    ______________________________________________

    but he's still givve me this error message:

    JavaScript error!

    Error code 55

    error string: object does not support the property or method 'documentPreferences.

    Main mechanism

    Leader: C:\Users\... Scripts\Scripts Panel\Teste.jsx\Source.jsx

    Line 30

    Origin: var myPageWidth = myDocument.documentPreferences.pageWidth;

    This javascript script has been copy / paste exactly as it is. I created this in ADOBE INDESIGN SCRIPTING TUTORIAL ¬ CS6

    EU achei esse num pdf Código da adobe: Adobe Indesign Scripting Tutorial e ele sempre me da erro supracitado o. Alguem?

    Hello

    Sounds like settings are side to the bottom:

    //...

    var myBounds = myGetBounds (myDocument, myPage);

    //...

    function myGetBounds (myDocument, myPage)}

    //...

    Jarek

  • InDesign suddenly stopped supporting the properties or methods

    So I feel a little ridiculous to have to ask the question, but it seems that during the night (i.e. between close and turn on my work system), InDesign has abruptly stopped some properties or methods. I had already written a script running using, among others, styleExportTagMaps.add, and epubExportPreferences, they now return the standard ' object does not support the property or method ' error. " I'm under InDesign 5.5 with the object model of 7.5.

    A usage example:

    myPGS_CH.styleExportTagMaps.add({exportType: "EPUB", exportTag: "h1", exportClass: "h1", exportAttributes: ""});
    

    myDocument.epubExportPreferences.includeDocumentMetadata = true;
    

    Guidance as to what could have changed?

    Thanks in advance,

    Julian

    So to answer my own question, for those who might come across the same problem in the future: the problem in what I used glue code, that encrypts the app.scriptpreferences.version 6 - a version that does not support such functions. Just remove this line from your glue code or set it to a newer version to fix the problem.

Maybe you are looking for