What is shown in the dialog if you run this script? If it isn’t 1.2 or greater, that’s the problem.
tell application "System Events" to version
display dialog result
Download System Events version 1.2 from Apple. Note that this is beta software which was made available to Jaguar users before Panther was released. Panther users should NOT install this software.