Jump to content

Pop Up Slash Idendification

Recommended Posts


Hi I am creating a script that fills in some relevant data on a web based interface using Chrome.

Occasionally, there is a warning with the data I am sending and a message pops up. In the past I was able to use WinWaitActive() with a timeout since the pop up error was a Windows message box. With the change to the web based interface, the warnings are now pop up splashes and I am having trouble identifying if an error occurred.

Is there a way to identify the pop splash window? I tried using Au3info but it doesn't identify the pop up splash message. I also tried to use simplespy but I am not sure which of the properties refers to the splash window (if any, I can post if requested). I tried to capture just the splash window but the whole window seems to be referenced by the "red capture frame".

Any help in identifying the pop splash handle will be appreciated.

this is what it looks like

pop up splash.png

here is the Au3Info information:

>>>> Window <<<<
Title:    Priority 18 - Google Chrome
Class:    Chrome_WidgetWin_1
Position:    -8, -8
Size:    1382, 744
Style:    0x17CF0000
ExStyle:    0x00000100
Handle:    0x004805FA

>>>> Control <<<<
Class:    Chrome_RenderWidgetHostHWND
Instance:    1
ClassnameNN:    Chrome_RenderWidgetHostHWND1
Advanced (Class):    [CLASS:Chrome_RenderWidgetHostHWND; INSTANCE:1]
ID:    307150784
Text:    Chrome Legacy Window
Position:    0, 74
Size:    1366, 662
ControlClick Coords:    666, 292
Style:    0x56300000
ExStyle:    0x00000020
Handle:    0x0012081E

>>>> Mouse <<<<
Position:    666, 358
Cursor ID:    2
Color:    0xFFFFFF

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Chrome Legacy Window

>>>> Hidden Text <<<<
Chrome Legacy Window

Share this post

Link to post
Share on other sites

You'll need to use the Chrome UDF, firefox UDF, or IE UDF.

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now