Re: How to get display box reference from dynamically created display boxes
Aug 11, 2010 1:36 AM(1055 views)
Unfortunately it doesn't seem to be possible to run the script as posted, which often seems to happen when scripts contain one or more of the following four characters: "[", "]", "<" and ">", as this one does. To bypass the problem, try reposting it after doing the following:
(a) Copy the formatted script into any word processor;
(b) Run a global search-and-replace on each of those four characters, replacing each one by its HTML code, a list of which you can find for example at http://www.ascii.cl/htmlcodes.htm . That is:
Replace [ by & # 9 1 ; Replace ] by & # 9 3 ; Replace < by & # 6 0 ; Replace > by & # 6 2 ;
I've had to insert spaces in the codes in the lines above to prevent them from being transformed back again into ASCII characters in this post, but you should not include any spaces. Don't forget to include the semi-colons at the end of each one: the script will probably look very peculiar by this time, but persist anyway.
Once that's done, prefix the whole script with the following two lines:
(Just typing the above four lines here as I want them to appear has forced me to use HTML codes, which you'll be able to see if you try replying to this message using "Quote Original", but when following these instructions you should not use HTML codes here: just type what you can see above.)
(c) Finally, paste the script from the word processor back into the message box.
That should cause the script to display correctly with all its formatting. It's a bit of a pain, but it's the only way I know to get it right, unless anyone has any other suggestions.