AutoHotkey Community

It is currently May 27th, 2012, 11:33 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Show Desktop.scf
PostPosted: August 20th, 2005, 7:33 am 
Offline

Joined: June 6th, 2005, 11:35 pm
Posts: 179
Location: Northern Virginia
Just a quick tip for those who write scripts for games. If you want to avoid having to alt-tab or WinButton out of games just assign a hotkey to run this program:

C:\Documents and Settings\Owner\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf


It is the shortcut to the Windows function 'Show Desktop', which you wouldn't be able to click the shortcut for if you were in a full-screen game.

_________________
_AiK


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 20th, 2005, 8:06 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Hi AiKScroll,

Thanks for the tip.

I was hoping you would provided a small working script. With system variables, so it independed of the system your are using, etc.
So that newbies can immediatly use it. :)

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 20th, 2005, 8:59 am 
Offline

Joined: June 6th, 2005, 11:35 pm
Posts: 179
Location: Northern Virginia
Hmm... heres a simple script

Quote:
$LWin:: ; any key, I chose LWin though
IfWinActive, My Game ; change to the name of your window
{
Run, C:\Documents and Settings\%A_ComputerName%\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf
}
return


P.S. - There must be a way to get the name of your computer. How is it done in AHK? Nevermind Found it!

_________________
_AiK


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 20th, 2005, 1:00 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
How about %USERPROFILE% ?

e.g.
Code:
Run, %USERPROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf


It should be user name, not Computer name.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 20th, 2005, 10:50 pm 
Offline

Joined: June 6th, 2005, 11:35 pm
Posts: 179
Location: Northern Virginia
Yeah that's better. I always use my one account, admin account. I guess other people could have many different users setup so essencially %USERPROFILE% is better than computer name.

_________________
_AiK


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2005, 4:45 pm 
FYI: the standard windows hotkey for "show the desktop" .scf is Winkey+D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: July 16th, 2011, 4:45 pm 
Offline

Joined: July 15th, 2011, 3:17 pm
Posts: 8
On my Windows 7 Home Premium, the path is the following:
Code:
Run, %userprofile%\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Shows Desktop.lnk


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 18th, 2011, 5:15 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
If you're having trouble finding or accessing 'Show Desktop.scf' you can make your own and link to it:

Code:
[shell]
command=2
iconfile=explorer.exe,3
[Taskbar]
command=ToggleDesktop

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group