Poopy Posted December 10, 2018 Share Posted December 10, 2018 Hi guys im little bit newbie in Autoit but i dont know why i cant send keyboard keys on any of my apps or its just not sending but other stuff like pixel search mouse click and more at working fine but when i try to send keys like this HotKeySet("{F1}","myExit") WinActivate("Untitled") while(1) Send("1") sleep(500) send("{TAB}") WEnd Func myExit() Exit EndFunc in my case send 1 or TAB is not working did any one experience this need help guys pleasee Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 Should i Change Autoit Version guys need help im using v3 and Scite : SciTE-Lite Version 3.5.4 Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted December 10, 2018 Share Posted December 10, 2018 (edited) @Poopy If you could explain us what kind of application are you trying to automate, maybe there is a better way to do it instead of send keys and/or mouse clicks Edited December 10, 2018 by FrancescoDiMuro Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Aelc Posted December 10, 2018 Share Posted December 10, 2018 (edited) HotKeySet("{F1}","myExit") If WinExists ( "Untitled","" ) Then WinActivate("Untitled","") Else MsgBox ( 48,"Error","Window not found" ) Exit EndIf WinWaitActive ( "Untitled","" ) while(1) Send("1") sleep(500) send("{TAB}") WEnd Func myExit() Exit EndFunc Do you using win10? your script actually work for me ... but funny thing is its got a window without it exist... try this so you know if it is really the send. cause i think its about the winactivate Edited December 10, 2018 by Aelc why do i get garbage when i buy garbage bags? Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 yes guys im using win10 i just want to test in notepad first before i go in hard way on game Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 3 hours ago, Aelc said: HotKeySet("{F1}","myExit") If WinExists ( "Untitled","" ) Then WinActivate("Untitled","") Else MsgBox ( 48,"Error","Window not found" ) Exit EndIf WinWaitActive ( "Untitled","" ) while(1) Send("1") sleep(500) send("{TAB}") WEnd Func myExit() Exit EndFunc Do you using win10? your script actually work for me ... but funny thing is its got a window without it exist... try this so you know if it is really the send. cause i think its about the winactivate its already working now bro i forgot to know if the Notepad is already Exists and activate thanks a lot bro dammmmm im such a stupid to didnt see that thing fvck >.< Thankyou again its working Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 i have 1 more question now im trying to test in an MMORPG game or RPG game but i when i try in game send keys notworking also theres no error popup and still autoit Continue running without error but not sending key 1 or 2 or 3 Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 3 hours ago, FrancescoDiMuro said: @Poopy If you could explain us what kind of application are you trying to automate, maybe there is a better way to do it instead of send keys and/or mouse clicks im trying to use this on Game mmorpg or rpg and trying to send 1 cause it was #key in skill in game thats why im still trying to find out how could i send it can you help metoo ? @Aelc Commend work on me but when i try it on game its not working .. Link to comment Share on other sites More sharing options...
TheSaint Posted December 10, 2018 Share Posted December 10, 2018 (edited) Welcome to AF. I suggest you read the Rules, as Game Automation topics and code are not permitted here .... without exception ... no matter the excuse. A MOD will be along soon to Lock & Warn. Edited December 10, 2018 by TheSaint Make sure brain is in gear before opening mouth! Remember, what is not said, can be just as important as what is said. Spoiler What is the Secret Key? Life is like a Donut If I put effort into communication, I expect you to read properly & fully, or just not comment. Ignoring those who try to divert conversation with irrelevancies. If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it. I'm only big and bad, to those who have an over-active imagination. I may have the Artistic Liesense to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage) Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 4 minutes ago, TheSaint said: Welcome to AF. I suggest you read the Rules, as Game Automation topics and code are not permitted here .... without exception ... no matter the excuse. A MOD will be along soon to Lock & Warn. Excuse ?? Lock and warn for what ? were just asking how could we solve our problem that may be other can help no matter what is the reason you guys we are just needing help and locking and warning other people newbie in autoit wont get there help because of this site behavious about helping each other problem i though this is forum to suggest and to send for help and also this tread and this forum said Help and support so on your attitude guys were can we get help and support there via locking newbie post ? sorry but this is the site i found that who need help instead of helping other newbie people they will just lock wow impressive clap clap. Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 behaviours* Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 Just now, Poopy said: behaviours* Thread ** just to be clear> Link to comment Share on other sites More sharing options...
FrancescoDiMuro Posted December 10, 2018 Share Posted December 10, 2018 @Poopy Since these forums don't support game-automation thread, your thread, which is related to game-automation, will be simply locked That's all. Click here to see my signature: Spoiler ALWAYS GOOD TO READ: Forum Rules Forum Etiquette Link to comment Share on other sites More sharing options...
Poopy Posted December 10, 2018 Author Share Posted December 10, 2018 AutoIt General Help and Support Follow 52 General help and support for AutoIt v3. were just asking for help and support and then my post will Lock and warn wow nice. Instead of AutoIt General Help and Support Change AutIt General Help and Support into just Topic only no post no codes no Example so everyone will understand oh we cant send help and support on this thread cause it said Topic only no post no codes no help no example ... bravo. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 10, 2018 Moderators Share Posted December 10, 2018 (edited) Not sure what that rambling mess above is supposed to mean, but you seem to have walked right past the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. The Moderation team Edited December 10, 2018 by JLogan3o13 FrancescoDiMuro 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts