Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/35m_operations/TUI/Scripts/TUIAdditions.html
Дата изменения: Sat Sep 6 02:16:02 2014
Дата индексирования: Sun Apr 10 01:17:30 2016
Кодировка:

Поисковые слова: п п р р р р р р р р р р р р р р
TUI:Scripts:TUIAdditions

TUI:Scripts:TUIAdditions

TUI will look in two separate "TUIAdditions" directories for user scripts and extra TUI window code. One of these is for your private additions, the other is for additions shared with other users on the computer. Both TUIAdditions directories are optional, and you must create them (either one or both) if you want them. You may need special permissions to create the shared directory. The path to each is shown in the About TUI window (as well as whether the directory was found).

Scripts should be put in a directory named Scripts in the TUIAdditions directory; they will then show up immediately in the Scripts menu (you do not have to restart TUI).. For more information see Where To Put Scripts in the Scripting Manual.

Az/Alt pointing grids for the Telescope>Pointing Data script should be put in a directory named Grids in the TUIAdditions directory.

Code to generate additional TUI windows can be put directly in a TUIAdditions directory. You will have to restart TUI to make these available. Writing such additions is described in the Programming guide.

In general, additions present in the user TUIAdditions directory mask identically named additions in the shared TUIAdditions directory, and both mask identically named built-in scripts and windows. Thus you should be a bit careful in naming additions. This is discussed in more detail in the scripting and programming manuals.