AutoHotkey Community

It is currently May 27th, 2012, 10:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: October 15th, 2007, 5:27 pm 
Offline

Joined: October 15th, 2007, 5:09 pm
Posts: 11
First off, I'm completely new to AutoHotkey, but so far I love it!
I don't quite understand macros yet, but I think that is what I'm looking for. I want to be able to use a hotkey or a macro to automatically log me on to websites, such as yahoo mail and gmail. I would really like to learn how to do this. Any help would be much appreciated.

Thanks in advance.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2007, 6:32 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
http://www.autohotkey.com/forum/viewtopic.php?t=23316
http://www.autohotkey.com/forum/viewtopic.php?t=21737
http://www.autohotkey.com/forum/viewtopic.php?t=14801

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject: auto-login using maxthon
PostPosted: October 15th, 2007, 9:49 pm 
Offline

Joined: October 15th, 2007, 5:09 pm
Posts: 11
engunneer: thanks for the links. I've been playing around with it all for a while and I still can't seem to figure out how to get it to work. I use Maxthon as my web browser, which might be why?

this is code I am currently working with...
Code:
#G::
Run, iexplore.exe http://www.gmail.com, , Max
WinWaitActive, Welcome to Gmail - Windows Internet Explorer
StatusBarWait, Done, , , Welcome to Gmail - Windows Internet Explorer
Send, Username{Tab}Password{Enter}
Return


I replaced "Run, iexplore.exe" with the path to my Maxthon installation. I also replaced "Username" and "Password" appropriately. I can get it to open up Maxthon and get to www.gmail.com, but for some reason I cannot get it to enter the username and password?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2007, 11:59 pm 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
you need to adjust the titles in StatusBarWait and WinWaitActive. you can instead put a long sleep, to allow the page to load, say 5000

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 16th, 2007, 12:30 am 
Offline

Joined: October 15th, 2007, 5:09 pm
Posts: 11
how do I figure out what to adjust the titles to on the StatusBarWait and WinWaitActive lines?

Quote:
you can instead put a long sleep, to allow the page to load, say 5000


the gmail page loads up perfectly fine, but I can't get the username and password to automatically get put in their appropriate fields? the weird thing is, when I have the path on my IE installatoin, everything works fine. but I want to get it to work with maxthon, my preferred browser.

I am new to all this, so I appreciate all of your help.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 16th, 2007, 3:11 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8667
Location: Salem, MA
the WinWaitActive command looks for a title of a window (read the help file)

I expect maxthon's title is not "Welcome to Gmail - Windows Internet Explorer"

you must change the title in this command to match whatever maxthon's actual title is, or look up settitlematchmode.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 16th, 2007, 6:56 pm 
Offline

Joined: October 15th, 2007, 5:09 pm
Posts: 11
holy moly it worked! thanks, you're a genius... or I'm just an idiot (no offense, I don't mean to discredit your expertise).

I appreciate your help.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 13th, 2009, 2:03 pm 
@engunneer you are jst gr8tttttttttttttttttttttttttttttttttttt man


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, chaosad, robotkoer, Yahoo [Bot] and 75 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group