Hey Guys.
I am trying to simulate a mouse click on a button called "Working Time". I wrote the following applescript, but it is not working properly. I am getting the following error.
Syntax Error
Expected end of line, etc. but found identifier.
Any ideas what is wrong? Is it my applescript or the javascript itself that is the problem?
I am trying to simulate a mouse click on a button called "Working Time". I wrote the following applescript, but it is not working properly. I am getting the following error.
Syntax Error
Expected end of line, etc. but found identifier.
Any ideas what is wrong? Is it my applescript or the javascript itself that is the problem?
Code:
tell application "Safari"
activate
do JavaScript "this.Response.Redirect("WebForm1.aspx?__EVENTTARGE T=Working Time")"
end tell