Guest leucent Posted December 7, 2004 Posted December 7, 2004 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.
scriptkitty Posted December 7, 2004 Posted December 7, 2004 try using the Dll hotkey version Larry made.Also check out ezzetabi's scrap:http://www.autoitscript.com/forum/index.php?showtopic=5760 AutoIt3, the MACGYVER Pocket Knife for computers.
Guest leucent Posted December 8, 2004 Posted December 8, 2004 (edited) 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 belowso that by pressing a key it would either exit the script or pause it for a set amountof time?Again thanks.----------------------------------------------Sleep(200000);give time to open FFXI $loop = 1While $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 December 8, 2004 by leucent
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now