Sign in to follow this  
Followers 0
Koerty

Need help for a simple script

2 posts in this topic

#1 ·  Posted (edited)

HotKeySet("{F7}", "Boucle")

Opt("SendKeyDownDelay", 25)
Opt("SendKeyDelay", 200)

While 1
   Sleep(100)
WEnd

Func Boucle()
   Send("x{DOWN}{RIGHT}x{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}{UP}xc{RIGHT}x{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}x{UP}{UP}{UP}xccv{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}x{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}{DOWN}x{DOWN}{DOWN}{DOWN}x{DOWN}{DOWN}{DOWN}xccc")
EndFunc

 

Hello, I'm trying to write a script to automatize a boring task in a RPG game.

The problem I have is the game look like he capture only 1/3 key presseds, I'm trying to play with the options "SendKeyDownDelay" and "SendKeyDelay" but I still don't have the expected result.

Does the "SendKeyDelay" work differently if you do

Send("xx")

and

Send("x")
Send("x")

Or should I have the same result ?

Edited by Koerty

Share this post


Link to post
Share on other sites



You have obviously missed the forum rules on your way in, specifically the part where game automation is forbidden. Please read through them now, and you'll see why you will receive no help with this topic.

See you soon with a legitimate question, hopefully.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0