Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Black Desert Online


  • Please log in to reply
2 replies to this topic
joka666
  • Members
  • 2 posts
  • Last active: Oct 25 2015 07:58 AM
  • Joined: 24 Oct 2015

I have been trying to make a script that will send key 7 to the game, I have looked at other scripts but it simply will not work it refuses to acknowledge the key send in game

 

does xign block AHK?



joka666
  • Members
  • 2 posts
  • Last active: Oct 25 2015 07:58 AM
  • Joined: 24 Oct 2015

ahh I found the answer myself :)

 

Have to ensure script is run as administrator

 

Although this works (have put 12 secs as a timer to give me time to swap windows) is there a way to ensure it chooses the window I want before executing?

Loop, 1000

{

#InstallKeybdHook
#SingleInstance, Force
#Persistent


Sleep, 12000

Send, {7}

Sleep, 300008

} 
return


Exaskryz
  • Members
  • 3249 posts
  • Last active: Nov 20 2015 05:30 AM
  • Joined: 23 Aug 2012

WinActivate and/or WinWaitActive