Jensen- 25 Posted February 12, 2019 Share Posted February 12, 2019 var p = System.diagnostic.Process.GetProcessesByName("name"); foreach (var process in p) { robot Manager.Helpful.Keyboard.Press Key(process.MainWindowHandle, System.Windows.Forms.Key.F1); } when using this command im getting an error witch one is the name of the program the first line or the wow admin.... 12 lut 2019 12H23.log.html Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/ Share on other sites More sharing options...
Droidz 2742 Posted February 12, 2019 Share Posted February 12, 2019 Why create new thread? Why hide your old thread when I give code than can help another users? I stop help you artur.k and infamous11 2 Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51489 Share on other sites More sharing options...
Jensen- 25 Posted February 12, 2019 Author Share Posted February 12, 2019 because, if people sees this metod they will start doing it, and i can quess when the farm will change from mob/quest grinding to a specific spot farm,it will get fixed and no1 gonna benefit, i know i asked for a specific code but with it theres a metod that i would like to keep it for myself.Ye mby im selfish but i didnt see any1 sharing here or anyother place hes best farm metods Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51495 Share on other sites More sharing options...
infamous11 0 Posted February 15, 2019 Share Posted February 15, 2019 On 2/12/2019 at 12:44 PM, Droidz said: Why create new thread? Why hide your old thread when I give code than can help another users? I stop help you I'm looking for the same exact solution in this thread, can you help me with that please? Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51576 Share on other sites More sharing options...
artur.k 10 Posted February 15, 2019 Share Posted February 15, 2019 On 2/12/2019 at 3:02 PM, Jensen- said: because, if people sees this metod they will start doing it, and i can quess when the farm will change from mob/quest grinding to a specific spot farm,it will get fixed and no1 gonna benefit, i know i asked for a specific code but with it theres a metod that i would like to keep it for myself.Ye mby im selfish but i didnt see any1 sharing here or anyother place hes best farm metods if anyone ask here for help and Droidz or anyone help and in next this person hide answer its a @#$$% i see many good people here and im happy only few $^#@ers if you are good enought you can make $ in any method any place,but if ask help get answer on public forum and hide this after get answer, its bad realy bad we are all here in one purpose and when we start be a selfish it will end in only one way. infamous11 1 Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51577 Share on other sites More sharing options...
79135 4 Posted February 16, 2019 Share Posted February 16, 2019 On 2/15/2019 at 8:56 PM, artur.k said: if anyone ask here for help and Droidz or anyone help and in next this person hide answer its a @#$$% i see many good people here and im happy only few $^#@ers if you are good enought you can make $ in any method any place,but if ask help get answer on public forum and hide this after get answer, its bad realy bad we are all here in one purpose and when we start be a selfish it will end in only one way. arturn, nu 4to podelat, s volkami jit' po vol4'i vit' Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51615 Share on other sites More sharing options...
artur.k 10 Posted February 16, 2019 Share Posted February 16, 2019 pisz po angielsku albo nie pisz wcale. 1 hour ago, 79135 said: arturn, nu 4to podelat, s volkami jit' po vol4'i vit' Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51620 Share on other sites More sharing options...
Jensen- 25 Posted February 16, 2019 Author Share Posted February 16, 2019 dont pme about the code that i hided cuz it didnt work, you got it in the first post in this topic Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51621 Share on other sites More sharing options...
Mykoplazma 24 Posted February 17, 2019 Share Posted February 17, 2019 If you need to send a key to game you can use many methods like Sendkeys (C# api ) , runing autohotkey or autoit exe or autoit dll and many other. Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51625 Share on other sites More sharing options...
infamous11 0 Posted February 17, 2019 Share Posted February 17, 2019 5 hours ago, Mykoplazma said: If you need to send a key to game you can use many methods like Sendkeys (C# api ) , runing autohotkey or autoit exe or autoit dll and many other. Using this public sealed class : QuestClass { public void test(object sender, System.EventArgs e) { SendKeys("{ENTER}"); } } gives me this error [E] 12:33:26.870 - Compilator Error : c:\Users\Kiccsi\AppData\Local\Temp\jxfljbqs\jxfljbqs.0.cs(23,22) : error CS1001: Identifier expected Im currently trying to do it with autoit but its taking a lot of time because Im a newbie. Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51628 Share on other sites More sharing options...
Mykoplazma 24 Posted February 17, 2019 Share Posted February 17, 2019 SendKeys.Send("{ENTER}"); not SendKeys(("{ENTER}"); for starters.You are not using microsoft c# compiling env? Or some other kind of c# thing with intelisense? Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51636 Share on other sites More sharing options...
infamous11 0 Posted February 17, 2019 Share Posted February 17, 2019 I tried in the quest editor as a fullcsharpcode quest, but I dont know how to use the system.windows.forms dll directly in it. I just installed a couple of days ago VS2019 with all the required workloads, so the compiling enviroments are not missing, but Im not sure how to do a quest profile cs file while using it as a step because its giving me the same compile error: The type or namespace name 'Forms' could not be found (are you missing a using directive or an assembly reference?) If you can help me with that, Im sure it will work. Link to comment https://wrobot.eu/forums/topic/10800-push-key-outside-wow-window/#findComment-51638 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