User Tag List

Results 1 to 4 of 4

Thread: Retrieve a Window Title

  1. #1
    mojofltr
    Guest

    Retrieve a Window Title

    I'm playing with the idea of building a 4Noah one-switch on-screen keyboard (for accessibility). I've done some testing with ControlX and was able to get things working... albeit a bit sloppily. Unfortunately, with the methods I have used, things can get a bit out of control if many applications are open simultaneously.

    What would really help is if I knew of a way to retrieve the name of a current window, regardless of whether it is my program. This way I could tell my program where to type the text. (example: When the user clicks on Notepad, my program could set an alterable string to "Notepad"... then my program could use ControlX to hop back and forth, accurately, between my program and Notepad.

    The example in the DLL object archive uses user32.dll to retrieve the name of the program window. Is it possible to tweak the example so that it will retrieve the name of another open window? I tried setting the Window Control object to place my window always on top... and then changed the event so that it performed the function when a key was pressed, but it still came up with the name of my own program. This was probably completely silly of me, but I know nothing about the user32.dll or DLLs in general. :P

    I've considered upgrading to MMF2DEV with the hopes that the Sphax Kernal Object would support a similar function (funny enough - I upgraded from MMF to MMF2 so that I could use Control... anyone know if it does?

    Anyway... any help would be greatly appreciated. It is for a good cause.

  2. #2
    No Products Registered

    Join Date
    Dec 2008
    Location
    U.S.
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Retrieve a Window Title

    Could you show us what a 4Noah keyboard is?

  3. #3
    mojofltr
    Guest

    Re: Retrieve a Window Title

    4Noah Keyboard hasn't been built yet, so... no. Essentially, it will be an on-screen keyboard that can perform the task of a regular keyboard, except is controlled with only one button.

    4Noah is the name I gave to several assistive software utilities I have written that reduce the number of controls needed to play a game or perform regular computer tasks. Most recent is my 4Noah Mouse Controller that allows for full control of a mouse using one button.

    Here are a couple of videos of two 4Noah utilities in action:

    http://www.youtube.com/watch?v=B_p88xpB9UU
    4Noah - Sonic the Hedgehog

    http://www.youtube.com/watch?v=zg_qmy3VwV4
    4Noah Mouse - MSPaint

  4. #4
    mojofltr
    Guest

    Re: Retrieve a Window Title

    Maybe someone can confirm whether or not the Sphax Kernel Object can do this?

    //edit//

    Just in case someone eventually stumbles onto this thread with the same question... I have confirmation that Sphax Kernel will do this.

Similar Threads

  1. [Bug] Window Control & Application Title.
    By ProdigyX in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 14th June 2012, 04:49 AM
  2. Get windows Title
    By Dagge in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st July 2010, 05:19 PM
  3. Retrieve window border colour?
    By Raylax in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 14th November 2008, 03:53 PM
  4. Spax Kernel and Window Title: Bug?
    By Quinto in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th August 2007, 02:58 PM
  5. Dragging a Window without a title bar
    By LIJI in forum File Archive
    Replies: 1
    Last Post: 21st October 2006, 06:37 PM

Posting Permissions

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