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
peejaygee
25 discussion posts
Hey guys, question.

I stream and would like to be able to disable my monitors taskbar I use for output (monitor 3 of a 4 monitor setup) when I have to have a game in windowed mode (due to the game, not supporting full screen/borderless) and I don't really want to have the systray icons visible for the world to see (and I don't want to crop my OBS view just for the odd random game)

I'd like to be able to set up a *.bat file maybe, that calls Displayfusion to say "Hey, turn off the taskbar for monitor 3" and then at the end, I could have another one (*.bat) that I could turn it back on.

Is this possible at all, or you know of a manual workaround?

Thanks for the app guys.
Regards
PJ
Jul 24, 2021  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

If you create a scripted function with the following line:

BFS.DisplayFusion.DisableTaskbar(Monitor number);

You can then call if with our command line tool like this:

DisplayFusionCommand.exe -functionrun "ScriptName"

You can find our command line guide here: https://www.displayfusion.com/Discussions/View/displayfusion-command-line-tool-displayfusioncommandexe/?ID=06d90ec9-5e5a-4be2-8540-6b52fbb4536e#first

And if you have any other questions, I would be happy to help you out.

Thanks!
Jul 26, 2021  • #2
User Image
peejaygee
25 discussion posts
Thanks for coming back to me, I tried, I failed.

I did exactly as you said, I have a 4 monitor setup and windows is saying that monitor 3 from display settings is the monitor number.

So, I created a .bat script with

"C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -functionrun "D:\DisplayFusionScriptMonitorTBOff3.txt"

Then I had a text file called DisplayFusionScriptMonitorTBOff3.txt, which contained

BFS.DisplayFusion.DisableTaskbar(3);

When i run the .bat file, I see the Display Fusion icon in the system tray go away for a fraction of a second and return, but the taskbar on Monitor 3 remains?

What am I doing wrong? Or Does DF not use the same monitor numbers as Windows? as I see on https://www.displayfusion.com/ScriptedFunctions/Help/#bfs_displayfusion that is should only need a number?

Thanks for your time.
Jul 26, 2021  • #3
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

You'll want to create that scripted function within DisplayFusion. I've created one for you that will disable the taskbar on monitor 3. You can import it by opening the DisplayFusion Settings window > Functions > Scripted Function > Import Scripted Function.

Once you have it imported into DisplayFusion, you can call it in your .bat file like this:

C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -functionrun "DisableTaskbar3"

Thanks!
• Attachment: DisableTaskbar3.dfscript [812 bytes]
Jul 27, 2021  • #4
User Image
peejaygee
25 discussion posts
Ohhhhh, silly me [facepalm]

Understand it now, and I've tweaked and made one to 'enable' too

I really appreciate your help and support with this issue.

Also, now understanding the 'scripting' part (sort off) I'll look at the other items and see if there anything that might help me.

Enjoy the rest of your day.
Jul 27, 2021  • #5
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Glad to hear it's working! If you have any other questions, feel free to reach out to us.

Thanks!
Jul 27, 2021  • #6
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)