Food for thought:
-
When posting code in the forum, please use Code Tags to make it more readable - here’s how:
Using code tags properly -
While getting an error, you can actually see on which Line the error happened. Check the
Console Window
(top menu: Window > General > Console) - the text is usually something like this: [XT:IM:EX] (LINE NUMBER, ANOTHER NUMBER).
Now, onto your issue: Those semicolons at the beginning of each line are wrong. Remove them and the script should work fine. Actually, forget that part.
.