Mega overhaul: Fixed up the script to let it be 100% (for the length of my testing, your results may vary) consistent. Either build the script with the updated code below, or download the zip file.
Saw this thread a while back, decided today while farming for mats to write up a simple script to run in the background so I don't have to skip cutscenes all the time.
1. Either copy/paste the code below into notepad and save as .ahk or download the attachment below the post.
2. Make sure the escape.png that's attached below is in the same directory as the script.
3. Run the script, either as is or compile and run it. Make sure it's running as admin so the ControlSend function works properly in game.
4. ???
5. Profit
Saw this thread a while back, decided today while farming for mats to write up a simple script to run in the background so I don't have to skip cutscenes all the time.
1. Either copy/paste the code below into notepad and save as .ahk or download the attachment below the post.
2. Make sure the escape.png that's attached below is in the same directory as the script.
3. Run the script, either as is or compile and run it. Make sure it's running as admin so the ControlSend function works properly in game.
4. ???
5. Profit
Code:
SetTitleMatchMode=2
WinGet, client, ID, Blade & Soul
CoordMode, Pixel, Screen
WinActivate, ahk_id %client%
MouseGetPos,,, WinID, WinCon
SetControlDelay 0
Loop
{
ImageSearch, FoundX, FoundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, *50 escape.png
if ErrorLevel = 0
{
ControlSend, ahk_parent, {Escape}, ahk_id %WinID%
sleep 3000
}
else if ErrorLevel = 1
{
sleep 100
}
else if ErrorLevel = 2
{
MsgBox Cannot open image or bad format
ExitApp
}
}
return
Attachments
Last edited: