| Author |
Message |
Forum: Support Topic: Accessing parentNode's href |
| JohnnyTwoTone |
|
Posted: June 19th, 2010, 9:45 pm
|
|
Replies: 3 Views: 126
|
| I thought I had, but obviously not because that works. Thanks. |
|
 |
Forum: Support Topic: Accessing parentNode's href |
| JohnnyTwoTone |
|
Posted: June 19th, 2010, 9:20 pm
|
|
Replies: 3 Views: 126
|
| This works, but I don't know if there is a cleaner way. posterID := com_invoke(pwb1, "document.getElementsByName[p" . postNumber . "].item[0].parentNode.getElementsByTagName[a].item[0].attributes[href].value") |
|
 |
Forum: Support Topic: Accessing parentNode's href |
| JohnnyTwoTone |
|
Posted: June 19th, 2010, 9:13 pm
|
|
Replies: 3 Views: 126
|
| The red part is the value I need, purple is the part I've got, green part is the only part I want to use to get the red: <a href="[color=red]user.php?=0000[/color]" name="[color=green]p000000[/color]">[color=purple]posterName[/color]</a> I'm getting the innerText fine from the ge... |
|
 |
Forum: Support Topic: Help with INI file |
| JohnnyTwoTone |
|
Posted: March 17th, 2010, 6:45 pm
|
|
Replies: 5 Views: 324
|
| =:: FormatTime, timeString, , hh:mm:ss MM/dd/yyyy myValue := timeString . " Keystrokes " cnt %elapsedtime% IniWrite, %myValue%, c:\stats\%A_UserName%.ini,%A_Username%,cnt `r ; cnt is never defined in this part so it will be blank until it is. MsgBox %cnt% Keystrokes %ElapsedTime% send,... |
|
 |
Forum: Support Topic: Advanced (For me) macro |
| JohnnyTwoTone |
|
Posted: March 10th, 2010, 8:20 am
|
|
Replies: 4 Views: 287
|
| You might just need to add a command. sec = 75 SetTimer, label, % sec * 1000 Return label: Click 417, 422 sleep, 50 ; see SetMouseDelay and click in help file Click 417, 422 sleep, 2000 Click 463, 490 sleep, 50 ; see SetMouseDelay and click in help file Click 156, 692 send, :sleep{enter} R... |
|
 |
Forum: Support Topic: Advanced (For me) macro |
| JohnnyTwoTone |
|
Posted: March 10th, 2010, 6:06 am
|
|
Replies: 4 Views: 287
|
Close
Code: sec = 75 SetTimer, label, % sec * 1000 Return
label: Click 417, 422 Click 417, 422 sleep, 2000 Click 463, 490 Click 156, 692 send, :sleep{enter} Return |
|
 |
Forum: Support Topic: % sign in a password |
| JohnnyTwoTone |
|
Posted: March 1st, 2010, 4:20 am
|
|
Replies: 7 Views: 1388
|
|
 |
Forum: Support Topic: Run, www.google.com, , Hide |
| JohnnyTwoTone |
|
Posted: February 28th, 2010, 7:10 am
|
|
Replies: 8 Views: 262
|
| oh this community is really sinking now we are helping virus writers and possibly going to get ahk flagged legitimately by anti virus makers why in gods name would any of you respond to such a request I didn't see its other posts before I saw this one and thought it was a rather harmless command. I... |
|
 |
Forum: Support Topic: Run, www.google.com, , Hide |
| JohnnyTwoTone |
|
Posted: February 28th, 2010, 4:57 am
|
|
Replies: 8 Views: 262
|
sexyrussian wrote: Run, www.google.com, , Hide why doesnt it hide?
Works for IE8
Code: Run, C:\Program Files\Internet Explorer\iexplore.exe www.google.com, , Hide |
|
 |
Forum: Custom Topic: IronAHK (alpha): cross platform .NET rewrite of AutoHotkey |
| JohnnyTwoTone |
|
Posted: February 27th, 2010, 9:07 pm
|
|
Replies: 551 Views: 102351
|
Should the COM library work yet?
I get this error when trying to compile. The .ahk is saved as UTF-8. I've tried with the original COM and the unicode one for Ahk_L.
Code: <0>: ==> Could not look up method COM_Init |
|
 |
Forum: Support Topic: Is there a COM_ActiveXObject replacement for Autohotkey_L? |
| JohnnyTwoTone |
|
Posted: February 26th, 2010, 6:53 pm
|
|
Replies: 9 Views: 726
|
answer4u wrote: I haven't tested any of this, but just to clarify, this doesn't work - correct?
Sweet, that works, thanks a lot. |
|
 |
Forum: Support Topic: sciTE |
| JohnnyTwoTone |
|
Posted: February 26th, 2010, 6:28 pm
|
|
Replies: 2 Views: 190
|
| I'm trying out the sciTE to see how I like it, but one thing keeps bugging me. How do I stop it from creating the .ahk.bak files all the time? I keep a script in my startup folder, and when I edit it, the .bak file goes there too. How do I stop this. I've searched the built in help files, gone thro... |
|
 |
Forum: Support Topic: Is there a COM_ActiveXObject replacement for Autohotkey_L? |
| JohnnyTwoTone |
|
Posted: February 26th, 2010, 5:56 pm
|
|
Replies: 9 Views: 726
|
| If you look at the old COM Library, the COM_CreateObject() & COM_ActiveXObject() were almost the same, only COM_CreateObject() has optional paramaters. Yeah, I tried these three to no avail. ;psh := COM_ActiveXObject("Shell.Application") ;psh := COM_CreateObject("Shel... |
|
 |
Forum: Support Topic: Is there a COM_ActiveXObject replacement for Autohotkey_L? |
| JohnnyTwoTone |
|
Posted: February 26th, 2010, 9:01 am
|
|
Replies: 9 Views: 726
|
sinkfaze wrote: BTW there is no need to explicitly release objects in AHK_L per se so you could probably remove those COM_Release calls.
Thanks, still doesn't work though. No error. |
|
 |
Forum: Support Topic: Is there a COM_ActiveXObject replacement for Autohotkey_L? |
| JohnnyTwoTone |
|
Posted: February 26th, 2010, 7:46 am
|
|
Replies: 9 Views: 726
|
| This may be risqué but have you tried copying the function over to the COM_L library and trying it? All of the COM functions necessary to run COM_ActiveXObject are available in the COM_L library and there doesn't appear to have been any changes to those helper functions so theoretically it should w... |
|
 |
| Sort by: |