| Author |
Message |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 16th, 2012, 9:16 pm
|
|
Replies: 23 Views: 687
|
| I thought of that, but there is no button--only way to submit is the Enter key. |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 13th, 2012, 8:09 pm
|
|
Replies: 23 Views: 687
|
| That pops up the window with the text visible immediately, but doesn't send the Enter to submit it. |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 13th, 2012, 6:23 pm
|
|
Replies: 23 Views: 687
|
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 13th, 2012, 4:37 pm
|
|
Replies: 23 Views: 687
|
| Instead of a keyboard kludge, how about a mouse click kludge? :) This works: F12:: SetKeyDelay, 10, 10 ; give the keys a slight delay pwb := ComObjCreate("InternetExplorer.Application") ; creates a new instance of Internet Explorer , pwb.Navigate("http://libraryh3lp.com/ch... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 13th, 2012, 3:30 pm
|
|
Replies: 23 Views: 687
|
| Update (dangit): that works fine if there are no IE windows open, but with one open it doesn't. I'm guessing the crazy tabbing isn't consistent. |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 13th, 2012, 3:23 pm
|
|
Replies: 23 Views: 687
|
@sinkfaze:
That works, though I had to change the single Send Tab to have it send 8 tabs in a row, in order to activate the correct part of the window. God, I hate IE. That's pretty kludgy but I'll take it for now. Thanks! |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 8th, 2012, 4:05 pm
|
|
Replies: 23 Views: 687
|
| Thanks for the backup, Charlie. I feel the need to point that it doesn't matter whether I'm a doctor or not (I'm not)--autohotkey allows for a wide range of skills and solutions, and I use it for all sorts of simple shit at work and home. More power to those who have a deep understanding of programm... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 5th, 2012, 7:22 pm
|
|
Replies: 23 Views: 687
|
| Aha! Think I cracked it. I played around with moving the sleep timer and realized I could chain WinWait, Activate, and WaitActive to (apparently, so far) get the automatic effect I was looking for. Updated code: Run, http://libraryh3lp.com/chat/test-ncsu@chat.libraryh3lp.com WinWait, libraryh3lp.com... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 5th, 2012, 7:10 pm
|
|
Replies: 23 Views: 687
|
| So, most of the time, your little debugger indicates the following for that tab: libraryh3lp.com/chat/test-ncsu@chat.libraryh3lp.com - Google Chrome ahk_class Chrome_WidgetWin_0 If I trigger my script when Chrome is closed, I can catch the window just as it opens and get this: Untitled - Google Chro... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 3rd, 2012, 5:18 pm
|
|
Replies: 23 Views: 687
|
| Just checked the forum archives: I've been getting help along these lines for almost 6 years now. I don't come asking for free scripts--I search out and adapt others, or get as far as I can on my own, then often turn to the forum for help. And I appreciate all the help I consistently receive. Thanks... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 3rd, 2012, 12:09 am
|
|
Replies: 23 Views: 687
|
| OK, I threw in a debug statement to catch ErrorLevel and it proceeded but slowed down an important bit enough to see that the text was sent, but the browser was waiting for javascript to load before it could accept the input properly. Unless someone can suggest a way to know when the javascript is r... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 2nd, 2012, 11:53 pm
|
|
Replies: 23 Views: 687
|
| I think I see what you were getting at with the SetTileMatchMode now. Off to test... [Edit: Later] OK, appears to work better with that set to 2. Not clear on why 1 doesn't work, as WinSpy looks to me to be reporting that as the start of the title for the appropriate window. [Edit #2: Strike that, f... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 2nd, 2012, 11:50 pm
|
|
Replies: 23 Views: 687
|
| IINAC (I am not a coder). I use AHK here and there for simple hotkeys and text replacements. I have a couple of scripts that are slightly more complex than this one, but I emphatically am not a programmer. This is a conscious choice--I made it through about two years as a CS undergrad before decided... |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 2nd, 2012, 10:55 pm
|
|
Replies: 23 Views: 687
|
| I was hoping to avoid sleep as I hate trying to fine tune manual pauses like that. Some machines could be slow; some might be fast and I don't want the user to think it's hung. I hoped WinWaitActive would automate it but apparently active != ready for input. |
|
 |
Forum: Support Topic: Launch a URL and send text |
| mkny |
|
Posted: March 2nd, 2012, 10:19 pm
|
|
Replies: 23 Views: 687
|
| Having a couple different problems with a fairly simple script: F11 & F12:: Run, http://libraryh3lp.com/chat/test-ncsu@chat.libraryh3lp.com WinWaitActive, libraryh3lp.com/chat/test-ncsu@chat.libraryh3lp.com { Send {Tab}I need help at Circ-01 Send {Enter} } return If... |
|
 |
| Sort by: |