Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2005
    Location
    Germany
    Posts
    135

    Get name and handle of applications

    Hey,

    is it possible to get a list of all running applications with the task name (for example Notepad) and the window handle - perhaps with DLL or better -> with plugin?

    thanks in advance

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Code:
    local tWindows = Window.EnumerateTitles(true);
    if(tWindows)then
    	for hWnd, sTitle in tWindows do
    		--hWnd = Window Handle
    		--sTitle = Window Title.
    	end
    end
    It's in the manual look for Window.EnumerateTitles
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    Feb 2005
    Location
    Germany
    Posts
    135
    Great, I didn't know that there is such a function

  4. #4
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by nrgyzer View Post
    Great, I didn't know that there is such a function
    Sometimes if you want to do something in AMS, just open the helpfile and search for a few words that match your plans.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts