Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Google Apps Script

From Wikipedia, the free encyclopedia
Scripting platform developed by Google
Apps Script
Screenshot
DeveloperGoogle
Initial releaseAugust 19, 2009; 16 years ago (2009-08-19)[1]
Written inJavaScript
TypeWeb application framework, scripting framework
Websitescript.google.com

Google Apps Script is ascripting platform developed byGoogle for light-weight application development in theGoogle Workspace platform. Google Apps Script was initially developed by Mike Harm as a side project while working as a developer onGoogle Sheets.[2]

The primary function of Google Apps Script is to facilitate the creation of custom tools for organizations, primarily focusing on automating tasks and simplifying system administration processes. It supports a community-based model for user support.

Google Apps Script was first publicly announced in May 2009 when a beta testing program was announced by Jonathan Rochelle, then Product Manager forGoogle Docs.[3] In August 2009, Google Apps Script was subsequently made available to all Google Apps Premier and Education Edition customers.[4]

Technical details

[edit]

Until 2020, Google Apps Script was based onMozilla's RhinoJavaScript (JS) interpreter, which limited its JS language support to version 1.6, with a subset of theECMAScript 5 API.[5] In March 2020, Google announced the introduction of theV8 JS runtime, bringing with it full support of modernECMAScript except for JS modules.[6]

The development environment for Google Apps Script is hosted in the cloud, with anIDE with adebugger for developing scripts directly within a web browser. The infrastructure provided by Google serves as the execution environment for Apps Script projects. This platform enables the automation of tasks across Google services and integration with third-party applications.[7] Additionally, Google Apps Script facilitates the development of add-ons for Google Docs, Sheets, and Slides, enhancing their functionality.[8]

Limitations

[edit]
This sectionmay be too technical for most readers to understand. Pleasehelp improve it tomake it understandable to non-experts, without removing the technical details.(March 2024) (Learn how and when to remove this message)

Google Apps Script has a number of different limitations. As a cloud-based service, Apps Script limits the time that a user's script may run, as well as limiting access to Google services.[9] Currently, Google Apps Script does not allow direct connections to internal databases, which is key to building business apps. However, this can be overcome via the use of theJDBC service if connections are allowed from Google servers to the internal database server.[10] Additionally, due to the cloud nature of Apps Script, functions related to date and time will produce results that seem to be incorrect due to the data crossingtime zones. Using Date/Time objects and functions without precise declaration and thorough testing may result in inaccurate results.[11]

Alongside this Apps Script can be difficult to work with when multiple people are working on a single project. As App Script development is done through an online IDE it can be difficult to integrate App Script projects with traditionalVersion control systems likeGit.[12] One alternative to this would be to use a tool like Clasp which allows developers to work on their Apps Script projects locally instead of through a web browser.[13]

Add-ons

[edit]

In March 2014, Google introduced add-ons forDocs andSheets (soon followed by Forms). The add-on stores let users add extra features to Google editors, such as mail-merging, workflows, and diagram builders. All add-ons are either 100% built with Apps Script or simply use Apps Script to display a UI in the Google editors while relying on an external back-end to perform some tasks. For example, MailChimp, a mail-merging tool, has an add-on for Google Docs that communicates with MailChimp platform to send emails.

Before add-ons, it was possible to publish scripts for Google Sheets in the Script Gallery. When users installed scripts through this gallery, a copy of the Apps Script code was installed on the user's Sheet. With add-ons, the source code is not visible to the end user, and everyone is using the latest version published by the developer. This new approach makes it easier to support existing code and helped convince several companies, such asMailChimp orLucidchart to invest in Apps Script.

As part of the add-ons release, Google also introduced a UI Style Guide[14] and CSS package to help developers build add-ons that integrate into the editors. Each add-on is also reviewed by Google before its publication, and developers can benefit from advice from Googlers to provide a better user experience. It is not possible to embed ads in add-ons but it is possible to monetize them.[15]

See also

[edit]

References

[edit]
  1. ^Meyer, David (August 20, 2009)."Google Apps Script gets green light".CNet. Retrieved26 March 2011.
  2. ^Koleda, Eric (August 21, 2019)."Celebrating 10 years of Apps Script: looking back on how it started".Google Cloud Blog. Retrieved22 August 2019.
  3. ^Rochelle, Jonathan (May 27, 2009)."Old tool, new tricks".Google Cloud Blog. Retrieved22 August 2019.
  4. ^Levey, Evin (August 19, 2009)."Google Apps Script Launched to Google Apps Premier and Education".Google Apps Script. Retrieved22 August 2019.
  5. ^Kienle, Holger (May–June 2010)."It's About Time to Take JavaScript (More) Seriously".IEEE Software.27 (3):60–62.doi:10.1109/MS.2010.76.S2CID 11650861. Archived fromthe original on 29 June 2010. Retrieved25 March 2011.
  6. ^"Apps Script's new V8 runtime".
  7. ^Google Apps Script
  8. ^Bring a little something extra to Docs and Sheets with add-ons
  9. ^"Quotas for Google Services | Apps Script".
  10. ^"JDBC | Apps Script".
  11. ^"Issue 1035: utilities.formatdate subtracts a day". Retrieved17 December 2012.
  12. ^"Collaborate with other developers". Retrieved19 May 2025.
  13. ^"Clasp".GitHub. Retrieved19 May 2025.
  14. ^UI Style Guide for Add-ons
  15. ^"I've started a little experiment..." Archived fromthe original on 2017-02-26. Retrieved2014-11-18.

External links

[edit]
a subsidiary ofAlphabet
Company
Divisions
Subsidiaries
Active
Defunct
Programs
Events
Infrastructure
People
Current
Former
Criticism
General
Incidents
Other
Software
A–C
D–N
O–Z
Operating systems
Machine learning models
Neural networks
Computer programs
Formats and codecs
Programming languages
Search algorithms
Domain names
Typefaces
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
Y
Hardware
Pixel
Smartphones
Smartwatches
Tablets
Laptops
Other
Nexus
Smartphones
Tablets
Other
Other
Advertising
Antitrust
Intellectual
property
Privacy
Other
Related
Concepts
Products
Android
Street View coverage
YouTube
Other
Documentaries
Books
Popular culture
Other
Retrieved from "https://en.wikipedia.org/w/index.php?title=Google_Apps_Script&oldid=1319355881"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp