| View previous topic :: View next topic |
| Author |
Message |
Kevin Guest
|
Posted: Sat Jan 21, 2006 2:47 pm Post subject: Switch2Desktop V1.0 |
|
|
Hello, this script is writen and tested on a Windows XP-computer. It switches to the desktop if you press F12.
| Code: | #NoTrayIcon
F12::Goto, desktop
desktop:
WinActivate, ahk_class Shell_TrayWnd
MouseClick, right, 101, 13
SetKeyDelay, -1
Send, {UP}{UP}{UP}{UP}{ENTER}
return |
|
|
| Back to top |
|
 |
Kevin Guest
|
Posted: Sat Jan 21, 2006 2:55 pm Post subject: |
|
|
Or a shorter version:
| Code: | #NoTrayIcon
F12::Goto, desktop
desktop:
Send, #d
return |
|
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Sat Jan 21, 2006 3:00 pm Post subject: |
|
|
| Code: | | F12::Run, "C:\Documents and Settings\%USERNAME%\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf" | This one too & reverse. TBH, its just a standard shortcut which you should find at your quicklaunch bar - labeled "Show Desktop". Check it out.
Anyway. Thx for sharing it.  |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5382 Location: /b/
|
Posted: Sat Jan 21, 2006 3:10 pm Post subject: |
|
|
| Hows about an even more shorter version |
|
| Back to top |
|
 |
kapege.de
Joined: 07 Feb 2005 Posts: 188 Location: Munich, Germany
|
Posted: Mon Jan 23, 2006 9:57 am Post subject: |
|
|
The shortest version of all: | Code: | | ; Press Win + d to see the Desktop |
 _________________ Peter
Wisenheiming for beginners: KaPeGe (German only, sorry) |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Mon Jan 23, 2006 11:07 am Post subject: |
|
|
@kapege.de: not the shortest, but perhaps the fastest/using the less resources...
Well, the script can be useful if you are unfortunate enough to get a computer without Win key...
In this case, some script to remap a key combination to the Win key would be even more useful.
Last edited by PhiLho on Wed Jan 25, 2006 2:49 pm; edited 1 time in total |
|
| Back to top |
|
 |
skrommel
Joined: 30 Jul 2004 Posts: 181
|
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5382 Location: /b/
|
Posted: Wed Jan 25, 2006 12:12 am Post subject: |
|
|
@kapege.de, have you seen my code above? Win+d is a Windows hotkey that hides/shows the desktop in toggle mode. I tried to mention that by posting the code  |
|
| Back to top |
|
 |
kapege.de
Joined: 07 Feb 2005 Posts: 188 Location: Munich, Germany
|
Posted: Wed Jan 25, 2006 9:57 am Post subject: |
|
|
| Titan wrote: | @kapege.de, have you seen my code above? Win+d is a Windows hotkey that hides/shows the desktop in toggle mode. I tried to mention that by posting the code  |
Has you seen this: ?
I was just in a happy mood and kidding. For sure my code with the one line comment is not really helpful, but I win the price for the fastest script, didn't I? again _________________ Peter
Wisenheiming for beginners: KaPeGe (German only, sorry) |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5382 Location: /b/
|
Posted: Wed Jan 25, 2006 10:18 am Post subject: |
|
|
lol, it would be a faster script indeed  |
|
| Back to top |
|
 |
Panadero Guest
|
Posted: Thu Jan 26, 2006 10:20 pm Post subject: Show Desktop Items? |
|
|
Hi everyone,
what's the code I'd need to 'show desktop icons'? i get tired of seeing the icons sometimes..... any input would help.
thanks. |
|
| Back to top |
|
 |
T-nm Guest
|
Posted: Mon Jan 30, 2006 9:17 pm Post subject: |
|
|
| I'm not really certain of what you meant... |
|
| Back to top |
|
 |
not-logged-in-daonlyfreez Guest
|
Posted: Tue Jan 31, 2006 1:50 pm Post subject: |
|
|
You will need to change registry settings:
HideDesktopIcons.reg:
| Code: | REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDesktop"=dword:00000001 |
ShowDesktopIcons.reg:
| Code: | REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDesktop"=dword:00000000 |
For this to work, you will need to shutdown all instances of Explorer, and start one again. It might even be necessary to logoff/login again to make the changes visible. |
|
| Back to top |
|
 |
Serenity
Joined: 07 Nov 2004 Posts: 1275
|
Posted: Tue Jan 31, 2006 7:19 pm Post subject: |
|
|
Panadero, it's possible to show/hide desktop icons with AutoHotkey. See this thread. :) _________________ "Anything worth doing is worth doing slowly." - Mae West
 |
|
| Back to top |
|
 |
skrommel
Joined: 30 Jul 2004 Posts: 181
|
Posted: Mon Feb 20, 2006 8:22 pm Post subject: WinHide and WinShow |
|
|
A simple WinHide,Program Manager and WinShow,Program Manager should work.
Skrommel |
|
| Back to top |
|
 |
|