RE: RE:RE: Clipboard access through events

> >What if the author wanted to make some toolbar
> buttons in >their application for copying and
> pasteing?

Exactly, that's why my opinion/comment was pro/for a user dialog.
And pro script access, not just user initiated access.
I do realize Jan's proposal eliminated the need for this, since
it would always be user initiated.

> Maybe then the approach of accessing the clipboard
> directly should be used with a warning.
> clipborad.dispatchPasteEvt() might dispatch a paste
> event after the user has then given his OK.
> It's not very pretty but would work without creating
> any security holes.
> I would consider this as a fallback but not as default
> behavior.

This would definitely work for me.
It would allow for the text editor application to have buttons for
cut/copy/paste.
I would add that once the user allows the application access they should not
be prompted again in the same session.


Further thoughts on Jan's email:
I had not thought of these as DOM events, but that's seems like a great
idea.
Would it give the application designer discreet paste targets?
I assume it would.

Received on Tuesday, 6 April 2004 16:07:55 UTC