They certainly *can* be sent via ActiveXObjects, however, said ActiveXObjects are not available in windows by default, and unless you write your own, or find a freebee on the net, you have to buy one. Either way, it requires specific installation on a per machine basis. Of course, so does Python in a windows environment.
> -------Original Message-------
> I thought I saw something about Jscript able to send email using Active X
> objects? Was I dreaming this? (Goes to dig for it)
>
> Sorry, not trying to debunk your ideas, but I think it's very cool they
> some of the features can be taken advantage of even if they don't exist in
> the language of your choice.
>
> -Lu
>
>
> On 4/6/06, BRAD <[LINK: mailto:brad(at)cg-soup.com] brad(at)cg-soup.com> wrote:
> To add an example to Todd's points about mixing languages:
>
> Let's imagine you are working on a plugin using vbscript, and you are
> finding it takes a long time to complete. You think to yourself, "wouldn't
> it be cool if I could send an email to the user once the plugin finished?"
> So you go looking through the msdn documentation and then the XSI SDK docs
> to see if there is any way to send an email directly from vbscript. After a
> quick search, you discover that neither vbscript or jscript provides any
> free and easy way to send an email, but Python not only does email, it
> does IM's too!
>
> At this point, if you were Python-capable or know someone else who is, you
> could write (or coax) a simple Python command called "Notify(user, title,
> message)" that sends both an email and an IM, and register that with XSI.
> Now you can finish off your tool where all you have to do is call Notify()
> from inside your vbscript.
>
> -Brad
>
>
> > -------Original Message-------
> > Joey Ponthieux wrote:
> > > Todd,
> > > Thanks. Interesting page, this ought to come in real handy.
> > >
> > > I'm a bit confused about the VBScript versus JavaScript thing though.
> I
> > > think I could see why JavaScript is favored, but does that mean you
> have
> > > to run all your scripts in one versus the other? I guess what I am
> > > wondering is once you set XSI preferences to JavaScript, does that
> mean
> > > all scripts that you develop have to be JavaScript from that point ,
> or
> > > can you you mix VBScript and JavaScript and XSI knows how to figure
> out
> > > which is which?
> > >
> > >
> > > Joey
> > >
> > Both vb, js, and whatever else you want to use can coexist in your
> > toolset.You can have a script which is vb and a script with is js on
> > the same toolbar and both will work fine.
> >
> > Each script must remain in it's own respective language.However you
> > can call another registered command from a script written in another
> > language.It will need to be a registered command however.If you
> > right click on a script on the toolbar you will under one of the tabs
> an
> > option that declares what language the script uses, so it knows from
> > there what language to use to interpret it.
> >
> > However if you have a random chunk of text in the script editorit
> > always needs to know what language to use, and will give you an error
> if
> > the script/language pref don't jibe.
> >
> > -T
> >
> >
> >
> >
> > ---
> > Unsubscribe? Mail [LINK: mailto:Majordomo(at)Softimage.COM]
> Majordomo(at)Softimage.COM with the following text in body:
> > unsubscribe xsi
> >
>
> ---
> Unsubscribe? Mail [LINK: mailto:Majordomo(at)Softimage.COM]
> Majordomo(at)Softimage.COM with the following text in body:
> unsubscribe xsi
---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi