[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: openComposer with kjscmd returns just false
From: Matej Cepl <ceplm () seznam ! cz>
Date: 2005-09-26 12:47:33
Message-ID: 587l03-pcg.ln1 () chelcicky ! vysocina
[Download RAW message or body]
Kevin Krammer wrote:
> On Sunday 25 September 2005 22:04, Ingo Klöcker wrote:
>> 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);
>
> Unless KJSEmbed transforms DCOP strings, you have a wrong method signature
> there: try bool instead of Boolean
Thanks, my bad, this works -- the bug is closed.
Matej
--
Matej Cepl, http://www.ceplovi.cz/matej/blog/
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
He is simply a shiver looking for a spine to run up.
-- Paul Keating
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic