Passing commands through !execute to other programs other than ls Thread last updated on 2004-04-02 22:48:13

Posted by member 61084 on 2004-04-02 18:37:46

Is it possible to pass commands through ls to other open programs, like firefox, miranda im, ect ect.

Classic Example:

A layercut object that you click to change miranda's online/offline status..

Is that possible? Wouldn't it just be a function of figuring out the command structure... example...
control.exe something.cpl


but in this case...
miranda32.exe some_command_that_i_dont_know_but_might_be_able_to_figure_out.???


Posted by member 1 on 2004-04-02 19:05:07 link

you can always pass parameters...however you just need to know what those parameters are.

Posted by member 61084 on 2004-04-02 19:11:10 link

I think that's the part that I'm having trouble with... I'm using reshack to view miranda32.exe... and in the tooltip menu it says...
POPUP "Tray"
{
MENUITEM "&Hide/Show", 40038
MENUITEM SEPARATOR
MENUITEM "E&xit", 40040
}


Would any of those be considered params? or is that just what windows interprets it to be?

Is there a method of figuring out which command does what?

Oh and another question. For exectution of said commands what would the nomenclature be?

I know for the control panel... but that's in a predefined directory... What if the file was elsewhere on the drive... do you see what I'm getting to?

Posted by member 1 on 2004-04-02 22:48:13 link

nowing what the menu structure looks like won't help you any. you will need to look at the source of the application, aka Miranda, and find out what parameters are expected/permitted.

And as far as I know on your second question this should be valid...
*Popup Step.rc "$TxtEditor$" $LiteStepDir$step.rc