Search found 18 matches

by 4birds
09 May 2017, 11:12
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

nevermind, got it. thanks for all of your help jeeswg. loop, { WinGet, hWnd, ID, ahk_class Chrome_WidgetWin_1 oAcc := Acc_ObjectFromWindow(hWnd) ;AccViewer says 'Child ID: 5' and 'Path: 2' so: oAcc := Acc_Get("Object", "4.2.1.1.3", 0, "ahk_id " hWnd) oAcc.accDoDefaultAction(0) oAcc := "" ;return } x...
by 4birds
09 May 2017, 11:09
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

yes! that closed it. Now how would I set that this as a running loop to close it each time?
by 4birds
09 May 2017, 08:28
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

This line of the example of closing the Notedpad

Code: Select all

oAcc := Acc_ObjectFromWindow(hWnd)
I get a "call to a non-existent function" error when I try this out.
any suggestions?
by 4birds
08 May 2017, 21:22
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

Jeeswg, [EDIT:] Btw the question states that WinKill isn't working, does nothing happen, does it close the wrong window? What method did you use to identify the window to close in the past, what happens this time? my original post at the top was the script I used to kill a pop-up from this internal ...
by 4birds
08 May 2017, 18:15
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

WinClose does not work. Using the ACCviewer, I haven't been able to find a separate window title, so the script just ends up closing the chrome browser as the Window Title and text appear to be the same. Here's what I got on the ACCviewer https://ibb.co/nh7rt5 https://ibb.co/nh7rt5 https://ibb.co/nh...
by 4birds
05 May 2017, 00:25
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

well that is indeed the problem, I installed the 32 bit dev version and the script worked for it. Wonder what it will take to get the script under the Chrome 64 bit version?
by 4birds
04 May 2017, 23:49
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

Just ran across this article, http://www.pcworld.com/article/3194417/windows/google-chrome-will-automatically-upgrade-to-the-64-bit-version-if-your-pc-can-handle-it.html Google started automatically updating Chrome on 5-4-2017 to automatically switch from a 32 bit to a 64 bit. Why would this affect ...
by 4birds
03 May 2017, 17:33
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Re: Chrome update, now winkill not working Topic is solved

Yes that's a too crude for now. there has got to be another way. Does anyone know of a Chrome Spy that can find more info on this pop-up?
by 4birds
02 May 2017, 23:30
Forum: Ask For Help
Topic: Chrome update, now winkill not working Topic is solved
Replies: 18
Views: 4766

Chrome update, now winkill not working Topic is solved

I had a loop script that killed a pop-up window on chrome every time it popped up. loop, { WinWait, www.website.com says: ahk_class Chrome_WidgetWin_1 sleep,100 winkill, www.website.com says: ahk_class Chrome_WidgetWin_1 } !x::pause exit app Now after the update I can't figure out why the script won...
by 4birds
07 Jan 2017, 23:27
Forum: Ask For Help
Topic: IE controls, Help clicking element that has certain inner text
Replies: 4
Views: 908

Re: IE controls, Help clicking element that has certain inner text

I have tried the .click() versus .fireevent("onclick") and it doesn't work. Jeeswg, " document.parentWindow.frames.1.0.1.document" is needed as the page has many frames. Using this syntax I am able to click on IDs within the frames, just not any elements that have a specific inner text. I am using t...
by 4birds
06 Jan 2017, 13:35
Forum: Ask For Help
Topic: IE controls, Help clicking element that has certain inner text
Replies: 4
Views: 908

IE controls, Help clicking element that has certain inner text

Hey guys, I need help. I'm trying to click within a table, specifically when the inner text of the element reads "1772" The element has no Id or name. It has an index, but it is dynamic. Here's what I've been trying but to no avail. wb.document.parentWindow.frames.1.0.1.document.getElementById("1772...
by 4birds
12 Jan 2016, 20:01
Forum: Ask For Help
Topic: need help updating Code
Replies: 4
Views: 1032

Re: need help updating Code

Thanks Blackholyman, that worked. One last question, I've updated other parts of this script I use with a company intranet but I'm having problems when it comes to web page frames. Before my script would be this... iweb_setDomObj(pwb,"searchId", empid,"8,16") "8,16" represents the frames. Where woul...
by 4birds
11 Jan 2016, 14:30
Forum: Ask For Help
Topic: need help updating Code
Replies: 4
Views: 1032

Re: need help updating Code

bump
by 4birds
08 Jan 2016, 22:21
Forum: Ask For Help
Topic: need help updating Code
Replies: 4
Views: 1032

need help updating Code

Use to use this code a while back, new AHK won't run it. How do I write this now using current version?

Code: Select all

   COM_Init()
   pwb:=iWeb_getwin("Login Page")
   iWeb_setDomObj(pwb,"userid","7343")
   iWeb_clickDomObj(pwb,"29")
   COM_Release(pwb), COM_Term()

Thanks
by 4birds
08 Jan 2016, 19:15
Forum: Ask For Help
Topic: Problems with COM using ie11 Topic is solved
Replies: 7
Views: 2141

Re: Problems with COM using ie11 Topic is solved

IT WORKED!! I can't thank you enough. Heading over to donate now.

Go to advanced search