GithubHelp home page GithubHelp logo

isabella232 / powerpoint-add-in-timer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from officedev/powerpoint-add-in-timer

0.0 0.0 0.0 28 KB

A PowerPoint task-pane add-in that provides a timer. This sample makes use of the showNotification() alert, that pops up every ten seconds. The Settings.set and Settings.get methods are used to save the number of timer trials.

License: MIT License

CSS 57.55% JavaScript 22.85% HTML 10.85% C# 8.74%

powerpoint-add-in-timer's Introduction

page_type products languages extensions
sample
office-365
office-powerpoint
javascript
html
contentType technologies platforms createdDate
samples
Add-ins
CSS
8/20/2015 2:33:47 PM

PowerPoint-Add-in-Timer

A PowerPoint task pane add-in that provides a timer.

Table of contents

Summary

In this sample, we show you how to use the JavaScript API for Office to create a timer in a task pane add-in. This sample makes use of the showNotification() alert, that pops up every 10 seconds. The Settings.set and Settings.get methods are used to save the number of timer trials.

Prerequisites

This sample requires the following:

  • Visual Studio 2013 with Update 5 or Visual Studio 2015.
  • PowerPoint 2013 or PowerPoint 2016.
  • Internet Explorer 9, which must be installed but doesn't have to be the default browser.
  • One of the following as the default browser: Internet Explorer 9, Safari 5.0.6, Firefox 5, or Chrome 13.
  • Familiarity with JavaScript programming.

Description of the code

Start the timer by using the buttons in the task pane. A notification in a red background color displays every 10 seconds to notify the time. To stop the timer, click the Stop timer button. All of the times are displayed, with the trial number attached. You can clear the timer trials by clicking the Clear timer button.

Build and debug

  1. Open the OfficeAppPPTTaskPaneTimer.sln file in Visual Studio.
  2. Press F5 to build and deploy the sample add-in.
  3. On the Home ribbon, click Open in the Timer group.

Questions and comments

  • If you have any trouble running this sample, please log an issue.
  • Questions about Office Add-ins development in general should be posted to Stack Overflow. Make sure that your questions or comments are tagged with [office-addins].

Additional resources

Copyright

Copyright (c) 2015 Microsoft. All rights reserved.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

powerpoint-add-in-timer's People

Contributors

davidchesnut avatar mimisasouvanh avatar o365devx avatar rick-kirkham avatar sanchit3008 avatar supernova-eng avatar

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.