General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion "On Insert"-Scripts do not work with selected content

  • spyro

    "On Insert"-Scripts do not work with selected content

    Participants 1
    Replies 2
    Last Activity 13 years ago

    Hello again,

    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 Jung

    Reply

    Derek Read

    Reply to: "On Insert"-Scripts do not work with selected content

    Please see this topic. I believe it addresses your question:

    http://forums.xmetal.com/index.php?topic=22.0

    Reply

    spyro

    Reply to: "On Insert"-Scripts do not work with selected content

    Thank you! Is there anything you don't know…? 😉

    Rupert Jung

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support