On Sunday 03 of January 2010 23:45:44 Ben DJ wrote:
Hi,
I use KDE's InputActions to assign keystrokes to type phrases. E.g., press "Ctrl-Meta-T", types "testing". Just an example.
I'd like to assign a single, global keystroke/shortcut to print the current date & time.
You can't do that there, unless you're any good with C++ and would be willing to experiment with decomposing any given text to the matching keypresses. Baring that, you could try binding a shortcut to a command that would use 'xclip' to set clipboard to the desired text and then paste that manually.
I don't know if it can't be done, or if I've got syntax wrong. If the "how to" is in the docs, I'm missing/misunderstanding them :-(
I'm afraid those are waiting for somebody who'd find the time to write them. On Monday 04 of January 2010 13:54:58 Patrick Shanahan wrote:
* Ben DJ <bendj095124367913213465@gmail.com> [01-03-10 23:23]:
On Sun, Jan 3, 2010 at 5:34 PM, Patrick Shanahan <paka@opensuse.org> wrote:
date +%D
echo $(date +%D)
man date will provide the parameters
Yes, of course. That's obvious -- and not the question.
Not in your mind perhaps, but the way you phrased it was.
How are those invoked/accessed/used in a Input Actions -> Global Shortcut -> 'Send Keyboard Input' macro?
I would put it into a shell script and add the script to the menu, then assign it a hot-key combination.
Next time you ask for help, be sure that you sufficiently explain your needs or aims rather than jump someone attempting to help. Apology is necessary and expected!
Demanding an apology for you not understanding a question? Relax. -- Lubos Lunak openSUSE Boosters team, KDE developer l.lunak@suse.cz , l.lunak@kde.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org