PDA

View Full Version : I have some idea to made live easier (maybe)



YawoR
October 18th, 2002, 12:12 PM
I read many posts with questions how to make to control several programms with only one key. There are many different ideas to solve this problem. But Girder should have one more function. How about to add Windows Exists to Group of functions?

Example:

Group Winamp (will be atempted only if Winamp window exists)
Some functions

If Winamp window does not exists Girder will not even try to find EventString in this Group. It will check only what condition should be met to access into this Group. Then all script will be much faster because Girder will not check all functions in all groups that aren't disabled.

What do you think about?

PS. Sorry for my english if I wrote something wrong.

Ron
October 18th, 2002, 12:21 PM
Guess what we have that function, look under Girder commands. Doesn't do exactly what you want but with a few commands you can make it do what you want.

YawoR
October 18th, 2002, 12:34 PM
Yes I know. I did many different scripts (less or more advanced). But with Window Exists command I can't access functions in disabled groups and when that group is enabled then Girder search for Event String in that Group (Am I right?). That may be done by make Multigroup (I have polish language in Girder so I don't know what to name this in english) whit Enable Group, Disable Group and Window Exists. That is many commands to execute to do thing that may be done by one little enchancement in (e.g.) Group Properites. That should be much faster. I not that good programmer as you and I don't know how hard (or easy) is to implement such a thing. But please think about it.

Thank you.

PS. Anyway Girder is the best ;] but it may be better (I think) ;]

Marsupial
October 18th, 2002, 12:39 PM
YawoR have a point here.
Everyone uses groups for softwares. it would be a great addition to have an "auto enable/disable" property for a group or multigroup.

something like "active if (target) is: (exists / is focused)" checkbox.

my 2 cents.

Ron
October 18th, 2002, 12:52 PM
nooooooooooooooooooooooooooo

this has been asked many times over, my answer will stay the same.

Francois
October 18th, 2002, 07:11 PM
Guys, I agree with Ron ;) -- enabling a group automatically if a windows exist is simple enough to do and should not be a property of a group

I have suggested a way to do so in: http://www.girder.nl/phpBB2/viewtopic.php?t=2362 (this may not be the only way or the best way, but it works fairly well.

If you write your own code, you can set priorities (i.e. if both your DVD player and Winamp are open, the DVD player takes precedence). Also in some cases, you will want to enable a group if a given application is active in the background, instead of having a window open...

Good luck