Sign in to follow this  
Followers 0
BlackCat

Auto click left mouse to ordinate for game

15 posts in this topic

Sorry guys, it's been a while since I used autoit.

I'm making a bot which will click left mouse to ordinates (x,y) but I don't know any code for click left mouse to ordinate.

Plz, help me!

Share this post


Link to post
Share on other sites



MouseClick ?


Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

Yeah, it's mouseclick.

Share this post


Link to post
Share on other sites

MouseClick("left", 500, 200)

or

ControlClick("Window Name", "", "", "left", 1, 500, 200)

To use the above with a right click, change the word left to right

HTH

Share this post


Link to post
Share on other sites

To find answers like this for yourself there is a very simple process:

1. Open help file

2. Open function reference (you are looking for a function)

3. Open Mouse Control ( you want to use the mouse )

4. You want to click something so let's see.... MouseDown, MouseUp Oh there it is: MouseClick.

Alternatively you may:

1. Build a machine capable of interlinking brains of all humans, building a collective hive mind.

2. Consult the hive mind for this information.

Share this post


Link to post
Share on other sites

@Manadar: That's dangerous. It's thinking like that that spawned Kerrigan. Plus, we're not assured that the summation of all intelligences even results in a positive value. For all we know, it may be negative.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Interesting thought. Though, I don't think there is such a thing as negative knowledge.

Example of negative knowledge: "Your house is on fire!" Thus, knowing your house is on fire is not positive.

But thats way off topic :D

Edited by bo8ster

Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

That's knowledge that you perceive in a negative way. Not negative knowledge.

Agreed, I see your point. Once could argue that all knowledge neutral and we are the ones that perceive positive or negative. The glass half full or empty - its just at %50 capacity.

Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

Knowledge can be seen as a collection of "understanding of a subject". We were discussing whether there was such a thing as such great misunderstanding of a subject (negative knowldege), that when combined with understanding of a subject (positive knowledge) the outcome would be misunderstanding of a subject (negative knowledge).

But this is made so concrete that it isn't the same as the original abstract discussion.

Edited by Manadar

Share this post


Link to post
Share on other sites

I do agree this has moved off on a tangent and I have no idea where.

All I know it is home time and I am going home :D I do perceive that as positive knowledge and knowing I have to go to work tomorrow as negative.


Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

It is if you are asleep in bed.

eh?

Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

A negative intelligence value is a real possibility considering the great amount of misunderstanding by a great amount of people on a great amount of subjects. Walk around and ask random people the meaning of E=mc^2; out of 100 people, how many understand it correctly and how many incorrectly?

Consider also the intelligences that purposely deceive and distort understanding, or the intelligences that are damaged or not fully formed.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0