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?
Save up to 50% on our desktop apps during our Year End Sale!Save up to 50% on our desktop apps during our Year End Sale, including DisplayFusion, ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!Save up to 50% on our desktop apps during our Year End Sale!

User Image
Aeon
11 discussion posts
Hello dear friends at displayfusion!

I was wondering if anyone could assist me with a script that worked in the following way:

Whenever a display is disconnected, the auto-hide setting for the taskbar would change from "auto-hide" to "disable" and back to "auto-hide" again!

I have this annoying issue that every time I disconnect my tablet monitor, my main screen's taskbar goes missing and that procedure I mentioned is the only way to bring it back without restarting the machine.

Thank you so much!
Mar 31, 2015 (modified Apr 1, 2015)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I'm not sure if that's possible, but we'll certainly look into it :)
Apr 6, 2015  • #2
User Image
Aeon
11 discussion posts
Thank you, Keith!

Just trying to think about something to sort out that annoying bug, which probably does not deserve people spending time looking into it, as I think I'm the only one ever connecting and disconnecting a display like that.

That was the only way I found and making it an automatic process would be a hell of an awesome time-saver for me 8)
Apr 8, 2015  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, we've actually found that just trying to set the location of the taskbar (even though it will fail) seems to cause it to refresh. Could you try this?
  • On the Settings > Functions tab, click "Add Scripted"
  • Give it a name and a key combination, and then clear the default code that's in the box
  • Paste in the code from below
  • Click OK, and OK again
  • Next time your Windows taskbar disappears, press the key combination and see if it comes back

Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
public static void Run()
{
IntPtr windowHandle = BFS.Window.GetWindowByClass("Shell_TrayWnd");
BFS.Window.SetLocation(windowHandle, 0, 0);
}
}


If that doesn't work, we have another idea :)

Thanks!
Apr 10, 2015  • #4
User Image
Aeon
11 discussion posts
Heyyy Keith!

I followed the steps but it did not work :(

Taskbar remains invisible, except for a very thin outline.
Apr 11, 2015  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, too bad :(

We do have a few other ideas, and we'll keep you posted once we have a new script to try.

Thanks!
Apr 14, 2015  • #6
User Image
Aeon
11 discussion posts
Awesome! Can't wait to try them out :)

Regarding the previous script, I could tell it would trigger something, as the little icon popped up when I hit the key combination, but as far as bringing the taskbar back from transparency/invisibility, nothing.

Thanks for the effort! :laugh:
Apr 16, 2015  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, we were able to add scripting functions to toggle auto-hide off and on. Could you update to 7.2 Beta 4, and then try the attached script?
• Attachment: Toggle AutoHide Off and On.txt [219 bytes]
Apr 21, 2015  • #8
User Image
Aeon
11 discussion posts
Yay, sure!

But the attachment thingy says "protected" so I can't see the code.
Apr 23, 2015  • #9
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sorry about that! Try it now :)
Apr 23, 2015  • #10
User Image
Aeon
11 discussion posts
YEAH Keith man! It worked marvelously! :laugh:

Thanks so much for the effort and I'm feeling super glad I supported a company that fix problems that efficiently!

Cheers.
Apr 23, 2015  • #11
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome, glad to hear it!
Apr 24, 2015  • #12
User Image
ry4n
14 discussion posts
thanks worked for me also
Jun 9, 2015  • #13
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)