Инструменты пользователя

Инструменты сайта


en:documentation:directives

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версияСледующая версия справа и слева
en:documentation:directives [2013/02/03 21:37] – external edit 127.0.0.1en:documentation:directives [2013/02/04 15:01] loopback
Строка 1: Строка 1:
-====== Директивы ====== +====== Directives ======
- +
-Директивы выполняются на этапе предварительной обработки скрипта и результат их обработки действует на протяжении всего времени выполнения скрипта. Директива начинается с ключевого слова "Pragma".+
  
 +Directives are performed during the pre-processing script and results are valid during all time of the script executing. Directive begins with the "Pragma" keyword.
 <code> <code>
 Pragma AutorunFinalizeSection Pragma AutorunFinalizeSection
 </code> </code>
-Часть скрипта после этой директивы обрабатывается при завершении Total Commander.+The script after this directive is processed at the Total Commander closing stage. If the directive is not used, no actions performed at the Total Commander closing stage.
 \\  \\ 
 \\  \\ 
Строка 12: Строка 11:
 Pragma AutorunBlockUnload Pragma AutorunBlockUnload
 </code> </code>
-Блокирует выгрузку плагина (командой cm_UnloadPlugins) до полного закрытия Total Commander. Полезно для использования ShellExec с ключом /T. Если директива отсутствуетблокировка выключена.+Blocks unloading plugin (using cm_UnloadPlugins) until closing Total Commander. Useful for ShellExec with /T switchIf the directive is not usedthe blocking disabled.
 \\  \\ 
 \\  \\ 
Строка 18: Строка 17:
 Pragma AutorunLanguage <ID> Pragma AutorunLanguage <ID>
 </code> </code>
-Загружает пользовательский язык сообщений из файла autorun.lng. Если эта директива не используетсябудет использован язык по-умолчанию (английский). Поскольку все сообщения плагина это сообщения об ошибкахимеет смысл использовать эту директиву только во время отладки.+Loads the custom language messages from file //autorun.lng//If this directive is not usedthe default language (EnglishusedSince all plugin messages errorsit makes sense to use this directive only during debugging.
  
-|ID|Двух-трехсимвольный идентификатор языкапринятый в языковых файлах Total Commander. Файл //autorun.lng// должен содержать секцию с таким же именемЕсли секция не найденабудет использован английский язык.|+|ID|Two or three-character language identifierthat used in Total Commander language filesFile //autorun.lng// should contain a section with the same nameIf a section is not foundEnglish will be used.|
 \\  \\ 
 <code> <code>
 Pragma AutorunAllowWriteEnv Pragma AutorunAllowWriteEnv
 </code> </code>
-По-умолчанию командывозвращающие значения, могут записывать результат только в переменныеЭта директива разрешает запись в существующие переменные окружения.+By defaultcommands that return values can only write the result to internal variablesThis directive allows the entry into the existing environment variables.
en/documentation/directives.txt · Последнее изменение: 2020/05/23 01:21 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki