Title

Message

Confirm

Want to earn a free ClipboardFusion Pro license? We're looking for ClipboardFusion translators!
<< DiscussionsReply

Using ClipboardFusion to inspect UI objects

Avatar from Gravatar.com
Steve F.
2 discussion posts
I've been looking into ClipboardFusion.

As ClipboardFusion supports the .NET frameworks and is extensible, is it possible to inspect the currently selected UI objects from hotkey scripts? For example, if I have the cursor focused on text field A in window B, could I have a hotkey script that checks if Window B and text field A are currently active?

I'm currently using AutoHotKey, but it doesn't seem to let my scripts detect where on the screen the hotkey was called from. This would be great for creating context-sensitive hotkeys. Are there any examples of how to create context-aware hotkeys in Clipboard Fusion?

Thanks for any tips or advice!

Steve.
Sep 16, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
It is possible to check a window's process name, title, and class with a ClipboardFusion Macro, but not really possible to check for a specific control inside a window.

Sorry!
Sep 19, 2019  • #2
Avatar from Gravatar.com
Steve F.
2 discussion posts
Thanks Keith,

After reading through the ClipboardFusion features on the web site, it seems possible for me to build a .NET assembly to query the Windows UIAutomation framework, and retrieve the active control that way.

I need to do a bit more research but this is looking hopeful. Thanks again,

Steve
Sep 19, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, no worries! Good luck!
Sep 19, 2019  • #4
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply