I found the reason for this error. Arrrgh!
I had to set within System Preferences > Universal Access 'Enable access for assistive devices' to true.
Nevertheless many thanks!
-Hans
On 6 Dec 2006, at 16:57, Hans-Joerg Bibiko wrote:
Many thank,
but if I try to execute this as bash using osascript or with Script Editor I always get the error message:
195:228: execution error: System Events got an error: NSReceiverEvaluationScriptError: 4 (1)
TM will be activated but no further actions.
??