Sign in to follow this  
Followers 0
nlgma

Play a Video when the computer is locked?

5 posts in this topic

Hello,

Another random project!

The owner of my company wants to play the companies commercial when a computer is locked, can this be done in Autoit?

Share this post


Link to post
Share on other sites



maybe make it into a screensaver?

Share this post


Link to post
Share on other sites

Yes... if you make it into a screensaver and lock the computer with a screensaver :)

That is how I would do it anyways.

Here is how I fire off the screensaver.

#Include <WinAPI.au3>
#Include <WindowsConstants.au3>

Global Const $SC_SCREENSAVE = 0XF140
_SendMessage(_WinAPI_GetDesktopWindow(), $WM_SYSCOMMAND, $SC_SCREENSAVE, 0)

 

Share this post


Link to post
Share on other sites

You should force guests to gain access by answering questions about the commercials.  This is more just a GPO setting.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

...And then take a brief survey about how much they enjoyed the commercial.  lol

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0