Page 1 of 1

Email

Posted: Sun Oct 11, 2009 9:11 pm
by theghost
Hello
is there a possibility to open my email account (i'm at gmail) directly from the programm without having to fill my username and password ?

thankd

the ghost

Re: Email

Posted: Sun Oct 11, 2009 10:54 pm
by rsts
Extremely unlikely.

And I doubt that you'd want it any other way, or people would be hacking your account.

Or do you mean by having your program fill in the name and password for you?

cheers

Re: Email

Posted: Sun Oct 11, 2009 11:06 pm
by theghost
Or do you mean by having your program fill in the name and password for you?
yes

Re: Email

Posted: Mon Oct 12, 2009 3:02 pm
by theghost

Code: Select all

XIncludeFile "COMateplus.pbi"
Define explor1.COMateObject
explor1 = COMate_CreateObject("InternetExplorer.Application")
If explor1
explor1\Invoke("Navigate('www.gmail.com')")   
explor1\SetProperty("ToolBar = #true")
explor1\SetProperty("StatusBar = #true")
explor1\SetProperty("Visible = #True")
explor1\Release()
EndIf
i can do that but how make the program fill the username and password and go on to the next page

also how open the explorer in a big window

and last question how to open another web page in the same window

thanks

the ghost

Re: Email

Posted: Mon Oct 12, 2009 11:53 pm
by John Puccio
Ghost,

The nice thing about Gmail is that the focus is already set on UserName so you won't have to move the mouse. So then all you have to do is send your username then {TAB} then password, {TAB} again, and last {ENTER}. I think what you're looking for is in this thread.

http://www.purebasic.fr/english/viewtop ... =12&t=3766

Good Luck!
JP

P.S. I really thought this thread was about email. Just a tip, not a critisism. Try to be a little more specific when posting questions. It makes it easier for searches and also gets you a quicker response. :)