Jump to content

dotnetter

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by dotnetter

  1. Hello again, You both are right! There was copy/paste error in my code and the code doesn't send the space. I created example more alike my real code which is to long to paste here: HotKeySet("{Space}", "dontClickThatButton") While 1 Sleep(10) WEnd Func dontClickThatButton() ConsoleWrite("Ups I did it again..." & @CRLF) EndFunc 1. When focus was set on button in another application and code in my previous post generated MsgBox space WAS "consumed" and everything was fine (sorry for not testing that example thoroughly) 2. The code pasted above passes the space (presses the focused button in another application) indeed, but after more testing I found that it concerns only my particular case - java applet window (in windows applications space was NOT passed) The workaround: In first line of my function (dontClickThatButton()) I'm changing focus in the java applet window to some not clickable element and everything works fine. That closes the case, I suppose. Thank you for your cooperation
  2. Nothing fancy: HotKeySet("{Space}", "dontClickThatButton") Func dontClickThatButton() MsgBox(0, "Oh no!", "Ups I did it again..." EndFunc
  3. Hello, From AutoIt documentation: Not in my case... When focus is set on some button, pressing space is spawning my function, but also click on the button is performed. Is there any way to avoid that click?Thanks in advance.
  4. Thanks for your support. Trancexx: sounds promising, I'll digg a bit in this and let you know later. If fail, I'll use solution of Richard Robertson. That shouldn't be difficult in fact.
  5. First, I want to thank you very much for a tool that let me feel like a Windows God And now to the topic... I know how to do it in pure AutoIt and I know how to use AutoItX with .NET app, but _GUICtrlSlider_GetPos is not included in AutoItX. Is there some workaround for this? One more. It's probably not possible but I have to ask. Is it doable for you to give us possibility to compile au3 script not only to exe file but to dll too? I could use this dll in .NET and maybe AutoItX wouldn't be needed in most cases. No, it's too beautiful to be possible ?
×
×
  • Create New...