How to load ".pln" plugin in indesign

Hi everyone,
     I have created a plugin using DollyXs " DollyTest.pln " and copied the plugin with its supporting files in the Adobe indesin plugin directory.
But when I launch the indesign it gives the error- " Adobe Indesign cannot load the DollyTest plugin ". I have attached the screenshot of the error dialog. Anyone please tell me how to run the plugin that I have created.
Thanks,
Ranjan Singh

Change target to 'release' in vs/xcode. Its not error!

Similar Messages

  • How to load a plugin from another plugin?

    Hi,
    I'm trying to load a plugin, which is not located in the plugin-paths of After Effects from another plugin. It seems to load the aex(dll) and execute the main function fine, but afterwards it crashes immediately and I have no idea why.
    This is how my pluginLoader-PlugIn looks like:
    1. I created a commandHook to be able to trigger the pluginLoad from the Edit Menu
    2. for the actual load of the dll I use the following commands:
              AEGP_SuiteHandler    suites(basic_suite);
            std::string dllName = "C:/PATH/TO/plugin.aex";
            // defining type and order of the arguments of the entry function
            typedef A_Err (*args_type)(SPBasicSuite *pica_basicP, A_long major_versionL, A_long minor_versionL, A_long aegp_plugin_id, AEGP_GlobalRefcon *global_refconP);
            args_type pluginEntryMethod = NULL;
            // loading the dll(aex) and the entry function
            # ifdef _WIN32
            HMODULE hDLL = LoadLibrary(dllName.c_str());
            if (hDLL != NULL)
                pluginEntryMethod = (args_type) GetProcAddress(hDLL, "EntryPointFunc");
            else
                return err;
            # else
            void *pLib = ::dlopen(szMyLib, RTLD_LAZY);
            if (pLib != NULL) {
                pluginEntryMethod = (args_type)::dlsym(pLib, "EntryPointFunc");
            else
                return err;
            # endif
            if (pluginEntryMethod != NULL)
                // hardcoding the plugin version
                A_long mavL = 0L;
                A_long mivL = 1L;
                AEGP_PluginID plId;
                // to get a valid plugin-id I use this command
                suites.UtilitySuite3()->AEGP_RegisterWithAEGP(*globalRefcon, "nameOfPlugin", &plId);
                // I create copy of the refcon and the suite
                AEGP_GlobalRefcon newRefcon(*globalRefcon);
                SPBasicSuite newSuite(*basic_suite);
                pluginEntryMethod(&newSuite, mavL, mivL, plId, &newRefcon);
            # ifdef _WIN32
                FreeLibrary(hDLL);
            # else
                dlclose(pLib);
            # endif
    If I run After Effects with the debugger, the EntryFunction of the new plugin runs through without errors. But Then it crashes and stops at random positions: sometimes in the IdleHook of the newly loaded Plugin, sometimes in the MenuHook.
    Does anyone have an idea, what I am doing wrong?
    btw: when I copy the second plugin in the default Afx-Plugin-Folder it loads fine and seems to work correct.
    Thanks for your help!
    Martin

    Okay, unfortunately it had nothing to do with static or dynamic linking of the dependencies.
    I was able to boil it down to the following problem but I'm still stuck on how to solve the situation:
    The problem has to do with an invalid AEGP_GlobalRefcon of the Plugin I load:
    the plugin loader:
    // the load of the inner plugin..
    AEGP_GlobalRefcon newRefcon; // generating a new refcon
    suites.UtilitySuite5()->AEGP_RegisterWithAEGP(newRefcon, pluginName.c_str(), &plId); // gathering a plugin id
    pluginEntryMethod(basic_suite, mavL, mivL, plId, &newRefcon) // calling the entry function
    the loaded plugin:
    A_Err EntryPointFunc(
        struct SPBasicSuite        *pica_basicP,
        A_long                     major_versionL,
        A_long                    minor_versionL,
        AEGP_PluginID            aegp_plugin_id,
        AEGP_GlobalRefcon        *global_refconP)
        *global_refconP = (AEGP_GlobalRefcon) new CustomClass(pica_basicP, aegp_plugin_id); // this is where the refcon gets invalid
        return err;
    To gather a valid plugin id, I register the plugin and assign a new AEGP_GlobalRefcon to it, which is for instance at address 0x0001234abcd (plugin-loader line 3)
    then I call the entry function(plugin-loader line 4) and the entry function creates a custom class and stores a pointer to its instance in the global_refconP pointer, which changes the address from 0x0001234abcd to 0x0a010b020c3d4.
    The crash happens later, when a hook (eg IdleHook) is called, which tries to reinterpret the refconPV-pointer of the plugin (address 0x0001234abcd) to a CustomClass-instance, because the actual instance is stored at 0x0a010b020c3d4.
    I reckon, that I can fix this if I either can change the global refcon of the plugin after the enty function has run or if I can get a valid plugin id before calling the entry function and doing the registration with the new refcon I got returned by the entry function of the loaded plugin.
    Does anyone know how to achieve one of these two goals?

  • [JS:CS4] - How to Load the PrinterPreset in InDesign

    Dear All,
    I'm having the Printer Presets ".prst" in some where in the local machine, How to Load this preset in to Application though javascript.
    I can create the preset through :   preset.add() method. but I can't load from the user given or mentioned path itself.
    Please any one give me the solutions, then I will appreciate....
    Thanks & Regards
    T.R.Harihara Sudhan

    Please find the following code, which will remove all the print presets before adding our preset to the application.
        //Removing all printerPresets from the application
        for(var pP=0; pP < app.printerPresets.length; pP++)
            var myprintPreset = app.printerPresets.item(pP);
            if (String(app.printerPresets.item(pP).name) != '[Default]')
                myprintPreset.remove();
        //Adding our preset to the application
        var printPreset;
        printPreset=File("c:/test.prst");
        app.importFile(1918071916, printPreset);
        myprintPreset=app.printerPresets.lastItem();
        myprintPreset.printFile = File(aDoc.filePath+'/'+String(aDoc.name).substr(0, (String(aDoc.name).length-5))+'.ps');
        aDoc.print(false, myprintPreset);
    Arivu

  • Every time I start up Firefox, it checks for plugin updates. All my plugins are up to date, but it continues to load the plugin site. How do I make it stop?

    Starting on Fri. 6/10/11, every time I start up Firefox 3.6.17, it loads the plugin update site. Initially, it said my Adobe reader plugin was out of date. Therefore I updated that plugin, yet that did not fix the problem. So I was finally forced to disable the plugin. After doing this, the plugin updates check still runs every time I start FF. However, they all come back up to date.
    So my question is how do you make this plugin update check stop running. I had made no changes to firefox prior to this.

    There's a fault with the blocklist.xml file which was updated on Friday, it should be fixed on Monday and you should get the updated file on Monday or Tuesday.

  • How to run a Plugin, without opening Adobe indesign

    Hi,
    Does anyone know how to run a plugin as a service or something like that...
    What i want to do is,
        I have written a plugin that can read texts from indd files & save them as .txt files.
    now i want to put indd files in to a folder & once a new file comes to the folder, read that new file automatically  and save as txt.
    for that I want to run the plugin, without opening the indd file.
    I hope CS6 SDK support to do that.
    Please let me know if anyone has any idea...
    Thanks.

    Hi Menan,
    Thank you very much for your reply...
    I'll explain you what my requirement is,
    My final goal is to run the Indesign application(including my plugin) in a server &  put all indd files in to a location(ex.folder) &
    once an indd file comes to that folder it'll be automatically read by Indesign application & save the extracted data in a separate location(ex.another folder) as tex files. then human interaction is not needed...
    My precsent problem is,
           Can I read an indd file, without opening indd file in Indesign application (may be giving a path to a indd files included folder or some way like that).
    Currently,
      first i open the Indesign Application -> Open the indd file(intended to be read) -> Run my plugin.
    Now I Get the document with,
    IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();
    But what I want is,
    while the Indesign application is running on a PC, if an indd file comes to a given location(folder) it to be read automaticaly without opening my pluging.
    To do that My idea is,
      * Any time when the Indesign apllication is opend my plugin should automatically start running,
    * once a new file comes to a given location(folder) plugin shoud be automatically triggered & read the file.
    Please help me with your ideas..
    Thanks.

  • How can I install the Amazon Kindle plugin for InDesign in InDesign CC?

    How can I install the Amazon Kindle plugin for InDesign in InDesign CC? I have it installed in InDesign CS6 and it works fine.

    Amazon has not updated the Kindle plugin for Indesign CC.

  • How to Create Plugin for InDesign?

    Hi,
    I am working with InDesign Scripting very well and now I want to start working with plugin for InDesign CS3 because of the limitation of the Scripting. But I have no idea, how to start and where to start creating Plugin for InDesgn CS3.
    I am using Windows OS
    Can someone tel me clearly how and where to start Creating Plugin and suggest me any plugin editor for Win OS. You can also suggest me at [email protected]
    Someone pls guide me.......
    Thank You.

    Hi, Praveen
    Thanks for your reply,
    I am going to look for  "programming-guide.pdf" and then take further steps to plugin.
    But can you tell me what are the resources that can be created by Eclipse 3.2.2 and why we use two Editors (VC++ Editor and Eclipse 3.2.2) here.
    Thanks,
    Vivek

  • I downloaded PS CC 2014 and I don't know how to find and load my plugins, OnOne and Nik

    Where do I find and load my plugins?

    You will need to reinstall these.  It may be necessary to get new versions and/or pay for an upgrade to get versions that are compatible with PSCC 2014.  I can use the Nik Collection in 2014 but would have to pay to upgrade OnOne and chose not to.  You may have different versions, so don't assume this is applicable to you.

  • How to enable the widgets in Indesign CC..?

    Hi,
    I am working on porting our Indesign CS6 plugin to Indesign CC plugin.I have completed the porting and the plugins has opened in Indesign CC,but i have one problem in design. Three of our Widgets has not opened in Indesign CC.
    The code is the following,
    .fr file
    resource SampleDialogWidget (kSDKDefDialogResourceID + index_enUS)
              __FILE__, __LINE__,
              kSampleDialogWidgetID,                    // WidgetID
              kPMRsrcID_None,                                        // RsrcID
              kBindNone,                                                  // Binding
              0, 0, 700,400,                                        // Frame (l,t,r,b)
              kTrue, kTrue,                                        // Visible, Enabled
              kSampleDialogTitleKey,                    // Dialog name
              //<FREDDYWIDGETDEFLISTUS>
    SamplePrefListBox
                                  SamplePreflistboxWidgetID,
                                  kSysOwnerDrawListBoxPMRsrcId,                                                            // WidgetId, RsrcId
                                  kBindAll,                                                                                                              // Frame binding
                                  Frame(15,15,170,360)                                                                                // Frame
                                  kTrue, kTrue,                                                                                                    // Visible, Enabled
                                  1,0,                                                                                                                        // List dimensions
                                  19,                                                                                                                                  // Cell height
                                  1,                                                                                                                                  // Border width
                                  kFalse,kTrue,                                                                                                    // Has scroll bar (h,v)
                                  kTrue,                                                                                                                        // Multiselection
                                  kTrue,                                                                                                                        // List items can be reordered
                                  kTrue,                                                                                                                        // Draggable to new/delete buttons
                                  kTrue,                                                                                                                        // Drag/Dropable to other windows
                                  kTrue,                                                                                                                        // An item always has to be selected
                                  kFalse,                                                                                                                        // Don't notify on reselect
                                  kSamplePrefListElementRsrcID                                                                      // Fill list box with widgets with this ID (default is 0)
                                            CellPanelWidget
                                                      kCellPanelWidgetID, kPMRsrcID_None,                              // WidgetId, RsrcId
                                                      kBindAll,                                                                                          // Frame binding
                                                      Frame(-1,1,154,340)                    // Frame
                                                      kTrue, kTrue                                                                                // Visible, Enabled
                                                                // ----- This is the CPanelControlData that holds the widgets
                                                                //                     that are items in the list box. They are not persistent
                        GenericPanelWithBorderWidget
                    SamplePrefGeneralTabWidgetID, kPMRsrcID_None,
                                  kBindBottom |kBindRight,
                                  Frame(175,10,695,360)                    // Frame
                                  kTrue, kTrue,
                        StaticTextWidget
                                  kInvalidWidgetID,                                                                                // WidgetId (default=0)
                                  kSysStaticTextPMRsrcId,                    // RsrcId
                                  kBindNone,                                                            // Frame binding
                                  10, 15, 138, 35,                                                  // Frame: left, top, right, bottom.
                                  kTrue, kTrue,                                                  // Visible, Enabled
                                  kAlignLeft, kEllipsizeEnd,kTrue,                    // Alignment, ellipsize style
                                  kSamplePrefProjectPathStringKey,                    // Initial text.
                                  kSamplePrefProjectPathTextEditBoxWidgetID          // No associated widget
                        // TextEditBox Widget resource
                        TextEditBoxWidget
                        kSamplePrefProjectPathTextEditBoxWidgetID, // WidgetId
                        kSysEditBoxPMRsrcId, // RsrcId
                        kBindNone, // Frame binding
                        Frame(140, 15, 420, 35), // Frame (l,t,r,b)
                        kTrue, kTrue // Visible, Enabled
                        0, // Widget id of nudge button (0 so we dont get one)
                        0, 0,// small,large nudge amount
                        0, // max num chars(0 = no limit)
                        kFalse,// is read only
                        kFalse,// should notify each key stroke
                        kFalse,// range checking enabled
                        kFalse,// blank entry allowed
                        0, // Upper bounds
                        0, // Lower bounds
                        "", // Initial text
                        ButtonWidget
                                  kSampleChooseProjectButtonWidgetID,
                                  kSysButtonPMRsrcId,
                                  kBindNone,
                                  430, 15, 500, 35,
                                  kTrue, kTrue,
                                  kSampleChooseBtnStringKey,
    GenericPanelWithBorderWidget
                                  SamplePrefFittingTabWidgetID, kPMRsrcID_None,
                                  kBindBottom |kBindRight,
                                  Frame(175,10,695,360)                    // Frame
                                  kTrue, kTrue,
                                  StaticTextWidget
                                                      kInvalidWidgetID,                    // WidgetId
                                                      kSysStaticTextPMRsrcId,                    // RsrcId
                                                      kBindNone,                              // Frame binding
                                                      Frame( 10,15,300,35  ),          // Frame (l,t,r,b)
                                                      kTrue, kTrue, kAlignLeft,          // Visible, Enabled, Alignment
                                                      kDontEllipsize,kTrue,                              //**new element in InDesign 2.0: don't add any ellipses
                                                      "Drag/Drop Operation",                     // Text
                                                      0// WidgetId for associated control for shortcut focus
                                            SeparatorWidget
                                                      0,
                                                      kPMRsrcID_None,
                                                      kBindNone,
                                                      Frame(10,37,450,38),
                                                      kTrue,kTrue,
                                            StaticTextWidget
                                                      0,                    // WidgetId
                                                      kSysStaticTextPMRsrcId,                    // RsrcId
                                                      kBindNone,                              // Frame binding
                                                      Frame( 10, 40, 250, 60  ),          // Frame (l,t,r,b)
                                                      kTrue, kTrue, kAlignLeft,          // Visible, Enabled, Alignment
                                                      kDontEllipsize,kTrue,                              //**new element in InDesign 2.0: don't add any ellipses
                                                      kSampleTextOptionsTextKey,                     // Text
                                                      0                    // WidgetId for associated control for shortcut focus
                                            CheckBoxWidget
                                                      kSampleTextFitCheckBoxWidgetID,                    // WidgetId
                                                      kSysCheckBoxPMRsrcId,                              // RsrcId
                                                      kBindNone,
                                                      Frame(150, 40, 350, 60) //  left, top, right, bottom
                                                      kTrue,                                                                      // Visible
                                                      kTrue,                                                                      // Enabled
                                                      kAlignLeft,                                                            // Alignment
                                                      kSampleTextFitChkBoxTextKey                    // Initial text
    GenericPanelWithBorderWidget
                                  SamplePrefScriptEventsTabWidgetID, kPMRsrcID_None,
                                  kBindBottom |kBindRight,
                                  Frame(175,10,695,360)                    // Frame
                                  kTrue, kTrue,
                                            StaticTextWidget
                                                      0,                                                                                // WidgetId (default=0)
                                                      kSysStaticTextPMRsrcId,                    // RsrcId
                                                      kBindNone,                                                            // Frame binding
                                                      10, 10, 200, 30,                                                  // Frame: left, top, right, bottom.
                                                      kTrue, kTrue,                                                  // Visible, Enabled
                                                      kAlignLeft, kEllipsizeEnd,kTrue,                    // Alignment, ellipsize style
                                                      kSampleDropDownEventsTextKey,                    // Initial text.
                                                      0                    // No associated widget
    SamplePrefListBox
                                                       SamplePrefDragDropScriptlistboxWidgetID, kSysOwnerDrawListBoxPMRsrcId,          // WidgetId, RsrcId
                                                      kBindAll,                                                                                                              // Frame binding
                                                      Frame(10, 35, 200, 120)                                                                                          // Frame
                                                      kTrue, kTrue,                                                                                                    // Visible, Enabled
                                                      1,0,                                                                                                                        // List dimensions
                                                      19,                                                                                                                                   // Cell height
                                                      1,                                                                                                                                   // Border width
                                                      kFalse,kTrue,                                                                                                    // Has scroll bar (h,v)
                                                      kTrue,                                                                                                                         // Multiselection
                                                      kTrue,                                                                                                                         // List items can be reordered
                                                      kTrue,                                                                                                                         // Draggable to new/delete buttons
                                                      kFalse,                                                                                                                         // Drag/Dropable to other windows
                                                      kTrue,                                                                                                                         // An item always has to be selected
                                                      kFalse,                                                                                                                         // Don't notify on reselect
                                                      k SamplePrefListElementRsrcID                                                                      // Fill list box with widgets with this ID (default is 0)
                                                                CellPanelWidget
                                                                          kCellPanelWidgetID, kPMRsrcID_None,                              // WidgetId, RsrcId
                                                                          kBindAll,                                                                                          // Frame binding
                                                                          Frame(-1,1,187,243)                    // Frame
                                                                          kTrue, kTrue                                                                                // Visible, Enabled
                                                                                    // ----- This is the CPanelControlData that holds the widgets
                                                                                    //                     that are items in the list box. They are not persistent
                                            ButtonWidget
      SamplePrefDragDropScriptAddBtnWidgetID,
                                            kSysButtonPMRsrcId,
                                            kBindNone,
                                            20, 125, 90, 145,
                                            kTrue, kTrue,
                                            kSampleAddScriptButtonTextKey,
                                            ButtonWidget
      SamplePrefDragDropScriptRemoveBtnWidgetID,
                                            kSysButtonPMRsrcId,
                                            kBindNone,
                                            100, 125, 180, 145,
                                            kTrue, kTrue,
                                            kSampleRemoveScriptButtonTextKey,
    Elements added:
    void SampleDialogController::PopulatePrefListElement()
    do
                        InterfacePtr<IPanelControlData> iPanelControlData(this, UseDefaultIID());
                        ASSERT(iPanelControlData);
                        if(!iPanelControlData) {CAlert::InformationAlert("IPanelControlData err");break;}
                        SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, SamplePreflistboxWidgetID, kSampletDialogWidgetID);
                        IControlView * listBox = listHelper.FindCurrentListBox();
                        if(listBox == nil) {
                        CAlert::InformationAlert("listBox err");
                        break;
                        listHelper.EmptyCurrentListBox();
                        InterfacePtr<IListBoxController> listCntl(listBox,IID_ILISTBOXCONTROLLER);          // useDefaultIID() not defined for this interface
                        ASSERT_MSG(listCntl != nil, "listCntl nil");
                        if(listCntl == nil) {
                        CAlert::InformationAlert("IListBoxController err");
                        break;
                        //Addin the string to the listbox
                        const int targetDisplayWidgetId =SamplePrefOptionTextWidgetID;
                        listHelper.AddElement("General", targetDisplayWidgetId);
                        listHelper.AddElement("Fitting", targetDisplayWidgetId);
                          listHelper.AddElement("Events and Scripts", targetDisplayWidgetId);
                        listCntl->DeselectAll();
    }while(0);
    I dont know how to enable these three widgets in Indesign CC.please refer this code and help me if anyone has idea regarding this problem.
    Thanks in advance,
    Vimala L

    Hi,
    As per ur suggestion,i have done the below changes
    .fr file:
    type SamplePrefListBox
    (kViewRsrcType) : StdListBoxWidgetN
    (ClassID =  kStdListBoxWidgetNewBoss)
    Class
                        kSamplePrefListBoxWidgetBoss,
                         kStdListBoxWidgetNewBoss,
                                  IID_IOBSERVER,kSamplePrefListBoxObserverImpl,
    resource SampleDialogWidget (kSDKDefDialogResourceID + index_enUS)
              __FILE__, __LINE__,
              kSampleDialogWidgetID,                    // WidgetID
              kPMRsrcID_None,                                        // RsrcID
              kBindNone,                                                  // Binding
              0, 0, 700,400,                                        // Frame (l,t,r,b)
              kTrue, kTrue,                                        // Visible, Enabled
      kSampleDialogTitleKey,                    // Dialog name
              //<FREDDYWIDGETDEFLISTUS>
                        SamplePrefListBox
      SamplePreflistboxWidgetID,
                                  kSysOwnerDrawListBoxPMRsrcId,                                                            // WidgetId, RsrcId
                                  kBindAll,                                                                                                               // Frame binding
                                  Frame(15,15,170,360)                                                                                 // Frame
                                  kTrue, kTrue,                                                                                                     // Visible, Enabled
                                  kTrue,                                                                                                                         //Erase before draw
                                  kInterfacePaletteFill,                                                                                 //Interface color
                                  1,0,                                                                                                                         // List dimensions
                                  19,                                                                                                                                   // Cell height
                                  1,                                                                                                                                   // Border width
                                  kFalse,kTrue,                                                                                                     // Has scroll bar (h,v)
                                  kTrue,                                                                                                                         // Multiselection
                                  kTrue,                                                                                                                         // List items can be reordered
                                  kTrue,                                                                                                                         // Draggable to new/delete buttons
                                  kTrue,                                                                                                                         // Drag/Dropable to other windows
                                  kTrue,                                                                                                                         // An item always has to be selected
                                  kFalse,                                                                                                                         // Don't notify on reselect
                                  0,
                                  0,
                                  kFalse,                                                                                                                         // Display root node
                                  kFalse,                                                                                                                         //  Use Horizontal scroll bar
                                  kTrue,                                                                                                                         //  Use vertical scroll bar
                                  19,                                                                                                                                   //  Vertical scroll button increment
                                  1,                                                                                                                                   //  Vertical thumb scroll increment
                                  0,                                                                                                                                   //  Horizontal scroll button increment
                                  0,                                                                                                                                   // Horizontal thumb scroll increment
                                  1,                                                                                                                                   //  Items selectable 1 = Single selection
                                  kFalse,                                                                                                                         //  Allow children from multibler parents to be selected
                                  kTrue //,                                                                                                               //  Allow discontiguous selection
    I got error...,error R32745: # Error: Expected ')'
    SamplePrefListBoxObserver file:
    void SamplePrefListBoxObserver::AutoAttach()
              InterfacePtr<ISubject> subject(this, UseDefaultIID());
              if (subject != nil)
                        subject->AttachObserver(this, IID_ILISTCONTROLDATA);
    void SamplePrefListBoxObserver::AutoDetach()
              InterfacePtr<ISubject> subject(this, UseDefaultIID());
              if (subject != nil)
                        subject->DetachObserver(this, IID_ILISTCONTROLDATA);
    void SamplePrefListBoxObserver::Update(const ClassID& theChange,ISubject* theSubject,const PMIID &protocol,void* changedBy)
    do {
                                  InterfacePtr<IPanelControlData> iPanelControlData(this, UseDefaultIID());
                                  if(!iPanelControlData)
                                  {CAlert::InformationAlert("iPanelControlData err");break;}
                                  InterfacePtr<IWidgetParent> iWidgetParent(this, UseDefaultIID());
                                  ASSERT(iWidgetParent);
                                  if(!iWidgetParent)
                                  {CAlert::InformationAlert("iWidgetParent err");break;}
                                  InterfacePtr<IPanelControlData>          iPanelControlDataDialog(
                                  (IPanelControlData*)iWidgetParent->QueryParentFor(IID_IPANELCONTROLDATA) );
                                  if(!iPanelControlDataDialog)
                                  {CAlert::InformationAlert("iPanelControlDataDialog err");break;}
                                  InterfacePtr<IControlView> view(theSubject, UseDefaultIID()) ;
                                  if (view == nil)
                                  {CAlert::InformationAlert("Can't find the panel control view");break;}
                                  if (view->GetWidgetID() != SamplePreflistboxWidgetID)
                                            if(view->GetWidgetID() == SamplePrefDragDropScriptlistboxWidgetID)
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefUpdateScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefImportScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefAutoFlowScriptlistboxWidgetID);
                                            else if(view->GetWidgetID() == SamplePrefUpdateScriptlistboxWidgetID)
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefDragDropScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefImportScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefAutoFlowScriptlistboxWidgetID);
                                            else if(view->GetWidgetID() == SamplePrefImportScriptlistboxWidgetID)
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefDragDropScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefUpdateScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefAutoFlowScriptlistboxWidgetID);
                                            else if(view->GetWidgetID() == SamplePrefAutoFlowScriptlistboxWidgetID)
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefDragDropScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefUpdateScriptlistboxWidgetID);
                                                      this->DeSelectList(iPanelControlDataDialog,SamplePrefImportScriptlistboxWidgetID);
                                  if ((protocol == IID_ILISTCONTROLDATA) && (theChange == kListSelectionChangedByUserMessage) )
                                                      if (view->GetWidgetID() ==SamplePreflistboxWidgetID)
                                                                IControlView* generaltab = iPanelControlDataDialog->FindWidget(SamplePrefGeneralTabWidgetID);
                                                                if(!generaltab)
                                                                {CAlert::InformationAlert("generaltab err");break;}
                                                                IControlView* fittingTab = iPanelControlDataDialog->FindWidget(SamplePrefFittingTabWidgetID);
                                                                if(!fittingTab)
                                                                {CAlert::InformationAlert("fittingTab err");break;}
                                                                IControlView* scriptEventTab = iPanelControlDataDialog->FindWidget(SamplePrefScriptEventsTabWidgetID);
                                                                SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, SamplePreflistboxWidgetID, kSampleDialogWidgetID);
                                                                IControlView * listBox = listHelper.FindCurrentListBox();
                                                                if(listBox == nil){CAlert::InformationAlert("listBox err");break;}
                                                                InterfacePtr<IListBoxController> listCntl(listBox,IID_ILISTBOXCONTROLLER);
                                                                if(listCntl == nil) {break;}
                                                                int32 Selindex = listCntl->GetSelected();
                                                                if(Selindex!=-1){
                                                                InterfacePtr<IPanelControlData> panelControlData1(listBox, UseDefaultIID());
                                                                if(!panelControlData1) {break;}
                                                                IControlView* cellPanelview = panelControlData1->FindWidget(kCellPanelWidgetID);
                                                                InterfacePtr<IPanelControlData> panelControlData2(cellPanelview, UseDefaultIID());
                                                                if(!panelControlData2) {break;}
                                                                IControlView* cellView = panelControlData2->GetWidget(Selindex);
                                                                InterfacePtr<IPanelControlData> panelControlData3(cellView, UseDefaultIID());
                                                                if(!panelControlData2) {break;}
                                                                IControlView* textView = panelControlData3->FindWidget(SamplePrefOptionTextWidgetID);
                                                                InterfacePtr<ITextControlData> cellText (textView, UseDefaultIID());
                                                                PMString selectedItem = cellText->GetString();
                                                                if(selectedItem=="General")
                                                                          generaltab->ShowView();
                                                                          fittingTab->HideView();
                                                                          scriptEventTab->HideView();
                                                                else if(selectedItem=="Fitting Options")
                                                                          generaltab->HideView();
                                                                          fittingTab->ShowView();
                                                                          scriptEventTab->HideView();
                                                                else if(selectedItem=="Events and Scripts")
                                                                          generaltab->HideView();
                                                                          fittingTab->HideView();
                                                                          scriptEventTab->ShowView();
              } while(0);
    void SamplePrefListBoxObserver::DeSelectList(IPanelControlData* iPanelControlData,WidgetID listBoxWidgetID)
    do
                        SDKListBoxHelper listHelper(iPanelControlData,kSamplePluginID, listBoxWidgetID, kSamplePanelWidgetID);
                        IControlView * listBox = listHelper.FindCurrentListBox();
                        if(listBox == nil) {
                        CAlert::InformationAlert("listBox err");
                        break;
                        InterfacePtr<IListBoxController> listCntl(listBox,IID_ILISTBOXCONTROLLER);          // useDefaultIID() not defined for this interface
                        ASSERT_MSG(listCntl != nil, "listCntl nil");
                        if(listCntl == nil) {
                        CAlert::InformationAlert("IListBoxController err");
                        break;
                        listCntl->DeselectAll(kTrue,kFalse);
    }while(0);
    please refer the above code and help me to develop the plugin.
    We have used the SDKListBoxHelper file in our plugin.If it works in Indesign CC?
    Thanks,
    Vimala L

  • CS5.5 / Mac Release: Can't load my plugin

    Hi
    I take my XCode project for CS5 and changed the settings for CS5.5 (SDK CS5.5, directories, and so on). After different changes, I can compile and link my plugin (debug and release version) without some errors. The debug version is loaded in Indesign CS5.5 debug, but the release doesn't. There is a message like "The plugin use Indesign Version 7.0 and can't be loaded".
    I copied the plugin manually in the Plug-Ins folder.
    Any ideas?
    Thanks a lot
    Hans

    Hans,
    This problem could occur if your project setting for release target points to CS5 SDK. Try checking out your project settings for release target.
    Just my 2 Cents
    Manan Joshi
    - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • How to use turntablist plugin?

    Hi all,
    Sorry if this is a really dumb question, I'm pretty new to Logic Pro 9 and am loving it so far!!
    Currently playing around with plugins, and was looking for something that can give you some scratch effects. Had a look through previous discussions and found DestroyFX's Turntablist. Sounded like it was worth a shot so downloaded the AU. It is recognised in the AU manager and validated ok, but I can't for the life of me figure out how to load it!!
    I'm aware that it is not a plugin as such, but is a software instrument from previous discussions, but I can't find out how to assign it to a track as it doesn't appear in my library on the right hand panel?
    Any help would be much appreciated.
    Alternatively any other suggestions for plug ins would also be appreciated (I'm also well aware that the best way to get scratch effects is to actually do it yourself on a turntable if you know what you are doing (which I don't) or get a DJ to record some samples for you (which I don't really need to do!).
    Thanks

    Somewhere on the gui there is a "load" button. You have to load the sample that you want to use into the plugin. Then you have to turn it on and sent a MIDI note to it for it to play the sample. Then you can automate things like turning off the turntabe and having the sound slow down, etc. Have fun....

  • How to use jquery plugin jResponsive, please help!!

    Hello,
    Can someone show me how to integrate JResponsive plugin into Edge Animate with an example?
    Here is the link to Jresponsive website:
    Jresponsive
    Thank you.

    In compositionReady i inputed code:
    var container_id = sym.getSymbol("container_id")
    var content = [];
    content[0] = '<div class="_1"></div>';
    content[1] = '<div class="_2"></div>';
    content[2] = '<div class="_3"></div>';
    content[3] = '<div class="_4"></div>';
    content[4] = '<div class="_5"></div>';
    content[5] = '<div class="_6"></div>';
    content[6] = '<div class="_7"></div>';
    content[7] = '<div class="_8"></div>';
    content[8] = '<div class="_9"></div>';
    content[9] = '<div class="_10"></div>';
    content[10] = '<div class="_11"></div>';
    content[11] = '<div class="_12"></div>';
    yepnope(
    nope:[
    'js/jquery-2.1.1.min.js',
    'js/jresponsive.js',
    complete: init
    //when yepnope has loaded everything execute init();
    function init (){
    //initialise your variables and Edge comp here
    $("#container_id").jresponsive({
        transormation: 'animation',
        min_size: 100,
        max_size: 250,
        height:250,
        hspace:10,
        vspace:10,
        class_name: 'item',
        content_array: content
    and nothing happens. Can someone show me how to correct things in the code above?
    I am using EA 2014.1.1.
    I attached the example for you to open and see:
    Dropbox - jresponsive.rar

  • ANSWER: HOW TO DETECT Java Plugin from JavaScript

    I created a new topic because the questions about
    how to detect Java Plugin in browsers are scattered
    thoughout this forum.
    Basically you need to employ two approaches for IE and NS.
    In IE you need to try to instantiate a small applet
    (not your production applet) in order to see if browser
    can do it. if the browser can do it, you can make a
    call applet from JavaScript in order to find version of
    JRE (as well as a host of other things).
    In NS you can write a simple JavaScript which will
    interrogate the browser for all plugins installed. Then
    ypu can make a desicion whether to pass execution to
    the next(or generated) page which hosts your applet,
    or ask the user to download/install a plugin.
    I ecourage everybody to host a plugin on your site
    rather leave default link to it which is generated by
    html converter.
    In order to run sample,
    Prerequisites:
    Java Plugin 1.3.
    If you have a different version of plugin,
    substitute hardcoded plugin version in JavaScript for
    value that you have.
    1. compile java file
    2. put class file in the same directory with html file
    3. load html file into the browser.
    4. press "Check Java Plugin.." button
    5. see it work
    6. examine code
    7. uninstall plugin
    8. repeat steps 1 - 4
    9. see it work
    10. install plugin.
    Sample code follows:
    **********************HTML FILE BEGIN***********
    <HTML>
    <HEAD>
    <!-- Generated by Kawa IDE -->
    <TITLE>Detect Java Runtime</TITLE>
    </HEAD>
    <SCRIPT LANGUAGE="JavaScript">
    var browsername;
    function doNetscape()
    for (i=0; i < navigator.plugins.length; i++)
    for (j = 0; j < navigator.plugins.length; j++)
    if(navigator.plugins[i][j].type == "application/x-java-applet;version=1.3")
    alert("You are running Netscape with Java Plugin 1.3.0 - OK");
    return;
    alert("You are running Netscape\nPlease, install Java Runtime Environment 1.3.0");
    function doMicrosoft()
    var applet = document.myApplet;
    if(applet == null)
    alert("You are running Microsoft Browser.\nPlease, install Java Runtime Environment 1.3.0");
    return;
    var version = applet.getJavaVersion();
    if(version == "1.3.0")
    alert("You are running IE, Java Plugin 1.3.0 installed - OK");
    else
    alert("You are running IE, other plugin installed - mybe OK if later that 1.3.0\nYour version: " + version);
    function getJava()
    var applet = document.myApplet;
    if(applet == null)
    alert("Please, install Java Runtime Environment");
    return;
         alert("JRE Version: " + document.myApplet.getJavaVersion());
    function checkJavaPlugin()
         browsername = navigator.appName;
         if(browsername.indexOf("Netscape")!= -1)
              browsername="NS";
              doNetscape();
         else
              if(browsername.indexOf("Microsoft")!=-1)
                   browsername="MSIE";
                   doMicrosoft();
              else
                   browsername="N/A";
                   alert("Unknown browser: " + browsername);
    </SCRIPT>
    <body>
    <Strong>Check Java Plugin</strong>
    <OBJECT id="myApplet" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
         WIDTH = 1
         HEIGHT = 1 >
         <PARAM NAME = CODE VALUE = "DetectPluginApplet.class" >
         <PARAM NAME="scriptable" VALUE="true" >
         <embed type="application/x-java-applet;version=1.3"
              code = DetectPluginApplet width = 2 height = 2 MAYSCRIPT = "true" >
         </embed>
         </EMBED>
    </object>
    <FORM>
         <INPUT TYPE="button" value="Get Plugin Version in IE" onClick="getJava()">
         <INPUT TYPE="button" value="Check Java Plugin in NS and IE" onClick="javascript:checkJavaPlugin()">
    </FORM>
    </BODY>
    </HTML>
    **********************HTML FILE END***********
    ***************APPLET FILE BEGIN***********
    import java.awt.*;
    public class DetectPluginApplet extends java.applet.Applet
         public void init()
              add(new Label("DetectPluginApplet"));
    public String getJavaVersion()
    return System.getProperty("java.version");
    **************APPLLET FILE END************

    Try following java script, it works on new browsers (NS 4+, IE5+). For IE you have to enable 'ActiveX objects creation' in security options.
    var agt=navigator.userAgent.toLowerCase();
    var is_major = parseInt(navigator.appVersion);
    var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
    && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
    && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav4up = (is_nav && (is_major >= 4));
    var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    var is_ie5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.0")!=-1) );
    var is_ie5_5 = (is_ie && (is_major == 4) && (agt.indexOf("msie 5.5") !=-1));
    var is_ie6 = (is_ie && (is_major == 4) && (agt.indexOf("msie 6.0") !=-1));
    var is_ie5up = (is_ie && (is_major == 4)
    && ( (agt.indexOf("msie 5.0")!=-1)
    || (agt.indexOf("msie 5.5")!=-1)
    || (agt.indexOf("msie 6.0")!=-1) ) );
    var pluginDetected = false;
    var activeXDisabled = false;
    // we can check for plugin existence only when browser is 'is_ie5up' or 'is_nav4up'
    if(is_nav4up) {
    // Refresh 'navigator.plugins' to get newly installed plugins.
    // Use 'navigator.plugins.refresh(false)' to refresh plugins
    // without refreshing open documents (browser windows)
    if(navigator.plugins) {
    navigator.plugins.refresh(false);
    // check for Java plugin in installed plugins
    if(navigator.mimeTypes) {
    for (i=0; i < navigator.mimeTypes.length; i++) {
    if( (navigator.mimeTypes[ i].type != null)
    && (navigator.mimeTypes[ i].type.indexOf(
    "application/x-java-applet;jpi-version=1.3") != -1) ) {
    pluginDetected = true;
    break;
    } else if (is_ie5up) {
    var javaVersion;
    var shell;
    try {
    // Create WSH(WindowsScriptHost) shell, available on Windows only
    shell = new ActiveXObject("WScript.Shell");
    if (shell != null) {
    // Read JRE version from Window Registry
    try {
    javaVersion = shell.regRead("HKEY_LOCAL_MACHINE\\Software\\JavaSoft\\Java Runtime Environment\\CurrentVersion");
    } catch(e) {
    // handle exceptions raised by 'shell.regRead(...)' here
    // so that the outer try-catch block would receive only
    // exceptions raised by 'shell = new ActiveXObject(...)'
    } catch(e) {
    // Creating ActiveX controls thru script is disabled
    // in InternetExplorer security options
    // To enable it:
    // a. Go to the 'Tools --> Internet Options' menu
    // b. Select the 'Security' tab
    // c. Select zone (Internet/Intranet)
    // d. Click the 'Custom Level..' button which will display the
    // 'Security Settings' window.
    // e. Enable the option 'Initialize and script ActiveX controls
    // not marked as safe'
    activeXDisabled = true;
    // Check whether we got required (1.3+) Java Plugin
    if ( (javaVersion != null) && (javaVersion.indexOf("1.3") != -1) ) {
    pluginDetected = true;
    if (pluginDetected) {
    // show applet page
    } else if (confirm("Java Plugin 1.3+ not found, Do you want to download it?")) {
    // show install page
    } else {
    // show error page
    }

  • How to Refer dll in my InDesign Plug-In Project ???

    Hi All,
    I have a xxx.dll and xxx.lib.
    b I kept xxx.dll in indesign.exe path. and
    b xxx.lib in "C:\Program Files\Adobe\Adobe InDesign CS3 Products SDK\build\win\objd"
    I set the reference for xxx.lib in
    b project->properties->common properties->References
    and in
    b project->properties->cofiguration->Linker->Input->Additional Dependecies
    I am not able Refer this dll from my Plug-In project and access its methods.
    Where i am wrong?? or I need to do some additional coding for this..
    how to call or Refer this xxx.dll??
    Thanks

    Hi sunil,
    First u need to go through indesign SDK documents.First go throgh
    plugins.pdf to create a basic plugin.this document is available in
    path
    Adobe InDesign CS3 Products SDK\docs\guides
    here u can learn how to create basic plugin using dollyX.go through the steps described u will create ur first plugin.
    then u can refer
    user-interface.pdf and programming guide.pdf for further devlopement.
    ALL the best.

  • Have a membership Adobe says I have a free membership , trying to re-load and/or update INDesign CC - Keeps Asking for serial

    I Have had a paid membership for over a year, Adobe says I have a free membership , I have PAS and AI installed and updated - When trying to re-load and/or update INDesign CC - Keeps saying my trial is over and is asking for serial number. I have uninstalled Indesign and the Creative Cloud desktop App.
    Running on a PC, Windows 7 Professional
    Any suggestions.

    I cannot tell you how to resolve this, but I can tell you what happened to me since I made the mistake of buying a year's membership.
    Like you, I noticed that despite paying the fee and it leaving my account, I still only had access to the trial versions of the apps. I read around and some people commented that it took some time for the billing team and other teams to co-ordinate information at busy times (though it seemed odd a company of Adobe's size would have this workflow) and as I could still make do with the trial apps, I waited.
    Eventually, with the trial days going down to the low digits, I contacted Adobe "customer support" to ask how I could rectify the problem. They cheerfully told me that I had not purchased a subscription from them, that I was not on their records and with this the implication that my expectation was foolish as I didn't own their product. I supplied some bank information to show I had paid and they had taken money, but I just got the same poorly worded response telling me records had been checked and there was no way I had been charged. The issue was closed and it was clear to me I could not change their mind despite having evidence that clearly indicated Adobe had charged me the exact payment for the service I was asking about.
    As some weeks had gone by I resolved to contact my bank, but the birth of my Daughter in late October meant I forgot to do so. My mistake, I know, but I think understandable. I noticed that in late November another charge was taken from my account (and I checked to see if I could access the apps but I was still being asked to provide a serial number I was never given (or needed if other people are correct on this). I contacted my Bank and asked them to prevent any more charges and also to begin the process of charging back the money for a service I never received. I sent them the correspondence I had with Adobe, in which they said I had never purchased the service, as well as copies of my account to go with the data they had access to. My money was refunded before Christmas, which I was very glad to see. I thought that it would be the end of it for a while and resolved to cancel. However under my account details it still shows I only have a free membership! I cannot cancel something I do not have!
    I have now received a letter from my bank indicating Adobe have contested my charge back, and they have supplied documents that show I have signed up for and paid for the year's service. There is no indication of them acknowledging that despite the fact I never denied signing up, they failed to provide the service I paid for! Just that they want the money back!
    So now I am in a situation where I cannot cancel and will continue to be charged for something that I still cannot access! I will continue to see if I can fight with the aid of my bank, but its a rather distressing that a company can  hold you over a barrel for something you never got, even by their own admission.
    I hope that you get a better resolution than I did.

Maybe you are looking for

  • I need to MERGE a same named user account from one mac to another.

    I am  a neophyte in the Mac World, seeking to move al of my son's material from hid old MacBook to a MacBook Pro that has a fresh install of Snow Leopard. I set up his user account on the MacBook Pro during the installation process. The user account

  • Error while running program FAGL_DR_PROVISION

    HI Experts, Need Your help regarding below error while posting Bad debt reserve through program FAGL_DR_PROVISION. 704 Tax code in procedure TAXSG is invalid Message no. BL001 Regards Chandra

  • IPhone sleep/wake button not working!

    The sleep/wake button on my iPhone stopped working for no apparent reason. I cannot lock the phone, decline calls, or turn the phone off! I have installed the new update but the problem did not start immediately after. What happend and what do i do??

  • Hardware Requirement for Recording System Audio

    Hi all. I want to record the system audio using Captivate, but that function in my PC is disabled. I read all previous topic regarding this problem and wonder what's the minimum requirement for sound card or any related hardware to accomplish that ne

  • OWB repository not working after SID changed ?

    Hi, We have an OWB repository in a database named TEST. Recently the SID has been changed from TEST to TEST_2, and now the control center fails. Do I need to recreate the repository in the database after SID change, or could I just do some reconfigur