Create context menu in Adobe Indesign - adobe-indesign

Hi I am using Adobe Indesign. I need to create custom context menu and add script exceution for it. Is there any way to add context menu with or without Javascript

Related

ckeditor custom context menu is not visible in read only mode

I created a custom context menu item with custom group as a plugin in ckeditor. The created menu item is visible in the editor during edit mode (readonly = false) but during read only mode the menu item is not visible.
Am I missing something as part of configuration?
Thanks in advance !

MFC form designer

According to my understanding if I need design MFC form with button I have only one possibility - write everything in code editor. There is no designer. Except cases when I need design dialog form. I can use designer and generate resources for dialogs. But in case normal Frame there is possibility to drop buttons in designer window. Is that truth?
If you want to use a form as a main window, create your project with a CFormView as a base class. You can select that inside the new project wizard. Then you get a dialog resource for that view. It works just like a dialog.
Go to Resource view
Create a new dialog template
Double click the dialog template name
Once the dialog opens, the toolbox get enabled
You can drag&drop the controls to the form now

How to find object model of an OSX application?

Is there any reference documentation on the object model of every OSX application? How can I know that finder has an home attribute and textedit has a document attribute?
Is there a way to inspect all commands and events I can use with applescript ?
You can drop the application onto (Apple)Script Editor to view the dictionary. With appscript you can also generate HTML format documentation.
If you're already in AppleScript Editor, you can also select File>Open Dictionary (Cmd-Shift-O) to see a open an application's dictionary. Script Debugger has an additional feature where it will organize running applications near the top of a submenu for ease of selection.

How to modify context menu in CKEditor?

Does anyone know how to modify the CKEditor right-click contex menu?
I am trying to figure out how to remove "Cut, Copy, Paste, Edit DIV" from the right-click menu, and trying to add "Insert Image, Insert Table" to it.
Version 3.6.1 has support in their API for removing context menu items.
#7885 : New editor::removeMenuItem API for removing plugin context menu items introduced.

Adding controls to a Property Sheet at runtime (without Dialog Templates)

As far as I can see, the way you normally create Property Sheets in Win32 (I am using the API, not MFC) programming is you have a bunch of dialog templates for each tab page, and you make the property sheet out of them. I have read about creating Dialog Templates 'in memory' but I would prefer not to do it this way. How do you add controls to a Property Sheet programatically at runtime, just like you can create a BUTTON and add it to a Window at runtime?
I suggest that you create a blank template and link that to your app. You can then create the property sheet with CreatePropertySheetPage and then add and remove controls to that property sheet as you please.
If you absolutely have to use a template built on the fly in memory, and you can't bring yourself to link a resource to your app, then you need the DLGTEMPLATE structure.

Resources