mIRC Home    About    Download    Register    News    Help

Topic Options
#67596 - 12/01/04 09:33 PM dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
is there a dll that will say all of the stuff that is running?
edit: all the programs and etc that are running


Edited by MTec89 (12/01/04 09:54 PM)
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#67597 - 13/01/04 07:28 AM Re: dll
PastMaster Offline
Fjord artisan

Registered: 18/01/03
Posts: 428
Loc: Cyberia
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 :-:

Top
#67598 - 13/01/04 03:48 PM Re: dll
tidy_trax Offline
Hoopy frood

Registered: 02/11/03
Posts: 2327
"drspliff" made a process control dll on mircscripts.org, if that's what you mean: all running process..
_________________________
New username: hixxy

Top
#67599 - 13/01/04 04:54 PM Re: dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
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?

Code:
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
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#67600 - 13/01/04 06:28 PM Re: dll
Doqnach Offline
Hoopy frood

Registered: 18/01/03
Posts: 1063
$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!

Top
#67601 - 13/01/04 06:42 PM Re: dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
tidy hel;ped me with all of that, thanks though
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#67602 - 13/01/04 11:41 PM Re: dll
neophyte Offline
Fjord artisan

Registered: 12/04/03
Posts: 426
Loc: Australia
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)

Top
#67603 - 16/01/04 12:11 AM Re: dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
that doesnt work with the stuff with spaced filenames
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#67604 - 17/01/04 02:25 AM Re: dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
hello? can someone please offer me some more help?
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#67605 - 17/01/04 02:44 AM Re: dll
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
//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)

Top
#67606 - 17/01/04 04:39 AM Re: dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
thanks, unfortunatly i lost the code for the target directory, like C:\program files\msn messenger (from C:\program files\MSN Messenger\msnmsgr.exe)
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top
#67607 - 18/01/04 04:27 AM Re: dll
Iori Offline
Hoopy frood

Registered: 30/08/03
Posts: 1831
$left($nofile($gettok($gettok(data,6-,32),1,9)),-1)

Top
#67608 - 18/01/04 02:44 PM Re: dll
MTec89 Offline
Hoopy frood

Registered: 25/07/03
Posts: 742
Loc: Ohio, U.S.A.
thankyou:)
_________________________
http://MTec89Net.com
irc.freenode.net #MTec89Net

Top