PDA

View Full Version : Can Girder minimize all windows then do keyboard shorcut?



CJSnet
October 25th, 2003, 04:29 AM
Hi, I want Girder to:

1) Minimize all windows (same as clicking Show Desktop)
2) Run a keyboard shortcut
..in that order

Can this be done?

I've tried assigning a separate shortcut to Show Desktop, but Windows doesn't allow it or accept it. I need a minimize all command.

TIA

Bitmonster
October 25th, 2003, 04:39 AM
The "Minimize All" command is actually a kind of internet explorer script. You can look at the properties of the according start menu entry to find out it's exact location and then use girder O.S. execute command to simulate this.

CJSnet
October 25th, 2003, 04:52 AM
Wow, that's a great help thanks :) Here are the properties:

[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

But I'm not sure how to integrate that into Girder. Also it has to perform this command *and* the Alt+W keyboard shortcut in that order, all from pressing one key on the MCE remote.

Can you help? I've searched Help but no joy.

Bitmonster
October 25th, 2003, 04:58 AM
You only need the path to this file, not the actual content. Just use this as you would call a batch or a program.

To make more then one action with one event you have to use a "MultiGroup". Please take a look at the online help regarding this.

A small pause between these actions might be needed. For this you can use girder's "Window/Wait" action. Also described in the online help.

CJSnet
November 7th, 2003, 12:03 PM
Ok, can successfully get it to minimize all windows, but the problem is that I can't get it to maximize all windows again.

It seems the Windows 'Show Desktop' command doesn't like being actioned twice from Girder. If I click it twice it will minimize all then maximize all, but not if Girder does it. That may be to do with the resolution change that is occuring between Show Desktop and (un-)Show Desktop.

What does work however is if I manually right-click the taskbar and choose 'Undo minimize all'. Is there any way to have Girder emulate this action with the mouse?

Bitmonster
November 7th, 2003, 01:15 PM
I don't know any other. Possibly there is a small commandline tool out there in the net that you can use.

dandiodati
May 12th, 2005, 12:44 PM
Where is this script to minimize all open apps? I want to minimize all apps on startup.

Dan

jfireluv
May 13th, 2005, 02:43 PM
An easy way to show the desktop and minimize all the current apps is to first
create a shortcut of the "show desktop" icon on your desktop. Right click on the shortcut and click properties. In the Shortcut key section, pick a shortcut key selection such as "Ctrl +Alt + D". Now set a command in Girder to execute "Ctrl +Alt + D".

father of monstermagnet
May 13th, 2005, 11:23 PM
LoadLuaCom ()

AppShell = luacom.CreateObject ("Shell.Application")

AppShell:MinimizeALL ()

Also Lua-Windows or System Functions plugin ? can do this.

yyy2k3
August 22nd, 2005, 04:51 PM
An easy way to show the desktop and minimize all the current apps is "WIn key + M",you can use girder to simulate the keybord act.