סקריפטים עצמאיים
סקריפט עצמאי הוא סקריפט שלא קשור לקובץ ב-Google Sheets, Docs, Slides או Forms. הסקריפטים האלה מופיעים בין הקבצים ב-Google Drive.
יצירת סקריפט עצמאי
הדרך הקלה ביותר ליצור סקריפט עצמאי היא להיכנס לדף script.google.com
ולחצו על addפרויקט חדש בפינה הימנית העליונה.
אפשר גם ליצור סקריפטים עצמאיים מ-Google Drive. נכנסים ל-Google Drive ולוחצים על חדש > עוד > Google Apps Script.
הפעלת סקריפט עצמאי
כדי להריץ פונקציה מעורך הסקריפטים, בוחרים את השם של הפונקציה שרוצים להריץ בחלק העליון ולוחצים על הפעלה.
שימוש בסקריפט עצמאי
סקריפטים עצמאיים רבים הם סקריפטים של כלי עזר – לדוגמה, כדי לחפש ב-Google Drive קבצים ישנים ששמו מכיל את המחרוזת 'untitled' כדי שתוכלו למחוק אותם.
אפשר לפרוס סקריפט עצמאי גם כאפליקציית אינטרנט או להגדיר אותו לפעול באופן אוטומטי מטריגר שניתן להתקנה.
לסיום, עכשיו אפשר לפרסם תוספים מסקריפטים עצמאיים.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-12-21 (שעון UTC).
[null,null,["עדכון אחרון: 2024-12-21 (שעון UTC)."],[[["Standalone Google Apps Scripts are independent scripts not tied to any specific Google file like Sheets, Docs, or Slides, and they reside in your Google Drive."],["You can effortlessly create a standalone script by visiting script.google.com or through Google Drive by navigating to New \u003e More \u003e Google Apps Script."],["Standalone scripts are often utilized as utilities to automate tasks, such as searching and deleting files, or deployed as web apps or triggered automatically."],["They can be run directly from the script editor by selecting the desired function and clicking Run."],["Additionally, add-ons for Google Workspace can now be published using standalone scripts."]]],[]]