Copy link to clipboard
Copied
I am upgrading help projects from RH9 to RH2015, and have come across some topics that include old script code in them. It's causing errors in IE. In its simplest form the code looks like this:
Is there an easy to clean this up? Something similar to Tools > Update DHTML, perhaps? If I have to, I'll write a script to clean this up, but most instances are not laid out quite this simply, so i was kind of hoping for a canned solution.
Suggestions welcome. Thanks.
G
As suggested, I also use scripts to fix this up. I normally get the contents of the token (token.name) and do a test: if(token.name.indexOf("x-on-pageload") != -1) to check whether the conditions are met. If you identify two or three keywords that are unique, you can quickly remove the content. - Just my two cents.
Copy link to clipboard
Copied
The only other solution that I can think of is something like Text Crawler.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
No out-of-the-box answer for me, then. Thanks, Peter.
G
Copy link to clipboard
Copied
As suggested, I also use scripts to fix this up. I normally get the contents of the token (token.name) and do a test: if(token.name.indexOf("x-on-pageload") != -1) to check whether the conditions are met. If you identify two or three keywords that are unique, you can quickly remove the content. - Just my two cents.
Copy link to clipboard
Copied
Thanks, Willam. That's more or less what I just did. Some of our help projects have some really...interesting...old artifacts in them.
Cheers,
G