Comments (3)
Have you tried
await context.workbook.worksheets.onActivated.add( this.onSheetActivated);
and onSheetDeactivated?
from office-js.
Hi @duane-j-wagner Thanks for your help. @TarviksTheDev could you try this? we'll also take a look and report back if we have a suggestion for you.
from office-js.
Dear @duane-j-wagner and @shanshanzheng-dev ,
Thank you for your valuable time and assistance with my previous query regarding the timer functionality in my Excel add-in.
While I've successfully implemented the suggested solution using context.workbook.worksheets.onActivated.add( this.onSheetActivated);
and onSheetDeactivated
, I've encountered limitations in its effectiveness. The timer currently pauses only when switching between sheets within the same Excel workbook, but I need it to pause when the Excel window is minimized or when the user transitions to another application or tab.
I'm seeking alternative approaches or technologies that can accurately detect Excel's inactivity. I'm open to exploring different frameworks or solutions, as long as they provide a robust and reliable method for pausing the timer in these scenarios.
Thank you again for your continued support and expertise. I look forward to your insights and potential solutions.
from office-js.
Related Issues (20)
- Document paragraph listeners miss some events. HOT 5
- [Word online] Unable to read contentControls and other properties after a simple redirection HOT 3
- XLMiner Analysis Toolpak Not Loading in Excel Online HOT 1
- PowerPointApi 1.5: `getSelectedSlides` has stopped returning an empty collection when no slides are selected HOT 1
- For custom functions on web version of excel does not show any help regarding parameters HOT 2
- Office.DevicePermissionType.microphone is unfedined HOT 4
- Issue with direct connection in Mac desktop PowerPoint add-in and SAML connection in windows as well as Mac desktop PowerPoint add-in
- How to Close a Task Pane from Within the Task Pane UI on Button Click HOT 6
- attachment id coming in GUID format via office js(Office.context.mailbox.item.getAttachmentsAsync) HOT 1
- OfficeThemes.css classes should not keep their default value
- OnAppointmentSend add-in is unavailable and time-out after short of time HOT 1
- Enable browser extensions in Excel Desktop app (WebView2) HOT 1
- Addin not loading for shared mailbox after email address change
- Outlook: Pinnable Taskpane with multi-select
- Debugging [TypeError: Network request failed] HOT 2
- markerBackgroundColor/markerForegroundColor properties in Excel Chart Series return an incorrect value and lack support for a ‘No Fill’/'No Border' option. HOT 1
- [WordApi] field.range.insertText() fails for a tracked field HOT 1
- [Outlook Mac]: Empty ItemId in pinned Taskpane without ItemChanged-Handler
- Unable to install or uninstall add-ins for an Hotmail account in Outlook web (new)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from office-js.