Search found 18 matches

by chase1
12 Oct 2017, 04:29
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Re: Com Click on "Button Class"

Thanks for the download link and the continued support.

I am very appreciative of everyone's help!
by chase1
12 Oct 2017, 04:28
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Re: Com Click on "Button Class"

Image
by chase1
08 Oct 2017, 02:53
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Re: Com Click on "Button Class"

Ok...the source was very long and probably not very helpful. But...should I be using a different combination of lines that go inside eachother? Like find the parent element then look inside the parent for table, then look into the table for the button? Or am I far off? Also...how would I do that? Ho...
by chase1
08 Oct 2017, 02:45
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Re: Com Click on "Button Class"

Hi, I could not locate a working link to the iwblearner tool. But I download and have tried to use IE HTML Element Spy. Hasn't been too helpful. In the "page source" I can get to every tag that it identifies, but it does not list the table or any of its elements. the javascript call that A_Ahkuser s...
by chase1
23 Sep 2017, 03:00
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Re: Com Click on "Button Class"

Hi, Thanks for keeping up on the topic, really appreciate it. Exaskryz your code with the message boxes is really helping. I have been using it to identify that I can't identify the correct object in the page :( I also implemented the contains line, but It just returned blank messagebox's. Not sure ...
by chase1
22 Sep 2017, 03:53
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Re: Com Click on "Button Class"

Hi, Thank you for the reply. In your example. What would be the code to have ahk click on that button? Especially if it did not have an 'ID'. wb.document.getelementbyclass("munchies").click() ? I know that's wrong...but without ID or name i'm pretty lost. You are definitely correct about the div tag...
by chase1
21 Sep 2017, 23:11
Forum: Ask for Help (v1)
Topic: Com Click on "Button Class"
Replies: 12
Views: 4242

Com Click on "Button Class"

Hi Everyone. Have not been able to control a certain website with id or class or name (all things I learned because of every awesome person on these forms!) Two different codes are below, same problem with both of them: <button class="right view-all-orders" ng-click="ordersTableCtrl.viewAllOpenOrder...
by chase1
20 Sep 2017, 23:57
Forum: Ask for Help (v1)
Topic: ComobjActive not working for IE Topic is solved
Replies: 1
Views: 920

ComobjActive not working for IE Topic is solved

Hi All, Really odd problem. This code errors on this line: wb := ComObjActive("InternetExplorer.Application") However, works perfectly when I do this: wb := ComObjActive("Excel.Application") It also works perfectly if I do: wb := ComObjCreate("InternetExplorer.Application") Am I missing something?
by chase1
10 Sep 2017, 03:11
Forum: Ask for Help (v1)
Topic: Trouble with getElementByID Topic is solved
Replies: 3
Views: 3356

Re: Trouble with getElementByID Topic is solved

OK, SO I found how to fix the first one:

text := wb.document.getElementByid("label.trackingNumber").innertext

msgbox %text%

But...still can't figure out why the second example hasn't been working but oh well, very happy about the first. Hopefully this helps someone as uneducated as me
by chase1
10 Sep 2017, 02:34
Forum: Ask for Help (v1)
Topic: Somesort of macro
Replies: 1
Views: 563

Re: Somesort of macro

loop 5
{
Send, 1234
}

Simple like this?
this will loop 5 times.

you could also add sleep in there to slow it down

send,1
Sleep, 100
send, 2

There are more complicated (and better) ways using a_index but this works easily.
by chase1
10 Sep 2017, 02:27
Forum: Ask for Help (v1)
Topic: Trouble with getElementByID Topic is solved
Replies: 3
Views: 3356

Trouble with getElementByID Topic is solved

I have a long script and managed to use getElementsByname for all of it because I couldn't get ID to work. But now I need ID to work, there is no name option unfortunetaly. So trying to figure out what I'm doing wrong. <div id="trackingNumber" class="trackingNumber" style="display: block;"> Your tra...
by chase1
23 Jul 2016, 02:15
Forum: Ask for Help (v1)
Topic: Hotkey for Windows Spy?? Topic is solved
Replies: 6
Views: 4111

Re: Hotkey for Windows Spy?? Topic is solved

Solved it

^n::
run, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\AutoHotkey\Active Window Info (Window Spy).lnk
return

I opened it and looked at the properties in the taskbar
by chase1
23 Jul 2016, 02:07
Forum: Ask for Help (v1)
Topic: How do i set an hotkey for two different function?
Replies: 3
Views: 841

Re: How do i set an hotkey for two different function?

ooo, sorry misread. Thats not helpful at all
by chase1
23 Jul 2016, 02:05
Forum: Ask for Help (v1)
Topic: How do i set an hotkey for two different function?
Replies: 3
Views: 841

Re: How do i set an hotkey for two different function?

I would just do a simple one...

Code: Select all

^m::
#ifwinactive ahk_class Notepad
suspend 
return
return
by chase1
23 Jul 2016, 01:43
Forum: Ask for Help (v1)
Topic: Hotkey for Windows Spy?? Topic is solved
Replies: 6
Views: 4111

Hotkey for Windows Spy?? Topic is solved

I love windows spy, I'd like to be able to have a hotkey for it. But windows spy doesn't work on itself, so I do not know what to call it.

I want something short of using mousemove and rightclick on the ahk shortcut and enable it.

Any help is helpful!

Thanks
by chase1
15 Jul 2016, 21:43
Forum: Ask for Help (v1)
Topic: For each loop, like vba Topic is solved
Replies: 6
Views: 2080

Re: For each loop, like vba Topic is solved

Real quick, if i wanted the loop to start at position 2. How would i do that?

I tried {down %a_index% + 2} + %2% and without any %'s without any results
by chase1
15 Jul 2016, 20:21
Forum: Ask for Help (v1)
Topic: For each loop, like vba Topic is solved
Replies: 6
Views: 2080

Re: For each loop, like vba Topic is solved

Thank you.

Exactly what i was looking for.

Much appreciated.
by chase1
15 Jul 2016, 19:51
Forum: Ask for Help (v1)
Topic: For each loop, like vba Topic is solved
Replies: 6
Views: 2080

For each loop, like vba Topic is solved

Hi, New to Hotkey, love it. Looking forward to learning and contributing. Having some trouble with a loop. I have an input box and i want the code to loop until that number. The number is being stored as x With VBA code it would be: InputBox, x for t=1 to x send, {down t} next t So if the user enter...

Go to advanced search