Super2 Posted November 6, 2006 Share Posted November 6, 2006 Sorry, but can you tell me, what`s the function to press a key ? Link to comment Share on other sites More sharing options...
BigDod Posted November 6, 2006 Share Posted November 6, 2006 Lookup Send and ControlSend in the help files. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
Super2 Posted November 6, 2006 Author Share Posted November 6, 2006 Func Heal_A1 ()Call ("Unfocus")Send ("1")MouseMove (775,47,1)Sleep (50)MouseClick ("Right",775,47,1)Call ("Unfocus")MouseUp ("Right")EndFunc That one / taken from auto buff script for one game/ doesn`t work... it just doesn`t send 1 or whatever is "" Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 6, 2006 Moderators Share Posted November 6, 2006 Does your game use some type of protection like gameguard? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Super2 Posted November 6, 2006 Author Share Posted November 6, 2006 (edited) No, as much as i know.... Edited November 6, 2006 by Super2 Link to comment Share on other sites More sharing options...
Super2 Posted November 6, 2006 Author Share Posted November 6, 2006 So, the code is ok ? the problem must be in my PC? Link to comment Share on other sites More sharing options...
PaulIA Posted November 6, 2006 Share Posted November 6, 2006 Ack! I can't take it any longer! Your code is drving me nuts. Func Heal_A1 () ; Call("Unfocus") <-- Stop doing this! Unfocus() Send ("1") <-- What window currently as focus? MouseMove (775, 47, 1) Sleep (50) <-- Why? MouseClick ("Right", 775, 47, 1) <-- Why not move/click in the same statement? ; Call ("Unfocus") Unfocus() MouseUp ("Right") <-- Why are you doing mouse up without mouse down? EndFunc Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
lijun0238 Posted November 7, 2006 Share Posted November 7, 2006 That one / taken from auto buff script for one game/ doesn`t work... it just doesn`t send 1 or whatever is "" hehe wo dong ni yi si ,ni xiang zi dong he xue, shi ba Link to comment Share on other sites More sharing options...
PaulIA Posted November 7, 2006 Share Posted November 7, 2006 hehe wo dong ni yi si ,ni xiang zi dong he xue, shi baMayo las pulgas de mil camellos infestan tus hoyos del brazo Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
theguy0000 Posted November 7, 2006 Share Posted November 7, 2006 Mayo las pulgas de mil camellos infestan tus hoyos del brazo May the fleas of thousand camels infest your holes of the arm???lol The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
Super2 Posted November 7, 2006 Author Share Posted November 7, 2006 (edited) Ack! I can't take it any longer! Your code is drving me nuts. Func Heal_A1 () ; Call("Unfocus") <-- Stop doing this! Unfocus() Send ("1") <-- What window currently as focus? MouseMove (775, 47, 1) Sleep (50) <-- Why? MouseClick ("Right", 775, 47, 1) <-- Why not move/click in the same statement? ; Call ("Unfocus") Unfocus() MouseUp ("Right") <-- Why are you doing mouse up without mouse down? EndFuncoÝ÷ Ûú®¢×zYZ[ayÊz+®§w4®,!Ƨºhiز«y«¢+Ø쨨¨¨¨¨¨¨¨¨U¹½Ǫ̃¨¨¨¨¨¨¨¨¨((ìU¹½ÕÌ5Ô]¥¹½ÜµÀì½ÕÌ=¸ÍѽÀ¸()Õ¹U¹½ÕÌ ¤()]¥¹Ñ¥ÙÑ ÅÕ½Ðí ±Í͹µõM¡±±}QÉå]¹ÅÕ½Ðì¤(íM¹ ÅÕ½ÐìÅÕ½Ðì°Ä¤()¹Õ¹oÝ÷ Ù8^~.±çpwhÂ+-èì"Ú0Öj+z«²Ø¨br¬mëmz»hmë¬x6®¶se6VæBgV÷C³2gV÷C²oÝ÷ ÚÚºÚ"µÍÙ[ ][ÝÞÌÈÝÛI][ÝÊHÙ[ ][ÝÞÌÈI][ÝÊ Edited November 7, 2006 by Super2 Link to comment Share on other sites More sharing options...
theguy0000 Posted November 7, 2006 Share Posted November 7, 2006 (edited) Well, all the code is around 600 rows, I can upload it somewhere.... clipoÝ÷ Ù8^~.±çpwhÂ+-èì"Ú0Öj+z«²Ø¨br¬mëmz»hmë¬x6®¶se6VæBgV÷C³2gV÷C²oÝ÷ ÚÚºÚ"µÍÙ[ ][ÝÞÌÈÝÛI][ÝÊHÙ[ ][ÝÞÌÈI][ÝÊjust use 3, no reason to do down then up. Send ("3") Edited November 7, 2006 by theguy0000 The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN Link to comment Share on other sites More sharing options...
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