Display reminder when click on shutdown?

Page 2 of 2 FirstFirst 12

  1. Posts : 10
    Windows 7 Ultimate 64bit 6.01.7600
    Thread Starter
       #11

    gladson1976, that one didn't work, it hangs at the shutdown screen, no script showed up.
      My Computer


  2. Posts : 15
    Windows 7 Home Premium x64
       #12

    Bump! I want this too. I think (it's just a guess and I could be wrong) it's not showing up because it's opening up in the background. Like when you set up a scheduled task to be "Run whether user is logged on or not" it still runs and you can see it in task manager but it doesn't show up on the screen. What could be done in that case?
      My Computer


  3. Posts : 15
    Windows 7 Home Premium x64
       #13

    gladson1976 said:
    I think this script I made should be fine. It will display a popup with a Yes and a No button. When you click the Yes, the shutdown is cancelled. Click No and the system will proceed.
    Code:
    <job id="vbs">
        <script language="VBScript">
            Set WshShell=WScript.CreateObject("WScript.Shell")
            On Error Resume Next
            menuSel=MsgBox("Have you completed your timesheet ?" & vbCrLf & "Have you sent in the Invoice?" & vbCrLf & "Have you forgotten anything at all?" & vbCrLf & "Think hard!", vbYesNo)
            If menuSel=vbYes Then
                WshShell.Run "Shutdown -a"
            End If
        </script>
    </job>
    Can you make this script such that instead of prompting it checks for file contents of a specified file on the desktop instead? If the file is empty then proceed with the shutdown otherwise not. Because I think the script does run but any interface isn't displayed to the user. Which explains why
    Husky79 said:
    it hangs at the shutdown screen, no script showed up.
    The content-checking might work! But I don't know how to write such scripts myself...
      My Computer


  4. Posts : 1
    windows7
       #14

    Hi Can any one say how to display pop up window if we click the shytdown button
    and allows the user to cancel or proceed the shutdown
      My Computer


  5. Posts : 1
    Windows 7 Ultimate x64
       #15

    Husky79 said:
    I have tried several searches and can't find something that works. I keep getting sites that say to create a script then add it in the gpedit.msc and I dont know how to make scripts to open a notepad or something graphically when I click on shutdown.

    What I want is that when I click on shut down, it will pop up a screen or open a notepad that will say stuff like have you completed your timesheet, sent in invoice and such. Cause I sometime forget to do some stuff and get in trouble.

    Is there any easier way beside making a script which I have no clue how to do a script.

    Thanks
    I think this page has just the tool you are looking for.

    It can display a message when a computer is shutting down/ restarting or even logging off.

    It allows me to change the message it displays so I could add what I wanted to be remembered. i.e. in your case you can change the message to "Have you completed your timesheet"

    It also shows how (less) memory it uses.

    Search for "ILT shutdown alert" or:

    Tool to Display a Reminder When You Log Off , Turn Off or Restart Your Computer « I Learnt Today…

    Last edited by menol; 11 Mar 2013 at 12:58. Reason: added more details
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 22:46.
Find Us