Command click mouse

Hey I am trying to write a script that will click an area on the screen with the command key held down.

This doesn’t seem to hold down that the command key long enough to actually command click. Here is what I got




    repeat
    tell application "System Events"

    tell application "World of Warcraft" to activate

    tell application "Extra Suites"

    ES move mouse {519, 557} with relative
    ES click mouse with command

    end tell
    end tell




    delay (random number from 3 to 4)

    end repeat


This is sort of what I am after, but it doesn’t work.




    repeat
       tell application "System Events"
           
           tell application "World of Warcraft" to activate
           
           tell application "Extra Suites"
               
               ES move mouse {519, 557} with relative
               key down command
               ES click mouse
               key up command
               
           end tell
       end tell
       
       
       
       
       delay (random number from 3 to 4)
       
    end repeat


Thanks

Hi,

no offense, but you don’t get more responses opening a new thread with the same topic every day.

Are you sure, the coordinates are correct?
Extra Suites are PPC only, so maybe this could be the reason