Hey Yvan,
I tried out your script with each of the click methods and had as far as I can see the exact same results. I only changed the error message to the English variant.
I ran mine from both Script Debugger and from FastScripts (with a hotkey).
--
Best Regards,
Chris
______________________________________________________________________
tell application "System Events" to tell (first process whose frontmost is true)
tell first window
keystroke "p" using {command down}
repeat
delay 0.1
if exists sheet 1 then exit repeat
end repeat
tell sheet 1
set {x, y} to get position of first menu button as list
# click at {x, y} # (1) fails
--> 10.9.1 : Error Number -1700; System Events got an error: Can’t make {450, 451} into type list.
click first menu button # works well
# tell first menu button to perform action "AXPress" # works well
# tell me to do shell script "/usr/local/bin/cliclick c:" & x & "," & y # works well
# tell application "ASObjC Runner" to click button once at {x, y} # works well
end tell
end tell
# click at {x, y} # (2) Fails
--> 10.9.1 : Error Number -1700; System Events got an error: Can’t make {450, 451} into type list.
end tell