[SysEvent] International PrefPane/Input Tab /Klayout checkbox clicking error
[SysEvent] International PrefPane/Input Tab /Klayout checkbox clicking error
- Subject: [SysEvent] International PrefPane/Input Tab /Klayout checkbox clicking error
- From: Mátyás Ferenc Farkas <email@hidden>
- Date: Thu, 08 May 2003 09:50:47 +0200
Greetings!
I live in Hungary, so pls excuse me for language/grammar errors. I
discovered the following problem with AppleScript GUI scripting software. At
the home page I found example script one of them clicks the check boxes of
the finder preference dialog, it works perfectly. I wrote a script, which
opens the System Preferences/International pane/Input menu tab, and I wanted
to check and uncheck a checkbox of an installed keyboard layout. Here is the
script:
tell application "System Preferences" to activate
tell application "System Events"
tell process "System Preferences"
click menu item "International" of menu "View" of menu bar 1
delay 1
click radio button 5 of tab group 1 of window "International"
click check box 1 of row 4 of table 1 of scroll area 1 of tab group 1 of
window "International"
end tell
end tell
Becouse it is in the beta developing state I think I found a bug in the
System Event application, which controls the ui elements. If I booted up
recently and the script runned immidiately, it opens the tab, but do not
checks anything. If I click a check box manually at the finder, and run the
script it checks the button I clicked before no matter what the script has
to do. Of course if I check the button, which the scipt has to check, it
works. But it is not the case of a reality. So what would be a solution? I
duscussed the following problem at
http://forums.osxfaq.com/viewtopic.php?p=23413
Where different users reported the same bug. I hope I helped at the beta
testing.
Bye!
Matyas Ferenc Farkas
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.