mouse click in .vbs

Questions about programming languages and debugging
Post Reply
User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

mouse click in .vbs

Post by l0ngb1t »

i need .vbs code that simulate mouse keys
in another way it send a right click click and a code for the left click
any helppp plzzzz
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

User avatar
leetnigga
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 447
Joined: 28 Jul 2009, 16:00
14

Post by leetnigga »

I don't think it's possible to control the mouse pointer with VBS.

It would be a better idea to tell us what you're trying to achieve. We could try and help you automate the clicking of a mouse, but this is hardly ever the optimal solution to a problem. Tell us about the problem itself.

User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

Post by l0ngb1t »

nothing important there's an app on facebook where u click on a button and they count ur click number, it's about how many click u can do in 60 second, right and left click can be used
i did such thing where u have to type from a to z... it worked with .vbs
now am trying to do it with the mouse... just for gun
the thing is i don't knw how to simulate the mouse click :S
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Post by ayu »

You could do it with the mouse_event function found in MSDN using C/C++, VB.NET, C# .. blabla etc

Code: Select all

http://msdn.microsoft.com/en-us/library/ms646260%28VS.85%29.aspx
I did the keyboard thing on Facebook with C, but I haven't tried doing it with the mouse yet. What application is it? ^^
"The best place to hide a tree, is in a forest"

User avatar
ph0bYx
Staff Member
Staff Member
Posts: 2039
Joined: 22 Sep 2008, 16:00
15
Contact:

Post by ph0bYx »

"Click Challenge 3.0" if I'm correct.

User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

Post by l0ngb1t »

ph0bYx wrote:"Click Challenge 3.0" if I'm correct.
no it's "click fan"
i just wanna do it as i did it with "how fast can you type from A-Z" still have a video for that app trick looool
add me on FB if you want, pm me 1st
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

User avatar
IceDane
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 197
Joined: 12 Aug 2009, 16:00
14

Post by IceDane »

l0ngb1t wrote:
ph0bYx wrote:"Click Challenge 3.0" if I'm correct.
no it's "click fan"
i just wanna do it as i did it with "how fast can you type from A-Z" still have a video for that app trick looool
add me on FB if you want, pm me 1st
I wrote an app to do the mouse click thingy. Afterwards, I found it one could simply modify the site's code live and call the click function in a loop. It was much smarter. (The javascript function, that is)

User avatar
leetnigga
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 447
Joined: 28 Jul 2009, 16:00
14

Post by leetnigga »

IceDane wrote:Afterwards, I found it one could simply modify the site's code live and call the click function in a loop. It was much smarter. (The javascript function, that is)
This is indeed the superior solution that is not only simpler, but should also be faster. Good call.

User avatar
l0ngb1t
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 598
Joined: 15 Apr 2009, 16:00
15
Contact:

Post by l0ngb1t »

sure it's faster
but am tying to do it by myself
self challenging, just for fun so any thing on it
i knw little bit of java but the click code is the problem
and my script for "how fast can you type from A-Z" worked perfectly without modifying any thing in the page even i scored 0 sec :P
and abt that code that modify the page, can you pass a link it would be grea to take a look at it
There is an UNEQUAL amount of good and bad in most things, the trick is to work out the ratio and act accordingly. "The Jester"

Post Reply