Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script Editor not Script manager #36

Open
MeghaStha opened this issue Jun 15, 2015 · 5 comments
Open

Script Editor not Script manager #36

MeghaStha opened this issue Jun 15, 2015 · 5 comments

Comments

@MeghaStha
Copy link

You have mentioned in the readme.md to go to tools -> script manager but there is tools-> script editor not manager

@amarinelli
Copy link

Noticed this as well. I guess in the 2 years since this repo was last updated things have changed in Google Docs?

@tfoote
Copy link

tfoote commented Dec 21, 2016

From a related thread for spreadsheets you need to add an onOpen function to add a menu

http://stackoverflow.com/a/37109424/604099

@theneilkirk
Copy link

Thanks tfoote. Here's the code if anyone is interested:

function onOpen() {
  var ui = DocumentApp.getUi();
  ui.createMenu('Markdown')
      .addItem('Create', 'ConvertToMarkdown')
      .addToUi();
}

@stephffuller
Copy link

Thanks for this. Where would I put this function?

Thanks tfoote. Here's the code if anyone is interested:

function onOpen() {
  var ui = DocumentApp.getUi();
  ui.createMenu('Markdown')
      .addItem('Create', 'ConvertToMarkdown')
      .addToUi();
}

@stephffuller
Copy link

Found it. New script in same project. Works great. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants