| Author |
Message |
Forum: Support Topic: can any keypress (not just hotkey) abort a thread? |
| teddan |
|
Posted: July 29th, 2010, 4:25 pm
|
|
Replies: 0 Views: 295
|
| Hello, and thank you for reading my post. I want doubble ctrl press to close current window, and after that only need 1 ctrl press (without regard to delay) to close current window. any other input (key, mouse) should abort this. this is 1 alternative I tried. But this doesn't abort with mouse input... |
|
 |
Forum: Support Topic: block keys and allow only mouse |
| teddan |
|
Posted: July 26th, 2010, 11:37 pm
|
|
Replies: 2 Views: 276
|
Thanks! that helped some.  |
|
 |
Forum: Support Topic: block keys and allow only mouse |
| teddan |
|
Posted: July 26th, 2010, 7:55 pm
|
|
Replies: 2 Views: 276
|
| Hello, and thank you for reading this. :) Is it perhaps someone who has some code that will only allow mousemove? (and possibly all mouse operations such as click, rightclick, wheel etc., that aspect is not important to me) But allow mouse, and block any keypress? If I understand correctly, BlockInp... |
|
 |
Forum: Support Topic: use Variables with RegExReplace |
| teddan |
|
Posted: July 25th, 2010, 12:43 am
|
|
Replies: 3 Views: 241
|
ok. I get it.
the right code should be:
Code: MsgBox,% RegExReplace(string, ".*(" variable ").*", "$1")
Thanks again.  |
|
 |
Forum: Support Topic: use Variables with RegExReplace |
| teddan |
|
Posted: July 25th, 2010, 12:32 am
|
|
Replies: 3 Views: 241
|
| string = hello im from sweden variable = im from MsgBox,% RegExReplace(string, "(.*)" variable "(.*)", "$1$2") Thanks for reply. Sorry this might be very easy, but I don't understand. With your code I keep the other but not the variable. I want ... |
|
 |
Forum: Support Topic: WinGetText doesn’t Retrieve text I want |
| teddan |
|
Posted: January 9th, 2010, 7:41 pm
|
|
Replies: 2 Views: 539
|
ControlGet doesn't do it either unfortunately. The field acctually has a control name though.
Code: ControlGetText, test, ThunderRT6Frame10, ahk_class ThunderRT6FormDC msgbox %test%
Thanks your for response though! |
|
 |
Forum: Support Topic: WinGetText doesn’t Retrieve text I want |
| teddan |
|
Posted: January 9th, 2010, 6:17 pm
|
|
Replies: 2 Views: 539
|
| Hello all! I'm having problem retrieving text from an application called “WC3 Custom Kick”. When I play Warcraft 3, I want to be able to check the stats of all the players in current match. I can see their nicks in game and manually type command to see their stats. But it would be much easier and fa... |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 11:56 pm
|
|
Replies: 22 Views: 1105
|
Ohh didn't realize that!
Sorry, and Thanks for your kind reply.
I'm going to bed now. So long! |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 11:48 pm
|
|
Replies: 22 Views: 1105
|
Just tried to run this java script in Firefox toolbar having http://en.wikipedia.org open:
Code: javascript: document.all.searchInput.focus()
shouldn't it work to focus SearchBar here as well. It works great in IE.
Any thoughts? |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 10:48 pm
|
|
Replies: 22 Views: 1105
|
| Great! it worked fine. however i had to disable the "iWeb_Activate" command. i get "Too many paramters passed to function" from both lines you suggested. So the script doesn't activate the tab but it changes focus to the SearchBox in Google tab. Thanks! Can you suggest any other ... |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 9:28 pm
|
|
Replies: 22 Views: 1105
|
| Maybe I misunderstand you, but can i use your script to identify open URL in IE tab and then select focus in that tab? if I want to focus InputBox in open Google Tab, should something like this work? ^f:: URL=www.google.se pwb := IEGetURL( URL ) com_invoke(pwb,"document.all[q].focus... |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 8:33 pm
|
|
Replies: 22 Views: 1105
|
| Can I use "GetIE" to identify existing IE tab with URL sv.wikipedia.org and use this command to it: com_invoke(pweb,"document.all[searchInput].focus") if it's possible, can u help me with the code so I can use it? Should it be like this?: GetIE(Name="Sv.wikipedia.org&quo... |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 6:45 pm
|
|
Replies: 22 Views: 1105
|
IT WORKED! Thank you again!  |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 6:25 pm
|
|
Replies: 22 Views: 1105
|
| Thanks for fast reply :D so I added that code: sURL := "http://sv.wikipedia.org" COM_CoInitialize() pwb := GetWebBrowser() COM_Invoke(pwb, "Navigate", sURL, 0x1) WinActivate, ahk_class IEFrame GetWebBrowser() { ControlGet, hIESvr, hWnd, , Inte... |
|
 |
Forum: Support Topic: focus inputbox in IE-browser with COM standard library |
| teddan |
|
Posted: December 18th, 2009, 6:18 pm
|
|
Replies: 22 Views: 1105
|
| Thanks for all info. Now I have a new problem. I create a tab with url sv.wikipedia.org using this code sURL := "http://sv.wikipedia.org" COM_CoInitialize() pwb := GetWebBrowser() COM_Invoke(pwb, "Navigate", sURL, 0x1) WinActivate, ahk_class IEFrame GetWeb... |
|
 |
| Sort by: |