AutoHotkey Community

It is currently May 26th, 2012, 8:04 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
PostPosted: July 9th, 2009, 8:01 am 
Offline

Joined: November 10th, 2006, 5:10 am
Posts: 110
I am able to tab over to a button,
Is there a way to determine my screen co-ordinates when I have tabbed over enough ?

I want to use the click command
but all my monitors are different sizes !


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 8:29 am 
Not that I know of...I could be wrong though.
Why not just use then enter key, instead of clicking on it?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 8:36 am 
Offline

Joined: November 10th, 2006, 5:10 am
Posts: 110
It doesn't allow the [enter] key to activate it !


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 9:10 am 
http://www.autohotkey.com/forum/topic30599.html


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 9th, 2009, 9:13 am 
Online
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3329
Location: Simi Valley, CA
The space bar usually 'clicks' on a button if that button is focused (has that little border thingy).

_________________
Ternary (a ? b : c) guide     TSV Table Manipulation Library
Post code inside [code][/code] tags!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 1:02 am 
Offline

Joined: November 10th, 2006, 5:10 am
Posts: 110
Image

The button is selected but no keystroke will enact it.

Is there a way to get the screen co-ordinates of the selected button ?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 1:13 am 
Offline

Joined: March 24th, 2005, 11:50 am
Posts: 398
Location: germany
maybe you could use javaskript to push the button


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 1:23 am 
Offline

Joined: November 10th, 2006, 5:10 am
Posts: 110
That might work.
I used the IE developer Tool Explorer Bar to figure out some things about this button.

name: imgSubmit
onclick: javascript:frmBasicSubmit(9045453,'Username')
src ht tps://w ww.thelab.com/images0/Submit_button_white_2003.gif

I want to simulate that onclick event !


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 2:57 am 
Offline

Joined: November 10th, 2006, 5:10 am
Posts: 110
I guess what I need is a one line JS code to accomplish this.

I am reading this but it's not helping me.

:(

http://www.hscripts.com/tutorials/javas ... events.php


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 6:52 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
ctrl + m submits forms on web pages also

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 13th, 2009, 7:20 am 
Offline
User avatar

Joined: May 24th, 2009, 5:35 am
Posts: 2099
Location: Iowa, USA
drmurdoch wrote:
onclick: javascript:frmBasicSubmit(9045453,'Username') ... I want to simulate that onclick event !

You can do that by feeding that javascript through the URL Address bar. See this


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, Retro Gamer, StepO, wolverineks, Yahoo [Bot] and 68 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