A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Powerpoint, Publisher and Visio » Powerpoint
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Adding keystrokes - Slide show via macro



 
 
Thread Tools Display Modes
  #1  
Old November 7th, 2005, 04:02 PM
Maxi
external usenet poster
 
Posts: n/a
Default Adding keystrokes - Slide show via macro

Hi!

My office computers are all WinXP SP2 under corporate group policies
applied by the technology department. There is a criteria that if the
computer is idle for 5 minutes, it gets locked and you get the windows
logon streen asking you to hit CTRL+ALT+DEL to login.

There is no way we can override this as it is a group policy but one
way accomplish this that I thought of is to send keystrokes so that the
computer will never be idle.

What I want to do is, whenever I move off my computer, I will run a
macro within the powerpoint file. This macro should start a slide show.
This macro will have keystrokes, after 5 seconds, the macro should send
a keystroke that will move the current slide to next slide and the
computer will also be in activity state becuase of which the computer
will never be locked. If it reaches the last slide, it should
automatically go the first slide and be in continuous loop.

Now comes the security issue, anybody can cancel the slideshow and work
on my PC. I don't even want that. This can be resolved only by having a
password. If anybody attempts to touch the keyboard keys or click the
mouse button, the macro should assume that its time to quit the slide
show and ask for a password before quitting.

Is it a big ask? Is this possible? If yes, can anyone guide me?

Thanks
Maxi

  #2  
Old November 7th, 2005, 06:24 PM
Austin Myers
external usenet poster
 
Posts: n/a
Default Adding keystrokes - Slide show via macro

I don't believe it will work. Windows knows the difference between
"SendKeys" and an actual keystroke or mouse movement.


Austin Myers
MS PowerPoint MVP Team

PowerPoint Video and PowerPoint Sound Solutions www.pfcmedia.com



"Maxi" wrote in message
oups.com...
Hi!

My office computers are all WinXP SP2 under corporate group policies
applied by the technology department. There is a criteria that if the
computer is idle for 5 minutes, it gets locked and you get the windows
logon streen asking you to hit CTRL+ALT+DEL to login.

There is no way we can override this as it is a group policy but one
way accomplish this that I thought of is to send keystrokes so that the
computer will never be idle.

What I want to do is, whenever I move off my computer, I will run a
macro within the powerpoint file. This macro should start a slide show.
This macro will have keystrokes, after 5 seconds, the macro should send
a keystroke that will move the current slide to next slide and the
computer will also be in activity state becuase of which the computer
will never be locked. If it reaches the last slide, it should
automatically go the first slide and be in continuous loop.

Now comes the security issue, anybody can cancel the slideshow and work
on my PC. I don't even want that. This can be resolved only by having a
password. If anybody attempts to touch the keyboard keys or click the
mouse button, the macro should assume that its time to quit the slide
show and ask for a password before quitting.

Is it a big ask? Is this possible? If yes, can anyone guide me?

Thanks
Maxi


  #3  
Old November 8th, 2005, 03:07 PM
Brian Reilly, MVP
external usenet poster
 
Posts: n/a
Default Adding keystrokes - Slide show via macro

Wouldn't this work with just an advance show on timings and loop until
Esc?
I've done this on a network, running IE to SQL Server with a simple
Ping Server routine that ping my server every 5 seconds to keep the
network alive since a period of inactivity would make the client go
look for the Server and take longer than if it remembered who the
server was.

Brian Reilly, MVP

On 7 Nov 2005 08:02:52 -0800, "Maxi" wrote:

Hi!

My office computers are all WinXP SP2 under corporate group policies
applied by the technology department. There is a criteria that if the
computer is idle for 5 minutes, it gets locked and you get the windows
logon streen asking you to hit CTRL+ALT+DEL to login.

There is no way we can override this as it is a group policy but one
way accomplish this that I thought of is to send keystrokes so that the
computer will never be idle.

What I want to do is, whenever I move off my computer, I will run a
macro within the powerpoint file. This macro should start a slide show.
This macro will have keystrokes, after 5 seconds, the macro should send
a keystroke that will move the current slide to next slide and the
computer will also be in activity state becuase of which the computer
will never be locked. If it reaches the last slide, it should
automatically go the first slide and be in continuous loop.

Now comes the security issue, anybody can cancel the slideshow and work
on my PC. I don't even want that. This can be resolved only by having a
password. If anybody attempts to touch the keyboard keys or click the
mouse button, the macro should assume that its time to quit the slide
show and ask for a password before quitting.

Is it a big ask? Is this possible? If yes, can anyone guide me?

Thanks
Maxi

  #4  
Old November 8th, 2005, 03:57 PM
Maxi
external usenet poster
 
Posts: n/a
Default Adding keystrokes - Slide show via macro

You mean within the .pps file, you want to add a VBA code that would
tell the .pps file to go and ping the server? If so, can you give me
the syntax or if possible the vba code?

Also can I have the.pps file to prompt for a password if any key on the
keyboard is pressed?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding music to a slide show [email protected] Powerpoint 2 August 16th, 2005 10:15 PM
Current Slide Index while in slide show Christoph Quix Powerpoint 4 April 13th, 2005 04:10 PM
print macro running during slide show JEG Powerpoint 1 April 12th, 2005 09:46 AM
Slide Show Presentation I NEED HELP WITH MY PRESENTATION!!! Powerpoint 5 December 28th, 2004 04:34 PM
Slide Show won't display.... JEM Powerpoint 2 October 7th, 2004 11:06 AM


All times are GMT +1. The time now is 11:31 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.