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
Christian Treffler
58 discussion posts
I have a scripted function which can be started by a trigger (Window created) or by hotkey.
For hotkey I use 'CTR-ALT-WIN-Y'.

In the function I want know, if it was started by hotkey. I do that using the function

Code

BFS.Input.IsKeyDown("17;18;89;91")

That worked for a long time, but after upgrading to DisplayFusion 11 it stopped working. I found out that this is due to releasing the 'Y'-Key too fast. Before version 11 the scripted function either started so fast that it catched the hotkey before releasing the 'Y'. Or the release of the key was not noticed fast enough so that it worked.
I have a workaround for now. But is there a better way to determine, if the scripted function was started by hotkey or by another trigger?

Regards,
Christian
Dec 12, 2024 (modified Dec 12, 2024)  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Not at the moment but we do have this on our feature request list, so I've added your vote to it.

Thanks!
Dec 12, 2024  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)