Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AppleScript fill out textfield

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
like image 920
Kevin Avatar asked Oct 20 '25 12:10

Kevin


1 Answers

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.

like image 108
Raj Kumar Avatar answered Oct 23 '25 09:10

Raj Kumar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!