mIRC Home    About    Download    Register    News    Help

Print Thread
#67596 12/01/04 09:33 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
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.

http://MTec89Net.com
irc.freenode.net #MTec89Net
#67597 13/01/04 07:28 AM
Joined: Jan 2003
Posts: 428
P
Fjord artisan
Offline
Fjord artisan
P
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 :-:
#67598 13/01/04 03:48 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
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
#67599 13/01/04 04:54 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
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?

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
#67600 13/01/04 06:28 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
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!
#67601 13/01/04 06:42 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
tidy hel;ped me with all of that, thanks though


http://MTec89Net.com
irc.freenode.net #MTec89Net
#67602 13/01/04 11:41 PM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
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)
#67603 16/01/04 12:11 AM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
that doesnt work with the stuff with spaced filenames


http://MTec89Net.com
irc.freenode.net #MTec89Net
#67604 17/01/04 02:25 AM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
hello? can someone please offer me some more help?


http://MTec89Net.com
irc.freenode.net #MTec89Net
#67605 17/01/04 02:44 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
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)

#67606 17/01/04 04:39 AM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
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)


http://MTec89Net.com
irc.freenode.net #MTec89Net
#67607 18/01/04 04:27 AM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
$left($nofile($gettok($gettok(data,6-,32),1,9)),-1)

#67608 18/01/04 02:44 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
thankyou:)


http://MTec89Net.com
irc.freenode.net #MTec89Net

Link Copied to Clipboard