General XMetaL Discussion
spyro June 9, 2009 at 5:50 pm
"On Insert"-Scripts do not work with selected contentJune 9, 2009 at 5:50 pmParticipants 1Replies 2Last Activity 13 years ago
For some elements I am calling VBScripts before inserting them into the document. I am using the “on Inser”-Property inside the CTM-configuration for that. Unfortunaly the “On Insert”-events fires only when no content is selected in the document (surround seems not to be supported).
My goal is to add the selected text as default value for an attribute of this element. As a workarround I simply added a extra button to get this to work. Is there any way to accomplish this another way?
Rupert JungDerek Read June 9, 2009 at 6:13 pm
Reply to: "On Insert"-Scripts do not work with selected contentJune 9, 2009 at 6:13 pm
- You must be logged in to reply to this topic.