IAccessible Interface

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- various improvements

Selecting a list item will draw a red box around the referenced object in the examined window, provided the data is available.
Double-clicking a list item will invoke the default action in the examined window, provided the action is supported by the IAccessible Interface.

NB*: Force Windows Z-Order was a real pain to nail down; works ok on my system, but no guarantees

Image
Last edited by JHPJHP on Sat Sep 11, 2021 12:18 am, edited 3 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- added a sliding control window
- improved various features
- squashed a couple bugs

NB*: Currently the History list and subsequent database have not been completed.
Last edited by JHPJHP on Sun Apr 24, 2022 9:48 pm, edited 2 times in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- added window timer to detect if examined window was closed
- removed a slight flicker when the Control window was opened
- squashed a bug when choosing an Accessible Object
- patched a couple DPI issues
- made a small change to selection outline
- some minor cosmetic changes
- added additional error checking
- various other improvements

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- finished history database
- numerous improvements
- squashed a couple bugs

History Database
Press the Enter key or double-click an item to return the window data. Press the Delete key on a selected item to remove the record.
The hWnd and PID fields are populated because they're still relevant while the process of a previously scanned window is open.
If a previously scanned window has been closed, make sure to clear the hWnd field before starting a new scan.

Binaries
There are two versions exactly the same, except one runs in admin mode. I noticed that in order to programmatically change the state of a third party window running in admin mode, the program making the request must also be in admin mode.

NB*: A full version demo has been included under FREE STUFF.
Last edited by JHPJHP on Tue Sep 14, 2021 11:30 pm, edited 1 time in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- Enumerate Windows
- improved z-order handling
- expanded Title / Class to accept partial, case insensitive text
- expanded Executable File to optionally use Title / Class filters
- fade-in/out select window

Enumerate Windows
Filters Updated: Root windows only, Visible root windows, and root windows with a Title.

NB*: Options are saved to the database when the control window is closed.

Image

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- squashed a bug

Intermittently would caused the program to crash. Noticed while testing the latest changes to Chromium Edge WebGadget.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
JHPJHP
Addict
Addict
Posts: 2257
Joined: Sat Oct 09, 2010 3:47 am

Re: IAccessible Interface

Post by JHPJHP »

Updated:
- various minor improvements

Executable path\file is now returned with the "Enumerate Windows" data; not sure why I wasn't returning it previously.

Image

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
Locked