How to identify from PowerShell if an PowerPoint or LibreOffice presentation is running?
I have a PowerShell script that runs via a periodic scheduled task and throws up a notification on the screen. How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation?
Edit: If there is no system-wide "do-not-disturb", is there a way to identify applications in full-screen mode? I.E. not just a maximized window, but the view with no window frame, no start bar, etc.? Maybe called "kiosk-mode"? I'm not opposed to checking if any of a set of common presentation-like applications are in a mode like that.
windows powershell skype microsoft-powerpoint presentations
add a comment |
I have a PowerShell script that runs via a periodic scheduled task and throws up a notification on the screen. How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation?
Edit: If there is no system-wide "do-not-disturb", is there a way to identify applications in full-screen mode? I.E. not just a maximized window, but the view with no window frame, no start bar, etc.? Maybe called "kiosk-mode"? I'm not opposed to checking if any of a set of common presentation-like applications are in a mode like that.
windows powershell skype microsoft-powerpoint presentations
Look for the app service process, before taking any action. You can only know if it is running, not what operational state it is in.
– postanote
Feb 17 at 4:15
If you can make use of the Windows 10 Notifications, then the system and user can manage if they are being shown.
– uSlackr
Feb 17 at 4:44
add a comment |
I have a PowerShell script that runs via a periodic scheduled task and throws up a notification on the screen. How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation?
Edit: If there is no system-wide "do-not-disturb", is there a way to identify applications in full-screen mode? I.E. not just a maximized window, but the view with no window frame, no start bar, etc.? Maybe called "kiosk-mode"? I'm not opposed to checking if any of a set of common presentation-like applications are in a mode like that.
windows powershell skype microsoft-powerpoint presentations
I have a PowerShell script that runs via a periodic scheduled task and throws up a notification on the screen. How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation?
Edit: If there is no system-wide "do-not-disturb", is there a way to identify applications in full-screen mode? I.E. not just a maximized window, but the view with no window frame, no start bar, etc.? Maybe called "kiosk-mode"? I'm not opposed to checking if any of a set of common presentation-like applications are in a mode like that.
windows powershell skype microsoft-powerpoint presentations
windows powershell skype microsoft-powerpoint presentations
edited Feb 17 at 18:41
Teknowledgist
asked Feb 17 at 4:06
TeknowledgistTeknowledgist
709
709
Look for the app service process, before taking any action. You can only know if it is running, not what operational state it is in.
– postanote
Feb 17 at 4:15
If you can make use of the Windows 10 Notifications, then the system and user can manage if they are being shown.
– uSlackr
Feb 17 at 4:44
add a comment |
Look for the app service process, before taking any action. You can only know if it is running, not what operational state it is in.
– postanote
Feb 17 at 4:15
If you can make use of the Windows 10 Notifications, then the system and user can manage if they are being shown.
– uSlackr
Feb 17 at 4:44
Look for the app service process, before taking any action. You can only know if it is running, not what operational state it is in.
– postanote
Feb 17 at 4:15
Look for the app service process, before taking any action. You can only know if it is running, not what operational state it is in.
– postanote
Feb 17 at 4:15
If you can make use of the Windows 10 Notifications, then the system and user can manage if they are being shown.
– uSlackr
Feb 17 at 4:44
If you can make use of the Windows 10 Notifications, then the system and user can manage if they are being shown.
– uSlackr
Feb 17 at 4:44
add a comment |
1 Answer
1
active
oldest
votes
How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I'm not sure how you'd do it in PowerShell but from any COM or VBA process with a reference to the PowerPoint application, this will tell you whether there are slide shows running:
Application.SlideShowWindows.Count
Any value > 0 means there's a slide show active.
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops
If you mean Presenter View, then no, it's available on desktops as well. In either case, it's only useful if there's a second monitor or projector attached.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation
No, but not for lack of begging MS for it. Some versions of Windows have a presenter mode that quells some (but not all, I think) chatter from other software during presentations.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1406643%2fhow-to-identify-from-powershell-if-an-powerpoint-or-libreoffice-presentation-is%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I'm not sure how you'd do it in PowerShell but from any COM or VBA process with a reference to the PowerPoint application, this will tell you whether there are slide shows running:
Application.SlideShowWindows.Count
Any value > 0 means there's a slide show active.
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops
If you mean Presenter View, then no, it's available on desktops as well. In either case, it's only useful if there's a second monitor or projector attached.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation
No, but not for lack of begging MS for it. Some versions of Windows have a presenter mode that quells some (but not all, I think) chatter from other software during presentations.
add a comment |
How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I'm not sure how you'd do it in PowerShell but from any COM or VBA process with a reference to the PowerPoint application, this will tell you whether there are slide shows running:
Application.SlideShowWindows.Count
Any value > 0 means there's a slide show active.
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops
If you mean Presenter View, then no, it's available on desktops as well. In either case, it's only useful if there's a second monitor or projector attached.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation
No, but not for lack of begging MS for it. Some versions of Windows have a presenter mode that quells some (but not all, I think) chatter from other software during presentations.
add a comment |
How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I'm not sure how you'd do it in PowerShell but from any COM or VBA process with a reference to the PowerPoint application, this will tell you whether there are slide shows running:
Application.SlideShowWindows.Count
Any value > 0 means there's a slide show active.
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops
If you mean Presenter View, then no, it's available on desktops as well. In either case, it's only useful if there's a second monitor or projector attached.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation
No, but not for lack of begging MS for it. Some versions of Windows have a presenter mode that quells some (but not all, I think) chatter from other software during presentations.
How can I identify if the computer is currently giving a presentation to prevent that or delay it until the presentation is over?
I'm not sure how you'd do it in PowerShell but from any COM or VBA process with a reference to the PowerPoint application, this will tell you whether there are slide shows running:
Application.SlideShowWindows.Count
Any value > 0 means there's a slide show active.
I don't think this is identifying the official "Presentation Mode" because that is (theoretically) only for laptops
If you mean Presenter View, then no, it's available on desktops as well. In either case, it's only useful if there's a second monitor or projector attached.
Is there some kind of identifiable "do-not-disturb" state when PowerPoint (or LibreOffice Impress) or Acrobat or Skype or something else in a full-screen mode for a presentation
No, but not for lack of begging MS for it. Some versions of Windows have a presenter mode that quells some (but not all, I think) chatter from other software during presentations.
answered Feb 17 at 22:02
Steve RindsbergSteve Rindsberg
3,6191913
3,6191913
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1406643%2fhow-to-identify-from-powershell-if-an-powerpoint-or-libreoffice-presentation-is%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Look for the app service process, before taking any action. You can only know if it is running, not what operational state it is in.
– postanote
Feb 17 at 4:15
If you can make use of the Windows 10 Notifications, then the system and user can manage if they are being shown.
– uSlackr
Feb 17 at 4:44