Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
NetMage
287 discussion posts
I'm not sure how you could add this (easily), but I am wondering if you could add some type of Window Hook event to BFS so that a trigger (such as Window Created) could setup a Window Hook for the new Window, calling a C# function and then modifying/capturing Window events.
Jul 6, 2016  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'll pass this along to our devs to see what insight they can offer on this :)
Jul 7, 2016  • #2
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
What types of window hooks and events are you trying to capture?
Jul 13, 2016  • #3
User Image
NetMage
287 discussion posts
A generic Window Hook that captures all Window events would be nice (imagine implementing Spy++), or maybe one with some type of class filter would be fine. Perhaps something like SetWinEventHook or SetWindowsHookEx? Something like a simplified version of SpyWorks perhaps?

Imagine I was trying to convert minimize button right-clicks to be Minimize to Tray :D

I would want to look for a WM_NCRBUTTONUP message with a HTMINBUTTON wParam and call Minimize to Tray.
Jul 14, 2016  • #4
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
Unfortunately many of these hooks require native DLLs, not the managed code that the scripts run in. It's a very powerful idea though, we'll keep in mind if we can come up with a safe way to do this in the future.
Jul 18, 2016  • #5
User Image
NetMage
287 discussion posts
I figured you are already injecting a DLL into every process with Windows anyway... :)
Jul 19, 2016  • #6
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
We are doing this, but the injected code that runs is all native code, not the managed code the Scripted Functions are written in. :(
Jul 20, 2016  • #7
User Image
NetMage
287 discussion posts
Yes, I think bridging over from the injected native code DLL to a managed code event or function call is they tricky heart of what SpyWorks does :)
Jul 20, 2016  • #8
Jon Tackabury (BFS)'s profile on WallpaperFusion.com
DisplayFusion does this already for some features, but it's very complex and not something we could expose in our scripting functions. :(
Jul 21, 2016  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)