Re: Internet Explorer Dialog Question
Re: Internet Explorer Dialog Question
- Subject: Re: Internet Explorer Dialog Question
- From: Graff <email@hidden>
- Date: Mon, 17 May 2004 00:59:22 -0400
I believe that you can bypass this entirely if you want to by using a
url of the form:
<
http://username:email@hidden.1.1/>
For Linksys routers the default would be:
<
http://:email@hidden.1.1/>
Since the default user is blank and the default password is "admin"
If you want to have a password dialog so that you don't keep a
cleartext password in your script you can always do:
----
tell application "Internet Explorer"
display dialog "Enter in your router password" default answer ""
buttons {"Cancel", "Setup Router"} default button "Setup Router"
set theReply to result
if button returned of theReply is "Setup Router" then
OpenURL "
http://:" & text returned of theReply & "@192.168.1.1/"
end if
end tell
----
- Ken
On May 16, 2004, at 11:59 PM, Brian Cox wrote:
I am trying to write a script to control my Linksys router via Internet
Explorer. I am able to launch Internet Explorer and open the URL to my
Linksys. However, once the URL is loaded, Internet Explorer pops up a
dialog
box asking for the password to the router. How do I identify the
window and
enter the password? Should I be trying to use keystroke? Thanks for any
advice.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.