[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: openComposer with kjscmd returns just false
From: Ingo =?iso-8859-15?q?Kl=F6cker?= <kloecker () kde ! org>
Date: 2005-09-25 20:04:43
Message-ID: 200509252204.47325 () erwin ! ingo-kloecker ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Sunday 25 September 2005 05:08, Matej Cepl wrote:
> Hi,
>
> I am not sure which group/email list I should post this to, so there
> is crossposting involved -- which list is the correct one (I tried
> kjsembed@kde.org, but seems to be really non-responsive)?
>
> Trying to create script for programmatic sending of the current
> message as an attachment (usefull for learning remote spam filter)
> with KJSCmd (see attached). However, I have troubles to get DCOPRef.
> When I try this (kjscmd 0.3 with KDE 3.4.1; lines broken for this
> message only):
>
> var dcop = new DCOPClient(this);
> var ret = dcop.call("kmail","KMailIface",\
> "openComposer(QString,QString,QString,QString,QString,Boolean)",\
> "random@example.com","","","Subject","text",true);
> println(ret);
>
> I get 'false'. Does anybody have any idea, what's wrong with this? Of
> course, similar call in shell with dcop command line utility returns
> DCOPRef.
That's clearly a JavaScript question. As you correctly note this call
returns a DCOPRef. Why this evaluates to false can only be answered by
kjs-savvy people.
Regards,
Ingo
[Attachment #5 (application/pgp-signature)]
=
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=
e <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic