if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
"On Insert"-Scripts do not work with selected content
Pages:
1
« previous
next »
Print
Author
Topic: "On Insert"-Scripts do not work with selected content (Read 1767 times)
spyro
Member
Posts: 35
"On Insert"-Scripts do not work with selected content
«
on:
June 09, 2009, 11:50:20 AM »
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
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1548
Re: "On Insert"-Scripts do not work with selected content
«
Reply #1 on:
June 09, 2009, 12:13:42 PM »
Please see this topic. I believe it addresses your question:
http://forums.xmetal.com/index.php?topic=22.0
Logged
spyro
Member
Posts: 35
Re: "On Insert"-Scripts do not work with selected content
«
Reply #2 on:
June 15, 2009, 09:49:57 AM »
Thank you! Is there anything you don't know...? ;)
Rupert Jung
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...