Kig/FAQ/da: Difference between revisions

From KDE UserBase Wiki
(Importing a new version from external source)
(Importing a new version from external source)
Line 10: Line 10:
:Når du har hentet en makro fil, så kan du importere den til '''Kig''' ved at bruge disse instruktioner (indrettet efter et typisk Linux-system):
:Når du har hentet en makro fil, så kan du importere den til '''Kig''' ved at bruge disse instruktioner (indrettet efter et typisk Linux-system):


:*''Global installation'' (requires the root privileges), install a macro for every '''Kig''' users on that machine: place it in <tt>$KDEDIR/share/apps/kig/builtin-macros/</tt>. The new macro(s) will be available in '''Kig''' the next time you start '''Kig'''.
:*''Global installation'' (kræver root-rettigheder) installerer makroen for alle brugere af '''Kig''' på den maskine: placér den i <tt>$KDEDIR/share/apps/kig/builtin-macros/</tt>. Den nye makro vil være tilgængelig i '''Kig''' næste gang du starter progarmmet.


:*''Local installation,'' install a macro only for the user which installed it: in '''Kig''', select <menuchoice>Types -> Manage Types</menuchoice>, click on the Import button, select the macro file(s) you want to import, and you're done.
:*''Local installation,'' install a macro only for the user which installed it: in '''Kig''', select <menuchoice>Types -> Manage Types</menuchoice>, click on the Import button, select the macro file(s) you want to import, and you're done.

Revision as of 16:43, 15 September 2012

Other languages:

Hjem » Programmer » Uddannelse » Kig

Dette afsnit skal svare på ofte stillede spørgsmål om Kig, som jeg får dra brugere. Hvis du stadig har spørgsmål eller mener, at dermangler et svar her, så lad mig vide det.

Brug af Kig

Hvordan kan jeg importere en makro-fil?
Når du har hentet en makro fil, så kan du importere den til Kig ved at bruge disse instruktioner (indrettet efter et typisk Linux-system):
  • Global installation (kræver root-rettigheder) installerer makroen for alle brugere af Kig på den maskine: placér den i $KDEDIR/share/apps/kig/builtin-macros/. Den nye makro vil være tilgængelig i Kig næste gang du starter progarmmet.
  • Local installation, install a macro only for the user which installed it: in Kig, select Types -> Manage Types, click on the Import button, select the macro file(s) you want to import, and you're done.
You can find some Kig macros in the Macro Repository.
Is it possible to edit a Python script? How?
It is possible with Kig 0.10.6 (shipped with KDE 3.5.4) and above versions. To edit a Python script, just right click on the object produced by the script, and select Edit Script.... Then edit the script and a click on Finish will apply your changes.
Have a look at the Kig Python scripting API Documentation.