Klipper/Com cercar en les guies telefòniques utilitzant Klipper

From KDE UserBase Wiki
Revision as of 17:31, 2 July 2011 by Abella (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Klipper pot cercar un número de telèfon evidenciat en les guies telefòniques. També podeu ressaltar un número de telèfon en una aplicació arbitrària, per exemple, en un lloc web.

Seleccionar l'acció de cerca.

Com es fa?

Klipper ofereix «accions» per a això.

Com a condició prèvia Klipper ha d'estar actiu i ser visible com una icona de la safata al plafó.

Crideu el diàleg Configuració i afegiu una acció:

Expressió regular per a l'acció:

^[\s]*[0+][\d]{2,2}[-/\d\s]{4,16}[\s]*

Ara cal afegir dos ordres per a l'acció afegida:

Ordre 1 (en una sola línia):

kfmclient openURL "http://www.dastelefonbuch.de/?pid=OpenSearch&cmd=search&kw=%s&le=de"

Descripció per a l'ordre 1:

Cerca a la guia telefònica, Konqueror

Command 2 (all on one line):

ps x|grep -q '[f]irefox' && firefox -remote openURL\("http://www.dastelefonbuch.de/?pid=OpenSearch&cmd=search&kw=%s&le=de", new-window\) || firefox "http://www.dastelefonbuch.de/?pid=OpenSearch&cmd=search&kw=%s&le=de"

Descripció per a l'ordre 2:

Cerca a la guia telefònica, Firefox

After that it should look like this:

Accions de Klipper

After highlighting a phone number on a web site a small window appears and you will be prompted to select an action. See screenshot at beginning of page.