Can we please get a unique window class name?

Features wanted...
Post Reply
kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Can we please get a unique window class name?

Post by kartal »

Hi

It looks like XYplorer is using "ThunderRT6FormDC" as window class name which is not unique to Xyplorer because some other programs are using the same class name. Is it possible to get a unique class name? The reason I am asking is that I use AHK to do certain functions, like invoking XYp window, running certain shortcuts and it non unique window name causes conflict sometimes.

thanks

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Can we please get a unique window class name?

Post by TheQwerty »

If you do not run multiple instances of XYplorer you could also identify XY using the PID. Doesn't help in the cases of # directives, but works fine elsewhere.

Code: Select all

Process Exist, XYplorer.exe
if (ErrorLevel)
  WinGet xyid, ID, ahk_class ThunderRT6FormDC ahk_pid %ErrorLevel%

admin
Site Admin
Posts: 66323
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can we please get a unique window class name?

Post by admin »

kartal wrote:Is it possible to get a unique class name?
AFAIK no.

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Can we please get a unique window class name?

Post by kartal »

Any particular reason? Programming environment limitation? Personal choice?

admin
Site Admin
Posts: 66323
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Can we please get a unique window class name?

Post by admin »

kartal wrote:Any particular reason? Programming environment limitation? Personal choice?
Both: I could do it with VB6 but it would be a lot of work.

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: Can we please get a unique window class name?

Post by kartal »

thanks, that is fair.

Uagadugu
Posts: 34
Joined: 05 Sep 2007 21:27

Re: Can we please get a unique window class name?

Post by Uagadugu »

admin wrote:Both: I could do it with VB6 but it would be a lot of work.
I was under the impression that VB6 was still a viable development environment.
:roll:

Post Reply