Sign in to follow this  
Followers 0
skafreak_510

Show Desktop

12 posts in this topic

What command do I use to show the desktop?

Share this post


Link to post
Share on other sites



What command do I use to show the desktop?

What do you mean? You want to do something similar to the "Show Desktop" quick launch button in WinXP?

Share this post


Link to post
Share on other sites

I mean 'send ("{LWIN} + D")' but how do I make it so the '+' plus not shift?

Share this post


Link to post
Share on other sites

I mean 'send ("{LWIN} + D")' but how do I make it so the '+' plus not shift?

Nah man, w0uter's got the most effective way... send("#d"). For yours to work, it would probably have to be something like send("{LWIN} & D") although i could be wrong...

Share this post


Link to post
Share on other sites

minimizing is diffent then giving focus to the desktop ;)

What you and Cyberslug suggested both do exactly the same thing.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

What you and Cyberslug suggested both do exactly the same thing.

They only "do exactly the same thing"...

...if you can get send("#d") to do anything at all.

Some users disable "Windows+X hotkeys".

WinMinimizeAll() will work on those systems.

Using send("#d") might affect your script portability.

XP Tweak UI >> Explorer >> settings >> "Enable Windows+X hotkeys"

Later....


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

minimizing is diffent then giving focus to the desktop ;)

My testing indicates that WinMinimizeAll does give focus to the desktop the same way that pressing Win+D or clicking the "Show Desktop.desklink" icon do.

(At least on Windows XP SP2.)


Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!

Share this post


Link to post
Share on other sites

Mine doesn't -- try having something like a file dialogue open and compare the two results.

If I could figure out how to wrap this information into an AutoIt call then I'd win! ;)

Share this post


Link to post
Share on other sites

Local $ShellObj = ObjCreate("Shell.Application")
$ShellObj.ToggleDesktop()

Thanks to herewasplato for a link and Dale for working out the code for me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0