; /----------------------------------------------------------\ ; | Variables 0.2.2.0 | ; \----------------------------------------------------------/ ; ; Pшeklad: Vнt Љindlбш ; Adresa: http://addons.miranda-im.org/details.php?action=viewfile&id=2834 ; ; options.c ;[Plugins] ;[Variables] ; resource.rc [Auto parse] Automaticky zpracovat [Parse the following string at startup] Pшi spuљtмnн zpracovat nнћe uvedenй [Automatically strip "end of line" characters] Automaticky odstranit konce шбdkщ (EOL) [Don't set a contact] Nenastavovat kontakt [Set to the following contact] Nastavit nбsledujнcн kontakt [Parse] Zpracovat [Help...] Nбpovмda... [Close] Zavшнt [OK] OK [Trigger when the following string changes] Spustit pшi zmмnм nбsledujнcнho шetмzce [Please enter your input below] Zadejte prosнm poћadovanэ text: ;[The token %subject% is translated into a special contact, which depends on the situation in which the string is parsed. Use this dialog to simulate the contact to which %subject% translates. An example for using this token is: !cinfo(%subject%,display).] ;[The token %extratext% is translated into a string which depends on the situation in which the string is parsed. Use this dialog to simulate the string to which %extratext% translates.] ;[The Variables plugin translates various tokens into a certain value. An example is: I'm running Miranda %mirandaversion%. The substring %mirandaversion% will be translated into the correct version number. The following list shows all available tokens.] [Description] Popis ;[Setting] ;[Notes] ; help.c [Tokens] Tokeny [Input] Vstup [Cacnel] Zruљit [%subject%] %subject% [%extratext%] %extratext% ;[Help] [Variables Help] Nбpovмda pro doplnмk Variables ; parse_alias.c [stores y as alias named x] uloћн y jako alias s nбzvem x [user defined] definovбno uћivatelem ; parse_external.c [External Applications] Externн programy [retrieves song name of the song currently playing in Winamp] Zjistн nбzev skladby prбvм pшehrбvanй programem Winamp [retrieves current Winamp state (Playing/Paused/Stopped)] Zjistн aktuбlnн stav pшehrбvaиe Winamp (pшehrбvб/pauza/zastaveno) [Playing] Hraje [Paused] Pauza [Stopped] Zastaveno ; parse_inet.c [Internet Related] Internet ;[converts each non-html character into hex format] ;[converts each hex value into non-html character] [converts a 32-bit number to IPv4 dotted notation] zkonvertuje 32bitovй инslo do formбtu IP(v4) adresy [converts a 32-bit number (in host byte order) to IPv4 dotted notation] zkonvertuje 32bitovй инslo do formбtu IP(v4) adresy (zohlednн poшadн bajtщ) ; parse_logic.c [Logical Expressions] Logickй vэrazy [performs logical AND (x && y && ...)] logickй AND (x && y && ...) [boolean FALSE] FALSE [performs w, then shows z and performs y while x is TRUE] smyиka FOR (provede w, pak zobrazн z a provбdн y dokud je x TRUE) [y if x is TRUE, else z] je-li x TRUE, pak y; jinak z [x if x is TRUE, else z] je-li x TRUE, pak x; jinak z ;[the first argument parsed successfully] [y if w > x, else z] je-li w > x, pak y; jinak z [y if string length of w > x, else z] je-li dйlka шetмzce w > x, pak y; jinak z [TRUE if x > y] je-li x > y, pak TRUE [TRUE if x is longer than y] je-li x delљн neћ y, pak TRUE [performs logical NOT (!x)] logickй NOT (!x) [performs logical OR (x || y || ...)] logickй OR (x || y || ...) [boolean TRUE] TRUE [performs logical XOR (x ^ y)] logickй XOR (x ^ y) ; parse_math.c [Mathematical Functions] Matematickй funkce [x + y + ...] x + y + ... [x divided by y] x dмleno y [converts decimal value x to hex value and padds to length y] zkonvertuje (dekadickй) инslo x na hexadecimбlnн a vyplnн zbytek do dйlky y [x modulo y (remainder of x divided by y)] x modulo y (zbytek po dмlenн) [x times y] x krбt y [x times y divided by z] x krбt y dмleno z [minimum value of (decimal) arguments] minimбlnн hodnota ze zadanэch (dekadickэch) argumentщ [maximum value of (decimal) arguments] maximбlnн hodnota ze zadanэch (dekadickэch) argumentщ ;[pads decimal value x to length y with zeros] [random number] nбhodnй инslo [x - y - ...] x - y - ... ; parse_miranda.c [Miranda Related] Miranda [translates status code x into a status description] pшevede stavovэ kуd x na popis stavu ;[zth contact with property y described by x, example: (unregistered,nick) (z is optional)] [number of contacts with property y described by x, example: (unregistered,nick)] poиet kontaktщ s vlastnostн y blнћe urиenou pomocн x; pшнklad: (,) [info property y of contact x] informace y kontaktu x [db profile name] nбzev profilu (databбze) [db profile path] cesta k profilu (databбzi) [db setting z of module y of contact x] pшeиte z databбze hodnotu poloћky z modulu y kontaktu x ;[get event for contact x (optional), according to y,z,w, see documentation] ;[get last seen time of contact x in format y (y is optional)] ;[get last seen date of contact x in format y (y is optional)] ;[get last seen status of contact x] [path to the Miranda-IM executable] cesta ke spustitelnйmu souboru Mirandy [current status description of protocol x (without x, the global status is retrieved)] aktuбlnн stav protokolu x (nezadбte-li x, pшeиte globбlnн stav) ;[retrieves the subject, depending on situation] [get the version of miranda] zjistн verzi Mirandy ; parse_regexp.c [Regular Expressions] Regulбrnн vэrazy [(ANSI input only) the number of substring matches found in y with pattern x] (pouze pro ANSI) poиet nalezenэch шetмzcщ v textu y pшi pouћitн masky x ;[(ANSI input only) substring match number z found in subject y with pattern x] [the number of substring matches found in y with pattern x] poиet nalezenэch шetмzcщ v textu y pшi pouћitн masky x ;[substring match number z found in subject y with pattern x] ; parse_str.c [Regular Expressions] Regulбrnн vэrazy [converts each first letter of a word to uppercase, all others to lowercase] zkonvertuje prvnн pнsmeno slova na VELKЙ; vљe ostatnн zmмnн na MALЙ [converts each first letter of a word to uppercase] zkonvertuje prvnн pнsmeno slova na VELKЙ [inserts 'end of line' character] vloћн znak konce шбdku (EOL) [depends on calling plugin] zбvislost na doplтku ;[cuts x after the first line and appends y (y is optional)] [replaces all end of line characters by y (y is optional)] nahradн vљechny znaky konce шбdku znakem y (y nenн povinnй) [inserts string y at position z in string x] vloћн шetмzec y na pozici z шetмzce x [trims x to length y, keeping first y characters] oшнzne x na dйlku y, pшiиemћ ponechб prvnнch y znakщ [length of x] dйlka x [the number of lines in string x] poиet шбdkщ v шetмzci x [the longest string of the arguments] nejdelљн шetмzec ze zadanэch argumentщ [converts x to lowercase] zkonvertuje x na malб pнsmena ;[padds x to length y prepending character z (z is optional)] ;[padds x to length y appending character z (z is optional)] ;[padds x to length y prepending character z, or cut if x is longer (z is optional)] ;[padds x to length y appending character z, or cut if x is longer (z is optional)] [repeats x y times] x zopakuje y-krбt [replace all occurenses of y in x with z, multiple y and z arguments allowed] nahradн vљechny vэskyty y v x шetмzcem z; argumenty y a z mohou bэt vнcenбsobnй [trims x to length y, keeping last y characters] oшнzne x na dйlku y, pшiиemћ ponechб poslednнch y znakщ ;[moves x z charcters to the left and trims it to y characters] [TRUE if x equals y] je-li x rovno y, pak TRUE [TRUE if x equals y, ingnoring case] je-li x rovno y, pak TRUE; ignoruje rozdнly mezi malэmi a velkэmi pнsmeny [the shortest string of the arguments] nejkratљн шetмzec ze zadanэch argumentщ ;[location of first occurence of character y in string x] ;[location of last occurence of character y in string x] ;[location of first occurence of string y in x] ;[substring of x starting from position y to z] [the xth string of the arguments] x-tэ шetмzec ze zadanэch argumentщ [z if y equals x, multple y and z arguments allowed] je-li y rovno x, pak z; argumenty y a z mohou bэt vнcenбsobnй [removes white spaces in before and after x] odstranн netisknutelnй znaky pшed a za x [inserts x tab characters (x is optional)] vloћн x tabulбtorщ (x nenн povinnй) [converts x to upper case] zkonvertuje x na VELKБ pнsmena ;[words (seperated by white spaces) number y to z from string x (z is optional)] ; parse_system.c [System Functions] Systйmovй funkce [computer name] nбzev poинtaиe [cpu load of process x (without extension) (x is optional)] indikuje vytнћenн CPU procesem x (bez pшнpony) (x nenн povinnй) [current date in format y (y is optional)] aktuбlnн datum ve formбtu y (y nenн povinnй) [current time in format y (y is optional)] aktuбlnн иas ve formбtu y (y nenн povinnй) [the directory y directories above x] vypнљe adresбш umнstмnэ ve struktuшe y adresбшщ nad x [strips y directories from x] odstranн y adresбшщ z x [number of seconds between date x and y (x and y in format: M/d/yy H:m:s)] poиet sekund mezi daty x a y (x a y musн bэt ve formбtu M/d/rr H:m:s) [expand environment variable x] vypнљe obsah promмnnй x [TRUE if file x exists] nastavн TRUE, jestliћe existuje soubor x [window title of first window of class x] zбhlavн prvnнho okna tшнdy x [TRUE if process x is running] nastavн TRUE, jestliћe je spuљtмnэ process x [value y from registry key x (REG_SZ (string) values only] hodnota y klниe x (pouze hodnoty REG_SZ (string)) [formats timestamp x (seconds since 1/1/1970) in date format y] upravн x (poиet sekund od 1.1.1970) na datum dle formбtu y [formats timestamp x (seconds since 1/1/1970) in time format y] upravн x (poиet sekund od 1.1.1970) na иas dle formбtu y ;[(File content ANSI only) y > 0: line number y from file x, y = 0: the whole file, y < 0: line y counted from the end, y = r: random line] ;[y > 0: line number y from file x, y = 0: the whole file, y < 0: line y counted from the end, y = r: random line] [uptime in seconds] doba od spuљtмnн poинtaиe (v sek.) [user name] uћivatelskй jmйno ;[variable set by put(s) with name x] ;[x, and stores y as variable named x] [only stores y as variables x] pouze uloћн y jako promмnnou x ; NEPUBLIKOVANЙ [String Functions] Prбce s шetezci [Token] Token [Parse options] Moћnosti zpracovбnн [Automatically strip white space] Automaticky odstranit netisknutelnй znaky [Automatically strip all non-parsing characters] Automaticky odstranit vљechny nezpracovatelnй znaky [Test area] Mнsto pro zkouљky [Click on the help button to get more information] Vнce informacн se dozvнte kliknutнm na tlaинtko Nбpovмda [Open String Formatting Help] Otevшнt nбpovмdu o promмnnэch ; ---