Search found 18 matches

by tool4ever
Fri Nov 29, 2013 8:13 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: Small pieces from my full script... (including COM event

A year with no update, my bad! Taken from my ever-growing toolchain (read: stuff I always forget to use), a helper that's handy when working with more complex code: /* Syntax: /mUnit {-r} <file> Batch test commands. When used as an identifier it will return the number of failed tests. -r = Random Or...
by tool4ever
Wed Nov 07, 2012 5:41 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: Small pieces from my full script... (including COM event

old and not very user friendly but I'll post it anyway, since nobody did this yet could be handy for quick checking when you're too lazy to use a more advanced standalone tool alias dupechecker window -aCDHel70k @dupechecker | if (!$line(@dupechecker,0)) echo @dupechecker Syntax: -<N(ame)C(ontent)> ...
by tool4ever
Fri Oct 12, 2012 1:07 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: Small pieces from my full script... (including COM event

Powerful stuff ahead: calling a function exported by a standard dynamic-link library. (you could call it a scripted runDLL32.exe with more features) I've tried all "popular" COM objects that offer this functionality and a japanese project named SFC mini (http://sourceforge.jp/projects/sfcm...
by tool4ever
Fri Oct 12, 2012 1:00 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: Small pieces from my full script... (including COM event

Syntax: $comdef(<name>,[type1,value1][,...]) Invokes the default method of a COM object. alias comdef { if ($com($1)) { var %x 2 while ($($ $+ %x,2) != $null) { var %p = $($ $+ $calc(%x +1),2) if ($v1 = dispatch) { var %dispatch = %p var %p = dispatch } var %param = %param $iif($v1 = bstr,$qt(%p),%p...
by tool4ever
Tue Oct 09, 2012 3:32 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: Small pieces from my full script... (including COM event

Syntax: /runadmin {-64} <filename> Runs a program with elevated access. Use the switch to access the 64-bit version of built-in Windows executables, if available. alias runadmin { if ($1 = -64) { write -c runadmin.vbs CreateObject("Shell.Application").ShellExecute " $+ $2 $+ ", &...
by tool4ever
Thu Aug 30, 2012 8:51 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: (small) Pieces from my full script...

ok here we go :) the basics for providing mIRC with COM events info: /* 1. Initialize: $comevent(<name>,<method>[,hashtable]).<ProgID> Specifiy a hashtable to load a previously serialized object. Note: Use VBScript syntax in $2 to pass parameters. 2. Add events: $comevent(<name>,<event>[,parameter][...
by tool4ever
Wed Aug 29, 2012 6:18 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: (small) Pieces from my full script...

Serialization proof of concept: ;Syntax: $comserialization(<name>,<hashtable>) alias comserialization { .comreg tlbinf32 .comopen tli TLI.TLIApplication if (!$comerr) { noop $com(tli,InterfaceInfoFromObject,1,dispatch,$1,dispatch* tl) noop $com(tl,Members,3,dispatch* tlmembers) var %x 1 while ($comv...
by tool4ever
Wed Aug 08, 2012 10:16 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: (small) Pieces from my full script...

Time to revive this thread (and the forum :/) I present you a more portable COM object registration-free method: (also supports Windows Script Components) ;Syntax: /comopenex <name> [ProgID] <file> alias comopenex { if ($file($3-).longfn) { var %file = $v1 write $qt($noext(%file) $+ .sxs.manifest) <...
by tool4ever
Thu Jan 26, 2012 7:37 pm
Forum: Scripts
Topic: /waveform
Replies: 0
Views: 2504

/waveform

Version 2 (speed improvements, 16Bit was incorrect, drawing order fixed) =========== Hello, this is the first time I've played around with binary files in mIRC. So what do we have here? This command will parse .wav files and draw the waveform (I'm planning to use it to batch create them as previews ...
by tool4ever
Wed Sep 07, 2011 10:38 pm
Forum: Scripts
Topic: Space Harrier (updated from original)
Replies: 1
Views: 2266

Re: Space Harrier (updated from original)

Haha calling it cracked does actually fit considering StanZ crazy coding style.
When I looked at them I always felt like I saw assembler all over the place, so good job :D
by tool4ever
Thu Jun 09, 2011 7:43 pm
Forum: Scripts
Topic: SpellCheck
Replies: 5
Views: 4524

Re: SpellCheck

GetSpellingSuggestions seems to be what you're looking for.

I can't try it, but if you can get it to work it might be worth to install Word :)
by tool4ever
Thu Jun 09, 2011 8:13 am
Forum: Challenges
Topic: [medium] /swap (Wims)
Replies: 17
Views: 5151

Re: [medium] /swap (Wims)

May whoever has the most experience with crappy APIs (aka Windows Programming) win :D
by tool4ever
Mon May 16, 2011 4:39 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: (small) Pieces from my full script...

Hello hixxy, those are some nice ideas! Btw why did most of your work disappear from the Web? :( Winevent is simple but still helps me alot... Oh, and I actually just fixed a bug in your Tab completer (also nice) - Classname of the editbox changes when you use multibyte :P No code in this post from ...
by tool4ever
Sat Mar 26, 2011 8:17 pm
Forum: Script Showcase
Topic: Pacman
Replies: 20
Views: 7789

Re: Pacman

I have to admit I've never been a big pacman fan but maybe this script will change my opinion <3
by tool4ever
Sat Mar 26, 2011 5:42 pm
Forum: Scripts
Topic: Small pieces from my full script... (including COM events)
Replies: 16
Views: 13063

Re: (small) Pieces from my full script...

Today I have something that really frustrated me while writing and I still refuse to touch ever again: In my script I have custom titlebars for all windows with the help of windowfx. However this leads to mdi -ct not working anymore, so I had to write my own routine. Maybe someone will find this use...

Go to advanced search