Search found 52 matches

by ilhom
12 Sep 2019, 12:43
Forum: Ask For Help
Topic: Augmenting Chat Loop
Replies: 1
Views: 229

Re: Augmenting Chat Loop

Not exactly ideal but this should work. $F1:: { RepeatCount := 1 Loop { Loop, %RepeatCount% { SendInput %Clipboard% ; inbuild variable, sends what you have copied Sleep, 100 SendInput, {Enter} Sleep, 200 } RepeatCount *= 2 } } !F1:: ; Alt + F1 { ExitApp ; exits the script }
by ilhom
11 Sep 2019, 12:59
Forum: Ask For Help
Topic: Better "practice how to read" program Topic is solved
Replies: 6
Views: 907

Re: Better "practice how to read" program Topic is solved

Thank you very much ! Rly. Thank you! I try to add a selection with Dropdown or via Gui Button :D wish me luck haha I created the other GUI for you. This code will let you easily add more list of words. First, you would created a WordList3/4/5 etc., then add that WordList to the drop down selection...
by ilhom
11 Sep 2019, 11:46
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

Pwb:= ComObjCreate( "InternetExplorer.Application" ) Pwb.Navigate("https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_frame_cols") Pwb.Visible:= True While ( Pwb.Busy || Pwb.ReadyState != 4 ) Sleep 10 msgbox page loaded oIE := IEGet() msgbox % oIE.document.documentElement.OuterHtml iFrame :=...
by ilhom
11 Sep 2019, 09:26
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

Bumping.

Still struggling on this and I feel a bit stumped. I've searched online for a while now and everything I've found is consistent with what was suggested here. Perhaps it has something to do with the fact the frame is within 2 framesets?
by ilhom
10 Sep 2019, 18:04
Forum: Ask For Help
Topic: Better "practice how to read" program Topic is solved
Replies: 6
Views: 907

Re: Better "practice how to read" program Topic is solved

This uses a GUI instead which will work better for what you're looking for. Increased font size as well. Adding a second list would involve another GUI asking which list to choose from (look into DropDownList) and selecting your choice. I'm out of time today to help further with this. #SingleInstanc...
by ilhom
10 Sep 2019, 16:42
Forum: Ask For Help
Topic: Better "practice how to read" program Topic is solved
Replies: 6
Views: 907

Re: Better "practice how to read" program Topic is solved

Here is what I have so far. There is a check to make sure the same word doesn't appear twice in a row. As far as making words show up more often if they're wrong, that's gonna require a bit more work. WordList := [ "mi", "mimi", "mami" ] RepeatCheck = 0 Loop { Random, WordNum, 1, WordList.MaxIndex()...
by ilhom
09 Sep 2019, 14:36
Forum: Ask For Help
Topic: Hotstring
Replies: 15
Views: 1983

Re: Hotstring

Hello Mr GEV Thank you so much for your quick response, and I apologize for the delay .. I have read the topic in the link and did not understand the intended .. How do I use this code? Just one example please You can copy paste his code into a AHK file and run it. You can then type the last 3 char...
by ilhom
09 Sep 2019, 11:00
Forum: Ask For Help
Topic: How to target one specific window if several have the same name ?
Replies: 2
Views: 259

Re: How to target one specific window if several have the same name ?

WinActivate will only target the topmost window.

You will want to look into GroupAdd.
https://www.autohotkey.com/docs/commands/GroupAdd.htm

This will cycle through the windows with F1.

Code: Select all

GroupAdd, winvar, [name of the window]
return
F1::GroupActivate, winvar
by ilhom
09 Sep 2019, 09:19
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

Try your script on a local HTML file, like this one: <html> <frameset rows="57,1*"> <frame name="toplogo" src="about:blank"></frame> <frameset cols="230,*"> <frame name="contents" src="about:blank"></frame> <frame name="main" src="frame.html"> </frameset> </frameset> </html> Create a frame.html fil...
by ilhom
06 Sep 2019, 16:35
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

That line of code provides me this error

Error: 0x80020101 -
Specifically: Frames
by ilhom
06 Sep 2019, 16:05
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

Message box displayed 3:
MsgBox % wb.document.frames.length
MsgBox % wb.document.parentWindow.frames.length


Unknown name error, and displayed nothing in the message box:
MsgBox % wb.window.frames.length
by ilhom
06 Sep 2019, 15:52
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

Getfree wrote:
06 Sep 2019, 15:47
What kind of control is wb? Is it a Shell.Explorer ActiveX control? How are you creating it?
Edited original post. Can't believe I forgot to include the variable creation.

wb := ComObjCreate("InternetExplorer.Application")
by ilhom
06 Sep 2019, 15:37
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

I received an unspecified error doing that.

I searched through the source code of the site and that is the only instance of iw_board_deviceName so I don't see how that name would be getting confused.
by ilhom
06 Sep 2019, 14:41
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

MAC := wb.window.frames["main"].document.getElementsByName("iw_board_deviceName")[0].value

I get an error on this line stating it's an unknown name.
by ilhom
06 Sep 2019, 12:47
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Re: Retrieving Elements Within a Frame

Getfree wrote:
06 Sep 2019, 12:43
In this part wb.window.frame["main"], it says frame without a final s.

Is that a typo just here in your post? or is it also a typo in your code?
I tried with both the s and without the s just to test. No luck with either one.
by ilhom
06 Sep 2019, 12:24
Forum: Ask For Help
Topic: Capslock switch by itself problem
Replies: 7
Views: 542

Re: Capslock switch by itself problem

I'm unable to replicate this problem. As gregster said, it would be best to provide what application, and where at in the application you are trying to paste.
by ilhom
06 Sep 2019, 11:33
Forum: Ask For Help
Topic: Retrieving Elements Within a Frame
Replies: 19
Views: 2303

Retrieving Elements Within a Frame

In the javascript below in an Internet Explorer page I'm trying to obtain the value of iw_board_deviceName. <html> <head>...</head> <frameset rows="57,1*"> <frame name="toplogo" src="top.asp" frameborder="0" noresize="" scrolling="NO">...</frame> <frameset cols="230,*"> <frame name="contents" src="c...
by ilhom
06 Sep 2019, 10:08
Forum: Ask For Help
Topic: Capslock switch by itself problem
Replies: 7
Views: 542

Re: Capslock switch by itself problem

Instead of taking a shot in the dark, can you post your script?
by ilhom
06 Sep 2019, 09:59
Forum: Ask For Help
Topic: % sign Topic is solved
Replies: 3
Views: 388

Re: % sign Topic is solved

Need to add a ` before the %. Refer to this:
https://www.autohotkey.com/docs/commands/_EscapeChar.htm
by ilhom
04 Sep 2019, 09:38
Forum: Ask For Help
Topic: Request Script
Replies: 1
Views: 270

Re: Request Script

Code: Select all

$1::
SendInput 11
sleep 1000

Go to advanced search