DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Last post Author Topic: Need ADH Advice  (Read 36,293 times)

Kruskal

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 72
Re: Need ADH Advice
« Reply #25 on: May 08, 2010, 07:19 PM »
Does AHK GUI support forcing a window to stay on top?

Thanks -- Vincent

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • Coding Snacks
    • Volunteers/Staff
    • Gathering Badge
    • Participated in NANY Challenge Once
    • Linux User
Re: Need ADH Advice
« Reply #26 on: May 09, 2010, 04:10 AM »
Does AHK GUI support forcing a window to stay on top?

yes, you can by adding the following code, anywhere within the Gui section. preferably before Gui, Show.
Code
Gui, +AlwaysOnTop 

Kruskal

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 72
Re: Need ADH Advice
« Reply #27 on: May 09, 2010, 04:33 AM »
From a GUI perspective, I'd say this little tool, which I call WhoseWindow, is perfect now.

But there is one deep problem that remains, which I suspect is not possible to fix: In three cases the answer to "whose window" is so generic as to have limited usefulness, explorer, rundll and svchost.

Can someone think of a way to get more specific information in any or all of these cases? (Probably to be displayed in the info window as an additional line.)

Thanks -- Vincent

Kruskal

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 72
Re: Need ADH Advice
« Reply #28 on: May 09, 2010, 04:35 AM »
yes, you can by adding the following code, anywhere within the Gui section. preferably before Gui, Show.
Code
Gui, +AlwaysOnTop 

Many thanks. I looked at the help file GUI entry for quite some time and couldn't find AlwaysOnTop. (Probably due to not knowing how to do a search within help text.)

Vincent

skwire

  • I eat Coding Snacks for breakfast...
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,297
    • Participated in NANY Challenge Seventeen Times
    • Coding Snacks
    • Superboy Coder
    • Cody Award
    • Volunteers/Staff
    • Gathering Badge
Re: Need ADH Advice
« Reply #29 on: May 09, 2010, 07:10 AM »
Can someone think of a way to get more specific information in any or all of these cases? (Probably to be displayed in the info window as an additional line.)

What sort of specific information are you wanting?  Let us know and I'm sure we can come up with something or, at the very least, let you know that we can't.

Kruskal

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 72
Re: Need ADH Advice
« Reply #30 on: May 09, 2010, 11:09 PM »
Can someone think of a way to get more specific information in any or all of these cases? (Probably to be displayed in the info window as an additional line.)

What sort of specific information are you wanting?  Let us know and I'm sure we can come up with something or, at the very least, let you know that we can't.

Well in the case of rundll and scvhost, I want to know the name of the DLL file it is running. I don't know the answer with explorer.exe -- there are all sorts of services which spawn processes/windows under the explorer banner, but I don't know how to name them. Are they separate DLL files, just some subroutine within a humongous explore.exe or something else?

Thanks -- Vincent

Kruskal

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 72
Re: Need ADH Advice
« Reply #31 on: May 10, 2010, 01:31 AM »
Well in the case of rundll and scvhost, I want to know the name of the DLL file it is running. I don't know the answer with explorer.exe -- there are all sorts of services which spawn processes/windows under the explorer banner, but I don't know how to name them. Are they separate DLL files, just some subroutine within a humongous explore.exe or something else?

ProcessExplorer shows the following when holding the cursor over the process name:

rundll:    Rundll target (path and description)
svchost:  Services (and a list of service names)
explorer: Nothing special

Vincent

Original address: https://www.donationcoder.com/forum/index.php?topic=22657.0