12.07.2005 | 16:32
ozren je napisao:
1. Ako mi je aktivnan Hrvatski layout (by piko of couse) onda u Calculatoru nemem decimalni zarez/tocku pritiskom na tipku istog na NUM tipkovnici, ne dobijem nista 1099 umjesto 10.99..
ok, kasnim mjesec dana, ali možda još nisi uspio riještiti stvar.
dakle,
www.macosxhints.com kaže:
On non-English keyboards, the dot \".\" on the numeric pad does not work as a decimal point if you use it with the Calculator Dashboard widget. This is quite annoying, so here is a one-line hack to fix the problem...
Go to /Library/Widgets, and make a backup of the Calculator widget -- just Option-drag it elsewhere on the disk to make a copy. Control-click on \"Calculator\" and choose Show Package Contents. In the new window that opens, open Calculator.js in your favorite text editor. Go to line 66, in function \"translateKey(e)\", switch(e.charCode). The current line should be:
case 46:
key = \"decimal\";
break;
Now just add case 44 as shown below:
case 44:
case 46:
key = \"decimal\";
break;
Now save, open Dashboard, remove the current Calculator, if it's open, add a new one and voila! You can now use the numeric keypad.