[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Questions about KDCOPActionProxy...
From:       ian reinhart geiser <geiseri () yahoo ! com>
Date:       2001-09-28 14:18:48
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 28 September 2001 09:59 am, David Faure wrote:
> Quite limiting, if only _standard_ actions are accessible.
>
> Anyway, actions is only the first step. As someone pointed out on koffice@,
> if an action triggers a dialog, then that's not what the script wants. It
> wants a similar functionality, but sending parameters instead of getting a
> dialog. (The example was, inserting a table in kword, which brings up a
> dialog asking for the number of rows and columns). I see no generic
> solution for this, this has to be defined as application-specific dcop
> interfaces.....

actually I did the same to the dialogbase classes...
i should also note that i had to add virtual functions to the kaction base 
class so any action created would get a dcop interface.  I have stared on 
KHTML also, so far I only have a dcop interface that returns a QStringList of 
the URLs on the current page.

the nice thing about this is by using kdialogbase and kaction you get dcop 
interfaces.

as for the articles on the dot my DNS must be funny again because my konqi 
says the server is timeing out.  I will check them later.

my original vision was to add dcop interfaces to most of the KDEUI classes so 
that actions could be automated.  In apple the philosopy is: "If you can do 
it in the GUI it should be able to be automated."  There are some technical 
reasons in MacOS why this was never realized, we do not have those limits ;)

There is another step that I neglected to mention.  In my current code I have 
the ability to "record" GUI actions.  Any operation that is performed via the 
Standard actions currently has the ability to be recorded and played back.

If indeed this is realized someone can perform a task and record it to a 
shell script.  This would make things very nice for training users on KDE.  I 
personally want to see features like this for the KDevelop project.


I have been messing with this since January of 2000, I will be very cross 
with myself if this never sees KDE 3.x :P

- -ian reinhart geiser
- -- 
========================================
Systems programmers are the high priests of a low cult.
		-- R.S. Barton
========================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7tIbIPy62TRm8dvgRAtW6AJ4g7jxaiAdKiYXR5C5ehMtYxNQt7ACgu5dV
lApeEzRB6xN/iehSZlUwctQ=
=LLTC
-----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic