Script Help

Hi, im trying to modify the "Aeiro Gmail notifier" and what i want to do is to make it so that when someone clicks on the link that takes you to your e-mail, an input box appears and asks you for a password a number anything that can be used to identify the user......any help would be greatly appreciated
1,741 views 4 replies
Reply #1 Top
Doesnt it already ask you for this information?
Reply #2 Top
no im sorry.,what i meant was to have a little more security...so my dream upgraded gmail widget is:

you open it for the first time it asks you for your user name and password and then shows how many mails you have no problem..then if i click on the "you have new gmails" asks me for a password (doesnt nessesarly have to be the gmail account one, but anything just to identify me)if i write it correctly it opens my e-mail.else tells me password is incorrect and NOT take me to my e-mail.........again thnx alot in advance
Reply #3 Top
Hypothetically, as long as you are signed into gmail, this widget works. It doesnt matter if you have a password or not, since 'intruders' can just go to gmail.com and they are already logged in. However, if you DO want to have that ability put into the widget, I can take a look for you and help you with the code.
Reply #4 Top
OK I understand what you want to do (I think!) ..Ok so you have new e-mails to look at so when you click the object to take you to your e-mail you need to first ask for a password.. Then!

Sub Object_OnLButtonUp(x,y,dragged) 'This is the object to take you to e-mail
Dim pw
pw = InputBox "Enter password"
If pw = "yourpassword" Then
'code to take you to e-mail
Else
msgbox "Wrong password"
End If
End Sub