Jump to content

Need help for a simple script


Recommended Posts

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
Link to comment
Share on other sites

  • Moderators

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.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...