--===============0600825814== Content-Type: multipart/signed; boundary="nextPart4843817.1f6nno3Bmf"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart4843817.1f6nno3Bmf Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 25 September 2005 22:04, Ingo Kl=F6cker 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 =3D new DCOPClient(this); > > var ret =3D 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= =20 there: try bool instead of Boolean Cheers, Kevin =2D-=20 Kevin Krammer Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtforum.org --nextPart4843817.1f6nno3Bmf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDN9nVnKMhG6pzZJIRAshHAJ0eB/65VOqQigC7mlxE9pqUvT/7YgCePw3o aNGzUHm+pGU0H2EXVegxKsU= =Kn94 -----END PGP SIGNATURE----- --nextPart4843817.1f6nno3Bmf-- --===============0600825814== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline = >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib= e << --===============0600825814==--