Jump to content
Sign in to follow this  
Guest leucent

Issues possibly solved by KeyLockState

Recommended Posts

Guest leucent

I am creating a script for FFXI and the only problem I am having is not being able

to use the HotKey commands to terminate the script inside the game. I read on a post a while back about a KeyLockState script which sounds like it would resolve

my issue, although the link in the post was no longer valid.. anyone have this script or can let me know how it works?

Thanks alot.

Share this post


Link to post
Share on other sites
Guest leucent

try using the Dll hotkey version Larry made.

Also check out ezzetabi's scrap:

http://www.autoitscript.com/forum/index.php?showtopic=5760

<{POST_SNAPBACK}>

Thanks for the advice, although I cant say I completely understand the code..

Could someone show me how ezzetabi's func would integrate into my code below

so that by pressing a key it would either exit the script or pause it for a set amount

of time?

Again thanks.

----------------------------------------------

Sleep(200000);give time to open FFXI

$loop = 1

While $loop = 1

AutoItSetOption("SendKeyDelay", 0001);

AutoItSetOption("SendKeyDownDelay", 0001);

Send("{Tab}")

Sleep(1000)

Send("/ja Assault <t>{Enter}")

Sleep(1000)

Sleep(9000);

AutoItSetOption("SendKeyDelay", 0235);

AutoItSetOption("SendKeyDownDelay", 0100);

Send ("!i");

Sleep(0250);

Send ("{NUMPADADD}");

Sleep (0250);

Send ("{ENTER}");

sleep(0350);

Send ("{UP}");

sleep(0350);

Send ("{ENTER}");

sleep(0250);

Send ("{ESCAPE}");

sleep(0250);

Send ("{ESCAPE}");

Sleep (0250);

Wend

Edited by leucent

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.