Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mvpscm

macrumors newbie
Original poster
Nov 11, 2015
1
0
I would like to automate web page with apple script.

web site IP 125.16.9.142.

i would like to click online sand booking, then location , then qty in form ,then my mobile number ,email id , purpose of sand and last vehicle number then i want to click register button ,

how to proceed please do the needful at the earliest.


I written small script as below i want improve it with your help.

tell application "Safari"

activate

open location "http://125.16.9.142/TSSandPortal/Order/CustomerOrders.aspx"

end tell

tell application "Safari"

repeat until ((do JavaScript "document.readyState" in document 1) = "complete")

delay 1

end repeat

end tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.