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 keyboar 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: 105

PostPosted: Wed Nov 01, 2017 2:54 am    Post subject: auto keyboar in lua ? Reply with quote

how to 4 arrow keys on the keyboard continuous operation ? ? ? Laughing
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 122

Joined: 09 Jun 2013
Posts: 3279

PostPosted: Wed Nov 01, 2017 4:58 pm    Post subject: Reply with quote

Code:
keyTimer = createTimer(nil, false)
keyTimer.Interval = 1000
keyTimer.OnTimer = function(timer)
  doKeyPress(VK_UP)
end
keyTimer.Enabled = true
Back to top
View user's profile Send private message
Sting9x
Expert Cheater
Reputation: 0

Joined: 27 Jul 2016
Posts: 105

PostPosted: Thu Nov 02, 2017 6:59 am    Post subject: Reply with quote

Zanzer wrote:
Code:
keyTimer = createTimer(nil, false)
keyTimer.Interval = 1000
keyTimer.OnTimer = function(timer)
  doKeyPress(VK_UP)
end
keyTimer.Enabled = true

Hello Zanzer
I really admire you, you help me a lot Very Happy
Can you help me again ?
Code:
VK_UP
VK_DOWN
VK_LEFT
VK_RIGHT

I set it at the F1 key turn on/off
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 122

Joined: 09 Jun 2013
Posts: 3279

PostPosted: Thu Nov 02, 2017 6:42 pm    Post subject: Reply with quote

Code:
keyDown(VK_F1)
Code:
keyUp(VK_F1)
Back to top
View user's profile Send private message
rikku007
How do I cheat?
Reputation: 0

Joined: 12 Mar 2018
Posts: 5
Location: thailand

PostPosted: Mon Mar 12, 2018 7:26 am    Post subject: wow Reply with quote

please set key 1 2 3 4 5 6 7 8 9 0 - =

on Upper keyboard

please
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater
Reputation: 17

Joined: 10 Apr 2015
Posts: 619

PostPosted: Mon Mar 12, 2018 10:52 pm    Post subject: Reply with quote

If to much keys pressed then use AHK
_________________
Singapore Sling + Johnnie Walker + Some Peanuts....
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