All executable files in this folder will appear in the Scripts menu. Choosing a script from the menu will run that script.
When executed from a local folder, scripts will be passed the selected file names. When executed from a remote folder (e.g. a folder showing web or ftp content), scripts will be passed no parameters.
In all cases, the following environment variables will be set by Nautilus, which the scripts may use:
NAUTILUS_SCRIPT_SELECTED_FILE_PATHS: newline-delimited paths for selected files (only if local)
NAUTILUS_SCRIPT_SELECTED_URIS: newline-delimited URIs for selected files
NAUTILUS_SCRIPT_CURRENT_URI: URI for current location
NAUTILUS_SCRIPT_WINDOW_GEOMETRY: position and size of current window
كل الملفات التنفيذية في هذا المجلد ستظهر في قائمة النصوص البرمجية. اختيار نص برمجي من القائمة سيُشغله.
عند تشغيلها من مجلد محلي، فسيُمرر للنصوص البرمجية أسماء الملفات المختارة. عبد تشغيلها من مجلد عن بعد (مجلد يظهر محتويات وب أو ftp مثلا)، فلن تُمرّر لها أي معاملات.
في كل الحالات، سيعيّن نوتلس المتغيرات البيئية التالية، والتي قد تستخدمها النصوص البرمجية:
NAUTILUS_SCRIPT_SELECTED_FILE_PATHS: مسارات مفصولة بسطر جديد للملفات المختارة(فقط في المحلية)
NAUTILUS_SCRIPT_SELECTED_URIS: مجموعة مسارات مفصولة بسطر جديد للملفات المختارة
NAUTILUS_SCRIPT_CURRENT_URI: مسار الموقع المختار
NAUTILUS_SCRIPT_WINDOW_GEOMETRY: موقع وحجم النافذة الحالية