Hey.
So I have an apple script question,
How do I get Apple Script to click somewhere in safari via source code of a page?
I'm trying to get Apple script to tell safari to click a button.
This is pretty much what I'm trying to do:
Any ideas?
So I have an apple script question,
How do I get Apple Script to click somewhere in safari via source code of a page?
I'm trying to get Apple script to tell safari to click a button.
This is pretty much what I'm trying to do:
Code:
tell application "Safari"
activate
do JavaScript "window.open('http://www.WebPageHere.com')" in document 1
end tell
tell application "System Events"
tell process "Safari"
--Whatever Goes Here To Make Safari Click On The Button
end tell
end tell