Page 1 of 1

search and copy / cut in one command

Posted: Tue Jan 24, 2012 9:46 am
by jan-01
Hello , I'm looking for a way to do a search in a sentence that can cut the words I was looking for and puts it on my clipbord

pe
I'm looking for '1 stuk'

in the sentence "z.j. (ca. 1898).1 stuk (H. 797, 129)"

after the search

z.j. (ca. 1898). (H. 797, 129)

and '1 stuk' on my clipbord..

Thanks in advance,
Jan

Posted: Tue Jan 24, 2012 9:55 am
by ak47wong
You can record a macro to do it:

1. Click Macros > Record.
2. Click Search > Find.
3. In Find what, enter 1 stuk.
4. Click Find Next.
5. Click Close.
6. Click Edit > Cut.
7. Click Macros > Stop Recording.

You can save the macro and invoke it from the Macros menu or assign a shortcut key to it.

The only thing to note is that "1 stuk" will be hard-coded in the macro. If you want a command that works with a different string, you'll have to record another macro for it.

Posted: Wed Jan 25, 2012 6:12 am
by jan-01
thanks for your advice
did not know that I can make shortcuts for macro's!

Posted: Sun Feb 12, 2012 10:16 am
by jan-01
Thank you very much, this very usefull for me!
Jan