AutoHotkey Community

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

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: November 20th, 2009, 11:07 pm 
Offline

Joined: November 20th, 2009, 10:58 pm
Posts: 4
Hi experts!

Could you pls help - I am new to this...

I am trying to create a hotkey that will enter the username and password for my office database. Since the system keeps logging out after every 5 mins of idle time, I want to create a hotkey to type the username and password every time I sign in.

This is the website for the database where I need to enter my username and password: http://gmsp.org/

I have tried using coordinates, and tabs, but since the coordinates vary across monitors.. I am thinking 'image search' might be the better way to go.

Any suggestions, or, scripts for image search and entering the username/password?

Thanks in advance for you time and assistance!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 20th, 2009, 11:25 pm 
Offline

Joined: February 17th, 2008, 7:09 am
Posts: 536
Seems like the solution is more likely in a COM and Javascript writing rather than AHK.

TrimString wrote:
For pure browser automation, consider using the open source iMacros for Firefox addon: https://addons.mozilla.org/en-US/firefox/addon/3863

There is also a version for Chrome. While promising, it is still too basic to get any real work done: http://www.iopus.com/imacros/chrome/


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 23rd, 2009, 9:26 am 
Offline

Joined: November 9th, 2009, 3:09 pm
Posts: 258
@ I have tried using coordinates, and tabs, but since the coordinates vary across monitors.. I am thinking 'image search' might be the better way to go.

use Coordmode,Mouse,Relative in order to get clicks accprding to your open active window


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 23rd, 2009, 5:24 pm 
Offline

Joined: November 9th, 2009, 3:09 pm
Posts: 258
the other thing you can do is depending upon your OS you can make a autologin via Registry and in the startup place the .ahk script which will automatically start once ur pc starts up after log on

and i think your .ahk script should include something like:-


Run www.gmsp.org
winwaitactive ::. The Gates................
Coordmode,Mouse,Relative
Mouseclick,left,xcoordinates,ycoordinates
send {Enter}

try out and if any further problem do post it with the code[code][/code]


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: bobbysoon, iDrug, Ohnitiel, Yahoo [Bot] and 20 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