 <p>Here's an example to add to the IDE's context menu - originally posted on the livecode forums. There's also an example stack you can download : <a href="http://forums.runrev.com/viewtopic.php?f=9&amp;t=18613" rel="nofollow">http://forums.runrev.com/viewtopic.php?f=9&amp;t=18613</a></p> <pre><code># catch the IDE's context menu message on revHookBuildObjectEditorContextMenu pMenuTarget, pMenuName, @pMenu, pModifiedMenu # custom menu item put "Custom Item" &amp; "-" &amp; LF before pMenu pass revHookBuildObjectEditorContextMenu end revHookBuildObjectEditorContextMenu # catch the IDE's message when an item is selected from the context menu function dispatchContextMenuPick pMenuName, pItem switch word 1 to -1 of pItem case "Custom Item" answer "Custom Item Selected" exit to top break end switch pass dispatchContextMenuPick end dispatchContextMenuPick </code></pre> <ul> <li><p>To get it to work, put the code above into a button then use;</p> <p>insert the script of button "MyFrontScript" into front</p></li> </ul>