Title

Message

Confirm

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

Jumplist; Only works on Display fusion Taskbar?

Avatar from Gravatar.com
Jcee
203 discussion posts
Jumplist functions dont seem to be visible on windows 8.1s regular task-bar for me.. And since I dont use the display fusion taskbar, I dont get access to them at all (except through shortcuts, or those 'titlebar buttons, which are buggy, and I would prefer not to use)

If Possible I would prefer it if functions could be added to the context menu that displays when you right click the titlebar for a window
Jun 6, 2015  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We would love to have them on the Windows taskbar as well, but unfortunately it's not possible at the moment, due to technical limitations in Windows :(

However, if there's a way to do it in the future, we will definitely be adding the DisplayFusion functions to the jump lists on the Windows taskbar :)
Jun 8, 2015  • #2
Avatar from Gravatar.com
Jcee
203 discussion posts
What about adding to the right click context when clicking the title-bar? (or if thats not possible, creating your own context menu that fires when you hold ctrl, and right click)
I've already got so many hotkeys to worry about, that its not worth having them for every function @.@ but 1 hotkey to bring up a customizable list of functions wouldnt be so bad
Jun 8, 2015  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
That actually may be do-able and is on our list to do. I'll definitely let you know if we're able to implement it :)

Would you be interested in a Scripted Function that pops up a dialog box asking you to choose a function from a list? You'd be able to customize the script to show whichever functions you like in the list.
Jun 9, 2015  • #4
Avatar from Gravatar.com
Jcee
203 discussion posts
That would indeed be a useful solution, if it were easily customizable, and looked decent with 20~ options
Jun 9, 2015  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, great! I'll let you know was soon as we have a sample script available.
Jun 10, 2015  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, here you go! Just customize the list in the script with whatever functions you like
• Attachment: Show_Custom_Function_List.txt [1,778 bytes]
Jun 11, 2015  • #7
Avatar from Gravatar.com
Jcee
203 discussion posts
Works great, and is easily customizable, thanks. The only improvement I could even think of would be reducing it to 1 click. (Showing the list immediately when the hotkey is pressed, and running the function without an 'ok' confirmation)

Ill definitely be using it, however :)
Jun 11, 2015  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sure! Give the attached one a go
• Attachment: Show_Custom_Function_List_One_Click.txt [2,806 bytes]
Jun 12, 2015  • #9
Avatar from Gravatar.com
Jcee
203 discussion posts
Wow, absolutely awsome you should definitely add it to the scripted functions list simple, yet extremely useful
Jun 12, 2015  • #10
Avatar from Gravatar.com
DS1508
36 discussion posts
Hello there.
I just tried your OnClick code, it works very good. But the ContextMenuWindow is below the active window, where i clicked the button. So I cant see it. Is it possible to bring the context window to front? how?

--- EDIT ---
Ok, I've played around with your script and changed it a little bit.
- Added Background and Foreground Colors
- Added set focus (my window was always behind the calling one)
• Attachment: ShowCustomFunctionList MoveWin.txt [3,551 bytes]
Jun 13, 2015 (modified Jun 13, 2015)  • #11
Avatar from Gravatar.com
DS1508
36 discussion posts
Sorry, it's still not always working. Often the menu is still below the calling window. Do you have an idea how we could solve this?
Jun 14, 2015  • #12
Avatar from Gravatar.com
Jcee
203 discussion posts
Not having that problem myself, in-fact its above everything else, full-screen(windowed games), metro UI, and even the other system right click context menu's And Im calling it with both a hotkey, and a title-bar button.

Also after using it, for a couple days I've got some more feed-back/suggestions to help improve it:

The menu doesn't disappear until you use a function. It should have focus, and disappear when its lost (IE when you click outside of the context menu) This issue is slightly annoying but not vital, as you usually intend to use it when you call it (and you can add a 'dummy' function titled 'close' if you decide you dont want to activate any other functions

Also something fixed with DS's version; Because the window has focus, you can use keyboard shortcuts with it...
Jun 14, 2015 (modified Jun 14, 2015)  • #13
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@DS: Which version of Windows are you running? I have this issue on Windows 10, but not in Windows 8 or 7.
Jun 15, 2015  • #14
Avatar from Gravatar.com
DS1508
36 discussion posts
I'm using Windows 7 Ultimate (all/latest patches) with 1 Screen 1920x1080.

And atm it's not working. Just tried it again, and every menu was below the calling window, when using titlebar button. With a hotkey the menu shows on top, next to the mouse pointer.
Jun 16, 2015  • #15
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Strange! Works every time for me. Could you attach a copy of your troubleshooting info?
  • Open the DisplayFusion Settings > Troubleshooting tab
  • Click the Copy to Clipboard button
  • Open Notepad, paste the text, and save the file
  • Reply with the text file attached
Jun 16, 2015  • #16
Avatar from Gravatar.com
DS1508
36 discussion posts
Here it is.
• Attachment [protected]: trouble.txt [78,493 bytes]
Jun 17, 2015  • #17
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! Everything there looks ok. Which application windows are you trying it on? I just tested with Windows Explorer, but maybe the issue is specific to certain applications?
Jun 17, 2015  • #18
Avatar from Gravatar.com
DS1508
36 discussion posts
No, it happens on every window.
I tried Firefox, Windows Explorer, Chrome, Process Explorer, and others. The Menu is always below. :-[
Jun 17, 2015  • #19
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you add this below your SetFocus line, does that help?

BFS.Window.SetAlwaysOnTop(menu.Handle, true);
Jun 18, 2015  • #20
Avatar from Gravatar.com
DS1508
36 discussion posts
No, sorry, did not work. See screenshot.

It's still below the window. And like you can see, it's useless.
• Attachment: DF_scn.jpg [209,015 bytes]
DF_scn.jpg
DF_scn.jpg
Jun 18, 2015  • #21
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I may have found a dirty workaround. Could you try this instead of just BFS.Window.Focus?

Code

Jun 19, 2015  • #22
Avatar from Gravatar.com
DS1508
36 discussion posts
Lol, this is a funny thing. But, no, it's not working. See screenrecord.
• Attachment: DF_Menu.mp4 [409,911 bytes]
Jun 20, 2015  • #23
Avatar from Gravatar.com
Jcee
203 discussion posts
Just a hunch, but have you tried the 'always on top' function to see if its working perfectly? If-so what if you applied it to that window?
Jun 20, 2015  • #24
Avatar from Gravatar.com
DS1508
36 discussion posts
Yes, I tried this too. See Screenshot.
I don't know what this is, but nothing works. (Till now)

Edit:
When using a hotkey, everything's ok. But when I click on the Titlebar Button, the menu is always below the window. Every window, Explorer, Browsers, ...
Jun 20, 2015 (modified Jun 20, 2015)  • #25
Avatar from Gravatar.com
Jcee
203 discussion posts
do you have any other functions or programs running that might be trying to force something to the forground, or prevent window deactivation? try booting into safe-mode and start display fusion and see if the problem still exist?
Jun 21, 2015  • #26
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Hah! I said it was a dirty workaround ;)

I actually had that issue with my workaround a couple of times, but it mostly worked for me. Must be a timing related thing.

I think this issue has something to do with the titlebar button z-order code in DisplayFusion. I can't reproduce it in Windows 7, but I can in Windows 10, so I'm hoping that if we can fix it there, it will fix it up for you as well.

I've put it on our list, and I'll keep you posted when we've had a chance to work on it.

Thanks!
Jun 23, 2015  • #27
Avatar from Gravatar.com
Jcee
203 discussion posts
Im pretty sure I solved the issue you were having DS1508, by throwing this, at the start, and end of the function:

BFS.DisplayFusion.RunFunction("Prevent Window Deactivation (keeps game windows focused)");

Code

Jul 9, 2015  • #28
Avatar from Gravatar.com
cryodream
1 discussion post
All I want to say is Thank You, the developers and community.

I came to forums to ask if there was a way to do exactly this sort of thing. And I found this thread.

Stupid me, I have completely forgotten, that DisplayFusion let's you code your own functions, in c# no less (my favorite language). Now that I think about it, I remember it was one if not the most important things that I liked, when I bought the software. Or rather I was deciding, if I want to try it out, because I have bought and went through the most of the popular monitor managers over the years and I was tired of switching and learning ins and outs of another one, all over again. But when I saw custom functions in c#, I remember buying right then and there. The funny thing is, I was probably busy to play with it straight away, so I didn't. And then I completely forgot about it. F*** me.

Anyway. What can I say more: although it's was the first time of me messing with it - it took me all but 10 minutes. Downloaded both scripts from the Keith and DS. using them as example, just made the changes to suit me. DS, thanks for the colors - very nice and very handy to differentiate between the "groups" of functions, and the "close" functionality.
Between that, and the most user-friendly "in-built" scripting GUI, with the debugger (verify), in 10 minutes I had exactly what I came here for and works like a charm.

Once again, to the devs of displayfusion - thank You. I have many times used displayfusion as an example of superb software at an awesome price and with very reasonable licence options. Now I feel, like I have even better reasons for keep usingit it as an example, for how software should be done and priced. Kudos!
Jun 1, 2016  • #29
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@cryodream: Thanks for the kind words, glad to hear you're enjoying DisplayFusion and the Scripted Functions!
Jun 2, 2016  • #30
Avatar from Gravatar.com
Chris G1
61 discussion posts
I am running 9.4 Beta 2 on Windows 10 (version 1803, build 17134.228) and using this custom function (downloaded within DF) and have it linked to a TitleBar button. It works the first time and then each subsequent time the menu disappears very shortly after clicking the associated Titlebar button.

I tried Jcee's fix and that did not work either.

Any ideas?

Also, how do I stop the systray notifications popping up each time I click the associated Titlebar button?

Thanks.
Aug 28, 2018  • #31
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Been a while since I looked at this script! I ran into the same issue as you here, and I think I've fixed it by changing line 61 from:

Code



to

Code



Regarding the notifications, you can disable them with the "Don't Show Tray Icon Notification Balloons" option in the Settings > Advanced Settings window.
Aug 29, 2018  • #32
Avatar from Gravatar.com
Chris G1
61 discussion posts
Thanks Keith - unfortunately still having the same problem. The menu appears to fall behind the window within a second.
Aug 29, 2018  • #33
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'm not sure what else to try here. I could modify the script so that it shows the functions in a pop-up dialog instead of trying to build the menu over the titlebar button. Would that that fit your workflow?
Sep 5, 2018  • #34
Was this helpful?  Login to Vote(4)  Login to Vote
<< DiscussionsReply