I try to fill up a textfield but can't
activate application "****"
tell application "System Events"
tell process "****"
tell text field 1 of window 1
set value of text field 1 to "here is the text"
end tell
end tell
end tell
activate application "****"
tell application "System Events"
tell process "****"
set value of text field 1 of window 1 to "here is the text"
end tell
end tell
This works for me if you want to try.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With