|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
is there a dll that will say all of the stuff that is running? edit: all the programs and etc that are running
Last edited by MTec89; 12/01/04 09:54 PM.
|
|
|
|
Joined: Jan 2003
Posts: 428
Fjord artisan
|
Fjord artisan
Joined: Jan 2003
Posts: 428 |
Don't know if someone's done a .DLL for this, but you might want to dig a program called EndItAll off the usual freeware/shareware sites. This shows all running processes, unlike Ctrl-Alt-Delete in Windows.
PM
IRCnet & DALnet @#travelersinn :-: IRC for fun and relaxation :-:
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
"drspliff" made a process control dll on mircscripts.org, if that's what you mean: all running process..
New username: hixxy
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
edit: i used mdx and put that info in a dialog. and when i /echo the $did(1).seltext it returns everything in a weird format. how can i just get the path, e.x. C:\winnt\, not C;\winnt\explorer.exe? and how can i just get the number 1792?
0 +fs 0 0 0 [color:red]C:\WINNT\[/color]explorer.exe +fs 0 0 0 [color:red]1792[/color] +fs 0 0 0 0.23MB
0 +fs 0 0 0 [color:red]F:\tools\mdxstudio\[/color]MDXstudio.exe +fs 0 0 0 [color:red]1300[/color] +fs 0 0 0 1.13MB
0 +fs 0 0 0 [color:red]C:\Program Files\MSN Messenger\[/color]msnmsgr.exe +fs 0 0 0 [color:red]552[/color] +fs 0 0 0 4.46MB
|
|
|
|
Joined: Jan 2003
Posts: 1,063
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 1,063 |
$nofile(filename) Returns the path in filename without the actual filename.
$nopath(filename)
Returns filename without a path if it has one.
$nopath(c:\mirc\mirc.exe) returns mirc.exe
If it ain't broken, don't fix it!
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
tidy hel;ped me with all of that, thanks though
|
|
|
|
Joined: Apr 2003
Posts: 426
Fjord artisan
|
Fjord artisan
Joined: Apr 2003
Posts: 426 |
To get the number 1792, you need to use $gettok()
Example:
$gettok(0 +fs 0 0 0 C:\WINNT\explorer.exe +fs 0 0 0 1792 +fs 0 0 0 0.23MB,11,32)
If you've not used $gettok() before, its simple.
Tokens are simply characters (either numbers/letters/special characters, etc), in a string, that are seperated by the use of a special character (such as a comma, space, or pretty much any other character).
For instance, there are 32 "tokens" within the above sentance (when using the space as a seperator). You'll see mIRC use $1, $2, ... $n to obtain tokens in some cases. $1 is the first token (for the above sentance, it would be "Tokens").
The first part of $gettok() is the text you want to get the token from, the second part is the particular token you want (ie, the tenth token), the last number is the seperator (in this case, a space)
-------- mIRC - fun for all the family (except grandma and grandpa)
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
that doesnt work with the stuff with spaced filenames
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
hello? can someone please offer me some more help?
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
//echo -a $gettok(0 +fs 0 0 0 C:\WINNT\explorer.exe +fs 0 0 0 1792 +fs 0 0 0 0.23MB,-6,32)
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
thanks, unfortunatly i lost the code for the target directory, like C:\program files\msn messenger (from C:\program files\MSN Messenger\msnmsgr.exe)
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
$left($nofile($gettok($gettok(data,6-,32),1,9)),-1)
|
|
|
|
Joined: Jul 2003
Posts: 742
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2003
Posts: 742 |
|
|
|
|
|