JS how to access objects created by plugins?

say if a textframe was created by a third party InDesign plugin.
How should one access and modify this "textframe" property using JS?
Thanks in advance.

You can only access a third-party plug-in's "text frame" if they programmed scripting support into the plugin. You would have to contact the third party to know whether they included scripting support in their plugin.

Similar Messages

  • How to access Templates created in PAGES iwork06?

    How to access Templates created in PAGES iwork 06?
    I also want to eliminate default template folders and recreate my own as in 06 version of PAGES.
    Templates file is located where in '08?
    Don't need all the pre-made templates!

    The pre-made templates are contained in the Pages application package. Any templates you create yourself are stored in HD > Users > [your account] > Library > Application Support > iWork > Pages > Templates > My Templates. There is no separation of user created templates by Pages version. Those I created with Pages 1 & 2 are in the same place where my Pages 3 templates are & are all available to me in Pages 3. The only problem with this would be if you decide to use a previous version of Pages, you won't be able to access templates created with a newer version.

  • How to access objects in the Child Form from Parent form.

    I have a requirement in which I have to first open a Child Form from a Parent Form. Then I want to access objects in the Child Form from Parent form. For example, I want to insert a record into a block present in Child Form by executing statements from a trigger present in Parent Form.
    I cannot use object groups since I cannot write code into Child Form to first create object groups into Child Form.
    I have tried to achieved it using the following (working of my testcase) :
    1) Created two new Forms TESTFORM1.fmb (parent) and TESTFORM2.fmb (child).
    2) Created a block named BLK1 manually in TESTFORM1.
    3) Created two items in BLK1:
    1.PJC1 which is a text item.
    2.OPEN which is a push button.
    4) Created a new block using data block wizard for a table EMPLOYEE_S1. Created items corresponding to all columns present in EMPLOYEE_S1 table.
    5) In WHEN-NEW-FORM-INSTANCE trigger of TESTFORM1 set the first navigation block to BLK1. In BLK1 first navigable item is PJC1.
    6) In WHEN-NEW-ITEM-INSTANCE of PJC1, code has been written to automatically execute the WHEN-BUTTON-PRESSED trigger for the "Open" button.
    7) In WHEN-BUTTON-PRESSED trigger of OPEN item, TESTFORM2 is opened using the following statement :
    open_form(‘TESTFORM2',no_activate,no_session,SHARE_LIBRARY_DATA);
    Since its NO_ACTIVATE, the code flows without giving handle to TESTFORM2.
    8) After invoking OPEN_FORM, a GO_FORM(‘TESTFORM2’) is now called to set the focus to TESTFORM2
    PROBLEM AT HAND
    ===============
    After Step 8, I notice that it passes the focus to TESTFORM2, and statements after go_form (in Parent Form trigger) doesnot executes.
    I need go_form with no_activate, similar to open_form.
    Edited by: harishgupt on Oct 12, 2008 11:32 PM

    isn't it easier to find a solution without a second form? If you have a second window, then you can navigate and code whatever you want.
    If you must use a second form, then you can handle this with WHEN-WINDOW-ACTIVATED and meta-data, which you have to store in global variables... ( I can give you hints if the one-form-solution is no option for you )

  • "a"+"b"+"c", how many String objects created?

    Hello everyone,
    String s = "a" + "b" +"c";
    How many String objects are created?
    I guess 5, is it right?
    regards

    > How many String objects are created?
    >
    I guess 5, is it right?
    Nope. Just one.

  • How to identify objects created by registering xml schema

    Hi Everyone,
    We are using Oracle 9i Rel2. I have registered an XML schema and I saw that there were several objects created for it table ,some types and a trigger . For some build purposes I want to exclude all of these objects which are associated with xml schema and should be able to drop and recreate the whole of oracle schema.
    I see the user_types table does not have any parameter to indicate that these are autogenerated or are different. In user_types they look like any other type that a user would have created. Do any of you know how to differentiate these types created by registering XML schemas from the normal types.
    Thanks for your help

    There is no way I know of to differentiate between a type created by Schema Registration and another Type. You can query the XML Schema itslef to get the Typenames it relies on.
    SQL> --
    SQL> SQL> select nvl(extractvalue
    2 (
    3 value(ct),
    4 '/xs:complexType/@name',
    5 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    6 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    7 ),'Local Complex Type') COMPLEX_TYPE,
    8 extractvalue
    9 (
    10 value(ct),
    11 '/xs:complexType/@xdb:SQLType',
    12 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    13 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    14 ) SQL_TYPE
    15 from user_xml_schemas,
    16 table
    17 (
    18 xmlsequence
    19 (
    20 extract
    21 (
    22 schema,
    23 '//xs:complexType',
    24 'xmlns:xs="http://www.w3.org/2001/XMLSchema"
    25 xmlns:xdb="http://xmlns.oracle.com/xdb"'
    26 )
    27 )
    28 ) ct
    29 /
    COMPLEX_TYPE
    SQL_TYPE
    PurchaseOrderType
    PURCHASEORDER_T
    LineItemsType
    LINEITEMS_T
    LineItemType
    LINEITEM_T
    COMPLEX_TYPE
    SQL_TYPE
    PartType
    PART_T
    ActionsType
    ACTIONS_T
    Local Complex Type
    ACTION_T
    COMPLEX_TYPE
    SQL_TYPE
    RejectionType
    REJECTION_T
    ShippingInstructionsType
    SHIPPING_INSTRUCTIONS_T
    Local Complex Type
    ROOT_T
    COMPLEX_TYPE
    SQL_TYPE
    Local Complex Type
    P222_T
    10 rows selected.
    SQL>

  • How to access the third party plugin

    i am new to javascript and InDesign.now my work is to access the Third Party plugin styles, the third Pary plugin is all about InMath.
    is it possible to access third party plugin through java prgramming.
    plz help me.....
    by
    subha

    Hello, I'm not a very accomplished JavaScripter, but have found that you can access some InMath at least in CS3. I only needed to be able to refresh the InMath styles from a script.
    If you run this script...
    app.menuActions.everyItem().name;
    it will return the names of all the available menu actions. The list is quite long, but it includes some of the InMath actions. At least the ones you can assign keyboard shortcuts to. In my case, I needed to refresh the InMath styles from a script. So I found the name of the InMath menu action that was returned from the above script (Refresh All InMath Expressions) and was able to make a script that refreshed the styles like this.
    app.menuActions.itemByName("Refresh All InMath Expressions").invoke();
    However, I'm trying to figure out how to do this in CS2 because my client is still using CS2 and can't find the CS2 version of menuActions.
    I think I read your other post about the find/change fillColor bug. I was stuck in the same place and now have it working thanks to the posted help. I was working on a script that would fix fractions based on their colors.
    Hope this helps.
    Andrea

  • How do they recommend creating a plugin or extending the capabilities of Flash Lite

    I have a potential new project to build a plugin for Flash
    Lite on Windows Mobile 5.
    Do you have an ideas or suggestions for creating a plugin or
    extending the capabilities of Flash Lite?
    Thanks in advance.
    Waiting for your reply.

    Hi,
    Take a look at the following projects:
    Python and Flash Lite -
    http://code.google.com/p/flyer/
    (i2 tecnologia)
    Java ME and Flash Lite -
    http://code.google.com/p/jarpa
    (i2 tecnologia)
    Symbian and Flash Lite -
    http://www.janus-flash.com/
    Symbian and Flash Lite -
    http://kunerilite.net/
    Regards,

  • How is an object created in a workflow ?

    Hello,
    When i create a task and assign an organizational business object to it along with a method. When the workflow is activated then it will call this method, but who will create the object and who will fill up the initial attributes of the object. As an example:
    if my organizational business object is called CAR, and it has an attribute caller COLOR, and a methif called get_Color. Then when i start my workflow, it will call the method get_color, but will it first create the CAR object ?
    -Can someone point out how the workflow works ?
    -Onemore question, do you know a good resource on how to create Organizational business objects
    thanks
    points are rewarded.
    Hassan

    It is not clear my your message if you want to create a new instance of an object (i.e. a new car) or if you want to create an instance of an existing car.
    If you want to create a new car, you need to see if there is a method CREATE for this object and if a task already exists for this method.  If no tasks exists, then you need to create one.
    My guess is that you want to create an instance of an existing car (i.e. you want car number 1234 and exectue method get_color).  You will use object SYSTEM, method GENERICINSTANTIATE to accomplish this.  The easiest way to do this is by using workflow wizards.  Under the workflow wizards "others" folder, select wizard "Include 'Create Object reference'".  It will create a background task that will create an object instance.  All you need to do is bind the object key to the task and you are all set.
    Mike

  • Problems accessing Objects created by JSF

    I have a JSF page:
    <h:form id="LoginForm">
              <tr><td><h:outputText value="#{msg.username}"/></td>
                   <td><h:inputText id="username" value="#{userBean.username}" validator="#{loginValidator.validateUsername}" required="true"/></td></tr>
              <tr><td><h:outputText value="#{msg.password}"/></td>
                   <td><h:inputSecret id="password" value="#{userBean.password}" validator="#{loginValidator.validatePassword}" required="true"/></td></tr>
              <tr><td><h:commandButton action="login" value="#{msg.signOn}"/></td>
                   <td><a href="registerAccount.jsf" class="header"><h:outputText value="#{msg.createAccount}"/></a></td></tr>
    </h:form>Which binds the entered data to my bean, but how do i access that very same bean in my validator? (i later want to update the data in the bean from a database call)
    my validator:
    public void validateUsername(FacesContext facesContext, UIComponent uIComponent, Object object) throws ValidatorException{
      System.out.println("Validate Username.");
      String username = (String)object;
      UserBean ub = (UserBean) uIComponent.getAttributes().get("userBean");
        if(ub == null)
         ub = (UserBean)FacesContext.getCurrentInstance().getExternalContext().getApplicationMap().get("userBean");
            if(ub == null)
              ub = (UserBean)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userBean");
      if(ub == null)
        System.out.println("userBean = null");Never seems to get the reference :(

    Thanks for trying to help!
    My JSF:
    <h:form id="LoginForm">
         <tr><td><h:outputText value="#{msg.username}"/></td>
              <td><h:inputText id="username" value="#{userBean.username}" validator="#{loginValidator.validateUsername}" required="true"/></td></tr>
         <tr><td><h:outputText value="#{msg.password}"/></td>
              <td><h:inputSecret id="password" value="#{userBean.password}" validator="#{loginValidator.validatePassword}" required="true"/></td></tr>
         <tr><td><h:commandButton action="login" value="#{msg.signOn}"/></td>
              <td><a href="registerAccount.jsf" class="header"><h:outputText value="#{msg.createAccount}"/></a></td></tr>
    </h:form>there I use it right? :S
    Then in my validator i try to access the bean and get a NullPointer.
    If you can plese help I have been struggeling with this for 10 hours now :(

  • How to access tools create or edit express vis in LV8.20 ?

    Hi All,
                 I am a LabVIEW professional working in LabVIEW 8.20. I would like to know how Express vis are working and I am going thro' the Express vi developement manual. I don't find the item "create or edit  express vis" from the Tools. How can I access it?
    Any information to explain how express vi's are working also invited.
    Thanks,
    Pandiarajan R

    hi,
    it is called "Express VI development" and it is located on the toolkit CD we got with our developer suite, so maybe it is part of that?
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to delete objects created in Integration repository(IR)

    Hi,
    I have created software componant in SLD and then imported that into IR.
    Now i want to delete all objects from SLD as well as IR.
    I have deleted theobjects from SLD but i am unable to delete the software componant objects from IR.
    Can anyone please let me know how we can delete objects from ID?
    Thanks,
    Chintan Soni.

    Hi,
    If you have imported from the SLD into IR you will see the Software Component and one level down you see one or more Software Component Versions.
    You can delete the Software Component Versions (one by one) and when you delete the last SWCV the Software Component will also be deleted.
    kr
    Robert

  • Can't access object created in the view from controller

    Hi
    In the view, I create a simple HTML control with a DIV tag.I need to access the DIV tag from the view.  The function this.getView().byId() returns nothing.
    view
    createContent : function(oController) {
                            var aControls = [];
                            var html = new sap.ui.core.HTML(
                                        content : "<div id='obj1' style='width: 300px; height: 200px;'></div>"
                            aControls.push(html);
                            return aControls;
    controller
    onInit: function() {
    this.getView().byId("obj1");
    Thanks.

    Hi Chen,
    The reason for this is the at
    this.getView().byId("obj1") would only work for XML views
    but for JS views
    sap.ui.getCore().byId('obj1') would work
    The difference between JS views and XML views is that the id's on DOM are different for JS view each control would get the same id as used in the definition but for XML views the id would get generated.
    Hope this helps.
    Thanks and Regards, Venkatesh

  • How to access or create a stage in a class file

    Hello Flash Actionscript writers,
    I have recently discovered that I cannot use the "stage" in a
    class file. I had a regular fla file that had actionscript
    in my "actions" layer. Of course, the fla has a stage object.
    I decided it might be nice to use the actionscript
    I wrote (copied, stole, etc) in as a class, so I could use it
    in different places, etc. I am still a neophyte in this area.
    My new class file consists of a button and a textfield. I
    created small classes for each of these items as an exercise for
    myself on creating a simple class, etc.
    I also have a URLLoader, and use an xmllist to do a sort of
    mini-slide show. The idea is to show a button and the textfield.
    When the user clicks the button the slide show starts. I would like
    to be able to center the images loaded on the stage, along with the
    buttons, etc. Right now I am cheating - since I decided the stage
    is 500 px wide, etc. I can use 500 - myButton.width, etc to center
    items. The fla where the class is called has a stage that wide,
    etc. The swf created from the class file WeeklySlideShow.swf is
    created from a fla with the DocumentClass set to my class
    WeeklySlideShow.as.
    I then have yet another fla file, and load my
    WeeklySlideShow.swf into that file, and play it, etc. But my
    buttons and images are not centered. Or should I just put my
    actionscript class back into the calling fla as an actions layer,
    thus having a stage where I can center everything. I probably have
    a flaw in the items in my class file and am really miss-using the
    class concept, etc.
    Any tips will help.
    Thanks,
    eholz1

    A little more text explaining where you get stuck might help (tell us which wires you can figure out, and which ones you can't).
    Anyway, if you never want this VI to give you a dialog, simply wire a FALSE constant to 'Advisory dialog?'.
    If you wire TRUE to it, or leave it unwired, LV will give you a dialog if you want to open a file (specified by 'file path') and it does NOT exist, or if you want to create/replace a file and it DOES exist.
    The file you actually want to open/create/replace is specified by the 'file path' input. If this is empty, LV will also show a dialog.
    I am not sure what happens if you leave the 'file path' empty, and wire FALSE to 'Advisory dialog?', but that's easy to test.
    In your case, to avoid a dialog always, make sure the 'file path' is
    never empty and the 'Advisory dialog?' is wired to a FALSE constant.

  • How to delete objects created with new

    Hello,
    I am having a problem creating a behavior or script to delete new sprites created in channels. I have a behavior script that creates new sprites using the following (simplified) script:
    First, a Beginsprite creates a gChannel_list and assigns a beginning gChannel value. pSprite is used to establish the sprite that in the mousedown is clickon.
    on Beginsprite me 
      gChannel_List =[]
      gChannel = 70
      pSprite = sprite(Spritenum)
    end
    In the mousedown the gChannel is incremented and the newly created channel is added to the gChannel_list.
    on Mousedown me
      gChannel = gChannel + 1
      theChannel = addat(gChannel_List,gChannel)
      themember = pSprite.member
      channel(gChannel).makeScriptedSprite(themember, point(80,160))
      sprite(gChannel).width = thememberW
      sprite(gChannel).height = thememberH
      sprite(gChannel).rotation = theMemberR
      sprite(gChannel).moveablesprite = 1
      sprite(gChannel).ink = 36
    etc
    After creation of several sprites based on the the gChannel, the following globals, for example, are returned.
    -- Global Variables --
    gChannel_List = [71,72,73,74]
    gChannel = 74
    My problem is that I am unable to delete these created gchannel sprites with a lingo command. Deleting them from the list, for example, using deletat(gChannel,1), does nothing to remove them from the stage (they do disappear from the list). And while I can display their attributes such as width [n=getat(gChannel_list, x); put sprite(n).width], nothing seems to relate to deleting these gchannel sprites.
    How is it done?
    Hope this is enough information. If not, please let me know. I can provide whatever you might need. Please help.
    Rod

    Sean,
    DUH! Didn't even know that a 'removeScriptedSprite()' command existed! Very logical. It works perfectly. Thanks again so very much.
    Rod

  • How to layer object created with as3

    I have cartoonish looking sun rays that rotate in the
    background. They are created and animated(rotated) with as3. My
    problem is that I now want to place a layer in front of this
    animation. Is it possible to assign the object to a layer so i can
    place other layers on top of it. The script is rather long, but i
    believe this is the pertinent part of it:
    ==============================
    SunGlow.addChild(sun);
    addChild(SunGlow);
    SunGlow.x=stage.stageWidth/2;
    SunGlow.y=stage.stageHeight/2;
    ========================================

    Then you could create an empty movie clip container, on
    stage, in the layer
    you want and then addChild on it...
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

Maybe you are looking for