Re: Advice on controlling web pages (JavaScript) from Applescript
Re: Advice on controlling web pages (JavaScript) from Applescript
- Subject: Re: Advice on controlling web pages (JavaScript) from Applescript
- From: Steve Thompson <email@hidden>
- Date: Tue, 04 Jan 2011 22:06:02 +0000
On 4 Jan 2011, at 19:15, gifford calenda wrote: tell application "System Events" tell application process "Safari" tell application "System Events" keystroke tab delay 0.5 keystroke tab delay 0.5 keystroke "username" delay 0.5 keystroke tab delay 0.5 keystroke "password" delay 0.5 keystroke return delay 4 end tell end tell end tell
Can be done a lot nicer like this:
tell application "Safari" make new document at end of documents delay 4 end tell
Steve |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden