Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Auto Click in Lua ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Sting9x
Expert Cheater
Reputation: 0

Joined: 27 Jul 2016
Posts: 124

PostPosted: Mon Aug 29, 2016 8:43 am    Post subject: Auto Click in Lua ? Reply with quote

hi, I need a auto click which wrote by Lua and use with default hot key. I have try one from another person but it didn't work.
I have written another topic just hope for help Embarassed
Back to top
View user's profile Send private message
Sting9x
Expert Cheater
Reputation: 0

Joined: 27 Jul 2016
Posts: 124

PostPosted: Tue Aug 30, 2016 9:18 am    Post subject: Reply with quote

Up Sad
Back to top
View user's profile Send private message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Wed Aug 31, 2016 3:04 pm    Post subject: Reply with quote

Explain better what you want
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Aug 31, 2016 4:51 pm    Post subject: Reply with quote

I assume he wants to simulate a mouse click event while pressing some other hotkey?
Back to top
View user's profile Send private message
Sting9x
Expert Cheater
Reputation: 0

Joined: 27 Jul 2016
Posts: 124

PostPosted: Wed Aug 31, 2016 11:30 pm    Post subject: Reply with quote

for example: I drag the cursor to a point. Then press F1 (F1 is a default key in lua) it will be auto click Sad
Back to top
View user's profile Send private message
Filipe_Br
Master Cheater
Reputation: 3

Joined: 07 Jan 2016
Posts: 272
Location: My house

PostPosted: Thu Sep 01, 2016 8:39 am    Post subject: Reply with quote

More you drag manually, and when press a button Moon is clicking there?
Back to top
View user's profile Send private message
Sting9x
Expert Cheater
Reputation: 0

Joined: 27 Jul 2016
Posts: 124

PostPosted: Thu Sep 01, 2016 9:38 am    Post subject: Reply with quote

I means I just move the cursor to a certain place and press hot key,it will auto click. I need its lua scrip. Could you help me? Sad
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Sep 01, 2016 4:08 pm    Post subject: Reply with quote

Think Dark Byte is fixing doKeyPress() to use the mouse1 and mouse2 keys in the next upgrade.
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Fri Sep 02, 2016 10:17 am    Post subject: Reply with quote

Use this
http://forum.cheatengine.org/viewtopic.php?p=5688755#5688755
Just createhotkey that will simply call DoMouseClick() and it click at your current mouse positions.

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites