Kig/FAQ

From KDE UserBase Wiki
Revision as of 16:43, 15 September 2012 by Claus chr (talk | contribs) (Importing a new version from external source)
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.