דוגמאות קוד למתחילים הן דוגמאות קוד קצרות שמוכיחות את היתכנות הרעיון, כדי שתוכלו להתחיל לעבוד עם Apps Script תוך פחות מחמש דקות. מדריכים להתחלה מהירה זמינים לרוב סוגי הפרויקטים ב-Apps Script.
בצד ימין, בקטע דוגמאות לפי סוג הפרויקט, אפשר למצוא מדריכים להתחלה מהירה שמסודרים לפי סוג הפרויקט. אפשר גם לנסות את האוטומציה הפשוטה הזו שיוצרת מסמך Google ושולחת לכם קישור אליו באימייל.
הפתרון
דוגמאות לפתרונות הן פרויקטים של Apps Script שפועלים באופן מלא. הפתרונות מתייחסים לבעיות עסקיות מציאותיות ומראים איך אפשר להפוך תהליכי עבודה ב-Google Workspace לאוטומטיים. לרוב, אפשר להטמיע פתרונות בלי לערוך או לעדכן את הקוד.
Codelabs הם מדריכים טכניים מעשיים ומפורטים. הם משלבים הסברים, דוגמאות קוד שעובדות ושיטות מומלצות, וגם תרגילי קוד. ה-Codelabs זמינים לרוב מוצרי Google למפתחים, והם מתפרסמים בקטלוג ה-Codelabs.
משמאל, בקטע Codelabs, אפשר למצוא סדנאות קוד ספציפיות ל-Apps Script.
אפשר למצוא דוגמאות ל-Apps Script גם ב-GitHub.
אתם יכולים ליצור עותק של המאגרים האלה ולהשתמש בקוד כהפניה לפרויקטים שלכם.
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-08-04 (שעון UTC)."],[[["This section offers Apps Script quickstarts, solutions, and codelabs to help you learn and implement Apps Script effectively."],["Quickstarts provide concise code samples for a fast introduction, while solutions offer complete projects addressing real-world scenarios."],["Codelabs guide you through hands-on tutorials with explanations and practical exercises for deeper learning."],["Explore samples organized by project type or delve into specific quickstarts, solutions, and codelabs for targeted learning experiences."],["Access additional resources on the Google Workspace Developers YouTube channel and GitHub for further exploration and reference."]]],["Apps Script offers three types of samples: Quickstarts, Solutions, and Codelabs. Quickstarts are brief code samples for rapid prototyping. Solutions are complete projects that solve real-world business issues and often require no code modification. Codelabs are step-by-step tutorials with explanations, sample code, and exercises. Samples are organized by project type and can also be found on GitHub for reference. Google also provides helpful tips and latest features on their Youtube channel.\n"]]