News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Macro in Stencil, revisited

Started by devpods, March 19, 2012, 05:46:29 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

devpods

Hey guys,

I know this topic has been touched on in numerous threads, and having read them all, there are still a few things stumping me.

I have a project which I have implemented within a stencil. I'd like to open  the main Form in my project. To do this, I *must* do a drop event or a double click event right? Which means, to open my form from the stencil, I DO need to drop a shape on the Drawing. I'd like to know if there is a way to avoid doing this. I know I can do this by going into Macros>>>Stencil>>>ModuleName, but I'm dispatching this stencil to workmates who wouldn't like to do this, and since I can't add a keyboard shortcut because the Stencil is not in the ActiveDocument, I'm stumped.

I read in one of the other threads about someone mentioning that a shape can be deleted upon drop, how is this possible? Or a better alternative, which I read was making a custom menu. This seems ideal, but I have no knowledge as to how to go about creating this. Could someone please help me with this? I'm thinking creating a menu within the DocumentAdded routine in ThisDocument?

Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 125 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1064KB.
Tokens: post-login.
Cache hits: 12: 0.00110s for 26,766 bytes (show)
Cache misses: 1: (show)
Queries used: 15.

[Show Queries]