@JimmyHartington, I changed your script block to use the forum syntax for script blocks:
How to Put Code in a Forum Code Block
Just insert your script between the lines with the triple backquotes:

To get syntax highlighting, then use the keyword in lower case for that language, like:
applescript
javascript
html
Here is a macro that will paste the script on the clipboard into the forum in the proper format: