AutoHotkey Community

It is currently May 27th, 2012, 4:14 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Recording Mouse
PostPosted: February 18th, 2010, 12:51 am 
Offline

Joined: February 17th, 2010, 10:47 pm
Posts: 5
Hello everyone
I'm new here and I need some advice .....
I downloaded the programs to record mouse movements, the information I have been very useful, but one is missing that I need and that is not in the various programs I've used.
I need to know the script of the mouse when it is your hand, the exact definition is the "selection of links" I have recovered all the information of mouse "Left - Right - Click - Up - Down etc etc, but I miss that, you know the saying script this function?

I apologize for my bad English sorry .......:oops: .

Very nice


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2010, 1:46 am 
Offline

Joined: April 20th, 2009, 1:10 pm
Posts: 817
Location: North Dakota, USA
I'm not sure I understand exactly what you're looking for. Do you have a code you can post to start with?

_________________
-Jeremiah


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2010, 2:21 am 
Offline

Joined: February 17th, 2010, 10:47 pm
Posts: 5
Unfortunately the code is I who ask you why do not know eheheheh

I try to make me understand better:

when the mouse hovers over a link, the cirsone turns into a little hands, right?

I need script that is just what the code of "selection of links"

I hope I made myself understood, unfortunately they are not English and write it so bad :lol:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2010, 3:57 am 
Offline
User avatar

Joined: October 7th, 2006, 8:45 am
Posts: 3330
Location: Simi Valley, CA
The built-in variable "A_Cursor" holds a brief description of the currently visible mouse cursor (with limitations).

_________________
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: February 18th, 2010, 1:26 pm 
Offline

Joined: February 17th, 2010, 10:47 pm
Posts: 5
Hello
Thanks for info, I checked the description, but I was not very helpful, I managed to make this script:
Code:
Loop

{
SetMouseDelay, -1
Send, {ENTER}
Sleep, 100
}

return


but I have to click the mouse, what I need is an automatic thing when Curson becomes a hand pointing a link


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2010, 3:04 pm 
Offline

Joined: April 20th, 2009, 1:10 pm
Posts: 817
Location: North Dakota, USA
If you locate the exact coordanites where the mouse does change to a pointer finger, just use one of the two commands ...

http://www.autohotkey.com/docs/commands/Click.htm
http://www.autohotkey.com/docs/commands/MouseClick.htm

I, for one, like the MouseClick command because you can set the coordanites in the same line as opposed to moving the mouse first, then sending the Click command. But, that's just me. I'm sure other people have good reasons to do it another way. Hope this is what you're looking for.

_________________
-Jeremiah


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2010, 3:43 pm 
Offline

Joined: February 7th, 2008, 9:48 pm
Posts: 509
To test it out:

Code:
#persistent
SetTimer, alert,500
return


alert:
ToolTip, %A_Cursor%
if A_Cursor=Unknown ;hand is identified as unknown on my PC
{
click 2  ;will activate the link by doubleclicking
Sleep, 5000 ;to prevent multiple clicking
}
return

esc::
ExitApp


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 18th, 2010, 9:14 pm 
Thank you " YUME ", I've been really useful, this works.

A 'one thing: you can delete the visual search (Arrow - Unknow) having to record on video what I do, I can delete it, is it possible?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 19th, 2010, 8:44 am 
Offline

Joined: February 7th, 2008, 9:48 pm
Posts: 509
Code:
#persistent
SetTimer, alert,500
return


alert:

if A_Cursor=Unknown ;hand is identified as unknown on my PC
{
click 2  ;will activate the link by doubleclicking
Sleep, 5000 ;to prevent multiple clicking
}
return

esc::
ExitApp


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: rbrtryn and 66 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