Du hast ein paar Toolbar-Buttons mehr als ich…

Nächster Versuch, wieder den System Events block durch

Show Plain Text
  1. tell application "System Events"
  2.   tell process "Safari"
  3.     try
  4.       set theGroup to 1st group of toolbar 1 of group 1 of window 1 whose class of text field 1 is text field
  5.       set textValue to value of text field 1 of theGroup
  6.     on error
  7.       set theGroup to 1st group of toolbar 1 of window 1 whose class of text field 1 is text field
  8.       set textValue to value of text field 1 of theGroup
  9.     end try
  10.   end tell
  11. end tell


ersetzen
----------
Gruss

Stefan