When/how do I write Apps scripts in Dart
Asked Answered
D

3

6

Is it possible to create apps script using Dart and the Dart->JS translator?

I'm guessing the answer is no, but I'd be interested in learning of any plans to integrate the two development environments.

Demarco answered 6/7, 2012 at 4:29 Comment(1)
Did we have further information?Fredra
W
2

A Googler has shown in DartConf 2018 lightning talk for using Dart in App Script. He promised it will be open sourced. The demonstrated solution includes App Script library in Dart, automated build and deployment through Google Drive.

Wivern answered 21/2, 2018 at 0:43 Comment(0)
C
0

You guessed right, the answer is no indeed. You can't write Apps Scripts in Dart.

Although your second question can only be answered by a Googler, but as a Top Contributor, I can say that if such plans exist they're probably not for the near future. I'd guess that it will not be here within a year.

Google Apps Script have a very specific set of libraries and usage that I imagine not to be Dart's team goal. I think such integration does not have much "appeal" for either teams (Apps Script and Dart).

Crucify answered 9/7, 2012 at 13:21 Comment(0)
W
0

This article Google Apps Scripts with Dart (by the speaker of the DartConf 2018 lightning talk mentioned in the other answer) describes the process in detail.

"Ever wanted to automate something in Google Docs, Spreadsheet, or any other of Google’s apps? If yes, then Google Apps Script is what you should look at. In this article I will show how we can use Dart to write programs for Google Apps Scripts."

The article also links to their open-source tool apps_script_tools that automates the process.

Weller answered 7/4 at 12:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.