Search found 537 matches

by Archimede
40 minutes ago
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada
I saw it but it no explain the use of (*) alone; it explain the use of * at the end of the last parameter.
by Archimede
Today, 09:41
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Descolada It seem you have reason about SetTitleMatchMode(...) Before now I tested a similar thing: SetTitleMatchMode( 1 ) WinEvent.Show( FunctionTest, "Senza nome" ) ; <- Italian version of Notepad window begin title ;SetTitleMatchMode( 3 ) Persistent() FunctionTest( eventObj, hWnd, dwmsEventTime ...
by Archimede
Today, 08:16
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Descolada Hallo. Nice! I tested it, seem work well. I no understood the third point: 3) Events follow DetectHiddenWindows and DetectHiddenText settings, with the exception of Create and Show because these usually require DetectHiddenWindows enabled please can explain it me better? Remain the proble...
by Archimede
Yesterday, 08:24
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

I found these explanations about Event type: Show : When a Window / Menu is shown. A previously hidden or non-existent Window or menu appears on the screen. It is similar to an asynchronous version of WinWait with DetectHiddenWindows "Off". When a program starts, it usually creates a Window; althoug...
by Archimede
Yesterday, 04:53
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada
Hallo.
I see
WinEvent.Restore(...)
detect the window normalization after iconization, but no detect window normalization after zooming.
I think the better thing is to detect window normalization after zooming too.
by Archimede
14 May 2024, 05:12
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Descolada Thank you very much. I have a problem with Create: SetTitleMatchMode "RegEx" oEventHook := WinEvent.Create( FunctionTest, ".+" ) FunctionTest( eventObj, hWnd, dwmsEventTime ) { sTest4 := WinGetTitle( "ahk_id " . hWnd ) sTest5 := WinGetTitle( "ahk_id " . hWnd ) If( WinGetTitle( "ahk_id " ....
by Archimede
14 May 2024, 03:44
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Descolada Hallo. I am trying to understand well the meaning of any Event you defined. In the library I see this line (values assignation to an associative array): "Close", [this.EVENT_OBJECT_CREATE, this.EVENT_OBJECT_NAMECHANGE, this.EVENT_OBJECT_DESTROY] the I would understand what is the *exact* ...
by Archimede
14 May 2024, 03:12
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada Please, can you put here an Internet address where i can understand well all definitions like `Show`, `Create`, `Close`, `Exist`, `Active` and so on? I searched, but I no found anything about it. I know the definition are autoexplain, but I need to know the exact definitions and differenc...
by Archimede
13 May 2024, 17:34
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada
Then you tell if I use
WinEvent.Pause(0)
that restart only the previous paused event by
WinEvent.Pause(1)
not ALL previous paused events by
oEventHook.Pause(1)
too?
by Archimede
13 May 2024, 11:52
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada
I found a small bug:

Code: Select all

SetTitleMatchMode "RegEx"
oEventHook := WinEvent.Show( FunctionTest, ".+" )
WinEvent.Pause( 1 )
iTest := HookWinPauseGet( oEventHook )
In this case the iTest value is 0 and not 1.
The Pause works well.
by Archimede
13 May 2024, 11:16
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada
Hallo.
I would like to understand what is the return value of
WinEvent.Stop(EventType?, WinTitle:="", WinText:="", ExcludeTitle:="", ExcludeText:="")
Thank you very much.
by Archimede
13 May 2024, 09:46
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

@Descolada I understood all you wrote, thank you very much. I am an hardware developer and I am careful to the time execution for the hardware control. I think your explanations are very interesting but, only about time execution, you must consider theAutoHotkey language is not compiled, is interpre...
by Archimede
13 May 2024, 05:39
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

I don't understand what is this function in the library:
WinEvent.IsEventTypeRegistered(EventType)
Please, can you explain me it? It seem like
WinEvent.IsRegistered(EventType)
without any other argument defined, or not?
by Archimede
13 May 2024, 05:31
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Yes, but: - to set the function call and, into the called function, filter the window name is simple, but requires many execution time; - to set only window ( eg, no menu or other ) to call the function ( it save many time about many not desired window detection ) is no possible, because is no possi...
by Archimede
13 May 2024, 03:18
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

Hallo Descolada.
I saw the WinEvent... detect any type of window, like system menu, window menu, standard window...
I suggest you, if possible, to add the possibility to set what type of window to detect.
by Archimede
11 May 2024, 12:02
Forum: Scripts and Functions (v2)
Topic: [alpha] WinEvent - easily detect window open, close, move, and more
Replies: 45
Views: 2769

Re: [alpha] WinEvent - easily detect window open, close, move, and more

For descolada: I downloaded the WinEvent library. Nice! your is a very interesting work. I found a limit: all functions are conditioned by the SetTitleMatchMode ... function: if I call one WinEvent function, and, after that, I set a different window title search by SetTitleMatchMode ... it modify th...
by Archimede
11 May 2024, 11:43
Forum: Ask for Help (v2)
Topic: WinWaitActive( ... ) for all windows begins with "h" but no other
Replies: 3
Views: 123

Re: WinWaitActive( ... ) for all windows begins with "h" but no other

Sorry.
This is wrong and I am not able to delete it.
I post another right message.
by Archimede
11 May 2024, 11:40
Forum: Ask for Help (v2)
Topic: Re: WinWaitActive( ... ) for all windows with any title but no without title
Replies: 2
Views: 95

Re: WinWaitActive( ... ) for all windows with any title but no without title

I need to use WinWaitActive(...) to wait for any window with any title, but NO window without title: is it possible?

Go to advanced search