Code library control – Adept DeskTop 4.3 User Manual
Page 58

Adept DeskTop 4.3 - Online Help
58
Code Library Control
The Code Library tool is used to store code samples, also called clips, that can reused.
• Adept DeskTop also provides some predefined code clips that you can use as a starting point.
• Code clips added by the user are stored to the preferences folder in Windows on the
computer. This ensures that when you reinstall or upgrade Adept DeskTop, your code clips
are reloaded into the Code Library.
• Code clips provided with Adept DeskTop are protected files. They cannot be modified or
deleted.
To open the Code Library
1. From the Adept DeskTop menu, select View > Code Library.
2. Alternatively, from the Adept DeskTop toolbar, select the Code Library control icon.
Figure 35 Code Library Control
Using the Code Library
From the code library you can create new programs, insert code clips into open programs, or open the
Clip Editor to edit existing clips.
To create an new program from a code clip:
1. Select a code clip.
2. From the toolbar select the Create new program from clip icon.
3. This opens the New Program form in which you must provide the program name.
4. A new program page opens page in the Program Editor, containing the code from the selected
code clip. See
Creating and Editing Code Clips
for more details.
Description of selected code
clip, if exists
Yellow icons indicate
protected code clips
Code clip created by user
Group of code clips
Code Library toolbar