<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hallo,<div><br></div><div><br></div><div>FRAGE: Gibt es eine einfache Möglichkeit Gnucash (für Mac OSX 10.7) auf deutsch umzustellen?</div><div><br></div><div>In einem Wiki fand ich folgendes Apple-Script:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Calibri, Geneva, Tahoma, sans-serif; font-size: 13px; "><pre class="bbcode_code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; font-family: monospace; line-height: 12px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: inset; border-right-style: inset; border-bottom-style: inset; border-left-style: inset; border-color: initial; text-align: left; overflow-x: scroll; overflow-y: scroll; direction: ltr; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(227, 229, 240); font-size: 12px; border-color: initial; height: 144px; background-position: initial initial; background-repeat: repeat no-repeat; ">tell application "Finder"
launch application "X11"
end tell
tell application "X11"
activate
end tell
set results to do shell script "cd ~; DISPLAY=:0.0;
export DISPLAY; PATH=$PATH:/usr/local/bin; export PATH
; export LANG=de_DE.ISO8859-15; /sw/bin/gnucash"</pre></span><div><br></div></div><div>Nur leider spuckt mir das bei Ausführung folgendes aus:</div><div><br></div><div><span class="Apple-style-span" style="font-family: Verdana, Arial, Calibri, Geneva, Tahoma, sans-serif; font-size: 13px; "><pre class="bbcode_code" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 6px; padding-right: 6px; padding-bottom: 6px; padding-left: 6px; font-family: monospace; line-height: 12px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: inset; border-right-style: inset; border-bottom-style: inset; border-left-style: inset; border-color: initial; text-align: left; overflow-x: scroll; overflow-y: scroll; direction: ltr; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(227, 229, 240); font-size: 12px; border-color: initial; height: 48px; background-position: initial initial; background-repeat: repeat no-repeat; ">sh: -c: line 2: syntax error near unexpected token `;'
sh: -c: line 2: `; export LANG=de_DE.ISO8859-15; /Applications/Gnucash.app'</pre></span><div><br></div></div><div>"gnucash.app" liegt bei mir direct im Verzeichnis "/Applications". Wenn ich das für "/sw/bin/gnucash/" angebe, kommt trotzdem ein Fehler. Ich weiß nicht, was ich für "/usr/local/bin" angeben müsste..</div><div><br></div><div>Und wie knüpfe ich dieses Skript an den Start von Gnucash, d.h. ich will nur Gnucash starten und das Skript soll >>automatisch<< im Hintergrund mit ausgeführt werden.. ?</div><div><br></div><div>Hoffe auf Hilfestellung :)</div><div><br></div><div>Gruß</div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Jan Becker</div><div><a href="mailto:janbecker89@gmx.de">janbecker89@gmx.de</a></div><div><br></div></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>