Scott, I've been playing with this for a bit now and it seems that the weight isn't being passed as %WEIGHT%, or maybe it is strangely formatted. My script now uses two values, the first being the current weight in Declude, and the second being the SKIPIFWEIGHT equivalent. The following line doesn't work (test never returns a result): SIZE-S external 13 "cscript C:\IMail\Declude\Size.vbs //NoLogo //T:2 %WEIGHT% 28" 0 0 However the following line does work (script always returns a result): SIZE-S external 13 "cscript C:\IMail\Declude\Size.vbs //NoLogo //T:2 10 28" 0 0Here's the source of the Size.vbs file for reference: If WScript.arguments(0) >= WScript.arguments(1) Then Could you take a look at this when you get a chance. Thanks, Matt R. Scott Perry wrote:
-- ===================================================== MailPure custom filters for Declude JunkMail Pro. http://www.mailpure.com/software/ ===================================================== |
- Re: [Declude.JunkMail] Passing weight to Externa... Matt
- Re: [Declude.JunkMail] Passing weight to Ex... R. Scott Perry
- Re[2]: [Declude.JunkMail] Passing weigh... Sanford Whiteman
- RE: [Declude.JunkMail] Passing weight t... Markus Gufler
- RE: [Declude.JunkMail] Passing weig... Jason
- Re[2]: [Declude.JunkMail] Passing w... Sanford Whiteman
- Re: [Declude.JunkMail] Passing weig... Matt
- RE: [Declude.JunkMail] Passing ... Markus Gufler
- RE: [Declude.JunkMail] Passing ... John Tolmachoff \(Lists\)
- Re: [Declude.JunkMail] Passing weight t... Matt
- Re: [Declude.JunkMail] Passing weig... Matt
- Re: [Declude.JunkMail] Passing ... R. Scott Perry
- Re: [Declude.JunkMail] Passing weight t... Nick Hayer