Git Product home page Git Product logo

show-m-later's Introduction

Gmail Show-M.-Later

Это скрипт для Gmail, который добавляет в него нативный функционал "Отложить".

Вся работа скрипта происходит независимо от сторонних сервисов и не требует установки дополнительных программ.

Скрипт устанавливается в ваш аккаунт Google и работает по таймеру, таким образом работа скрипта происходит не с приложением, а с самим почтовым ящиком, это обеспечивает работу как через веб-интерфейс, так и через мобильные клиенты.

show m later

Примечания

На момент написания README скрипт еще не был добавлен в Google Script Gallery, поэтому сейчас доступна только ручная установка, инструкции ниже.

Я буду рад, если вы допишите переводы на другие языки, fork me!

Инструкция

*инструкция написана на основе английского интерфейса

  • Откройте Google Drive и создайте новую таблицу ( SpreadSheet )
  • В меню Tools запустите Script Editor
  • В открывшемся окне, в меню "Google Apps Script" ничего не выбирайте, нажмите "Close"
  • Сотрите все что есть в поле редактирования и вставьте туда код скрипта
  • Сохраните
  • Если нужно, то отредактируйте настройки, они в самом начале скрипта.
  • В меню выберите Run -> setup, это нужно, что бы создать все необходимые ярлыки.
  • Вас попросят подтвердить доступ. Соглашайтесь.

Если все прошло удачно, то у вас в почте, появятся новые ярлыки - ['Отложить', 'Отложить/ На 6 часов', ... ]. Значит все хорошо, теперь осталось только установить триггеры на автоматическое срабатывание. Тут есть небольшой косяк, при изменениях в скрипте, гугл сбрасывает разрешения, поэтому нужно каждый раз пересохранять триггер и подтверждать права, а иногда он просто залипает. Я рекомендую, перед сохранением, полностью закрыть документ, открыть заново и сохранить.

  • Нажмите на иконку с часиками, на панели инструментов.
  • Заполняйте поля
  • -- Run - run()
  • -- Events - Time-driven - Hour timer - Every Hour
  • Save
  • Соглашайтесь.

Вот и все. Если хотите убедиться что скрипт работает, то пропишите в переменную SEND_LOG ваш email, в кавычках. Тогда он будет присылать отчеты каждый раз как сработает.

show-m-later's People

Contributors

fornex avatar rpsl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

show-m-later's Issues

Добавить больше интервалов

Добрый день. Спасибо за скрипт, постоянно пользуюсь. Один вопрос только - как можно добавить больше интервалов? 1-2 дня маловато, хочется еще неделю, 2 недели, месяц.

Сообщения об ошибках

Вчера-сегодня получил 2 сообщения об ошибках:

Your script, gmail reminder, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here.

The script is used by the document gmail reminder.

Summary:
Error Message Count
Data storage error (line 222, file "Code") 1
Data storage error (line 235, file "Code") 1

Details:
Start Function Error Message Trigger End
3/18/13 10:23 PM run Data storage error (line 235, file "Code") time-based 3/18/13 10:23 PM
3/18/13 10:23 PM run Data storage error (line 222, file "Code") time-based 3/18/13 10:24 PM

Sincerely,

Google Apps Script

Your script, gmail reminder, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here.

The script is used by the document gmail reminder.

Details:
Start Function Error Message Trigger End
3/19/13 8:03 AM run Cannot connect to Gmail (line 84, file "Code") time-based 3/19/13 8:04 AM

Sincerely,

Google Apps Script

Scriptdb отключен

Проклятый гугл все сломал:

Your script, gmail reminder, has recently failed to finish successfully. A summary of the failure(s) is shown below. To configure the triggers for this script, or change your setting for receiving future failure notifications, click here.
The script is used by the document gmail reminder.
Summary:

ScriptDb is disabled. For more information, see: https://developers.google.com/apps-script/migration/script-db (line 225, file "Code")

Есть в планах обновление или надо искать альтернативу?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.