Show Desktop

Features wanted...
Post Reply
DixieCup48
Posts: 114
Joined: 30 Jan 2018 14:58

Show Desktop

Post by DixieCup48 »

Is there any way whereby XYP could have a button, script, or any other means to activate the command "Show Desktop" ?

Am aware there are a number of ways to accomplish this but would like to be able to do so via XYP. :tup:

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Show Desktop

Post by Horst »

The XY default button This PC contains it.
Screenshot - 11.03.2023 , 16_42_58.png
You do not have the required permissions to view the files attached to this post.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Show Desktop

Post by jupe »

Here is one way to do it, but it will be slow,

Code: Select all

run "powershell -command ""(New-Object -ComObject Shell.Application).ToggleDesktop()""",,, 0;
Of course you also have the other options mentioned last time you asked this too:
viewtopic.php?t=25278

DixieCup48
Posts: 114
Joined: 30 Jan 2018 14:58

Re: Show Desktop

Post by DixieCup48 »

To jupe

You gently but accurately admonished me on that one!

Is reminiscent of the quotation by Oscar Wilde , "Youth is such a wonderful thing - what a shame ;) to waste it on the young". ;)

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Show Desktop

Post by jupe »

Yes memory is good, but using the search feature is more reliable. BTW I converted previous suggestion to vbs, will work faster, but you need to create an external vbs file with this content:

Code: Select all

CreateObject("Shell.Application").ToggleDesktop
then run it like so: run "wscript ""c:\path\file.vbs""";

yusef88
Posts: 1148
Joined: 28 Jan 2013 03:50
Location: Windows 8.1 32-bit

Re: Show Desktop

Post by yusef88 »

run "shell:::{3080F90D-D7AD-11D9-BD98-0000947B0257}"

admin
Site Admin
Posts: 66094
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Show Desktop

Post by admin »

Missing the final ; but bingo! :tup:

Post Reply