Re: Running a script on windows2000 logoff/shutdown

nospamng_REMOVE_at_will-enterprises.com
Date: 03/14/04


Date: Sun, 14 Mar 2004 10:17:59 -0500

Could you use something like AutoIT from www.hiddensoft.com to automate the
responses to the application? I use AutoIT for several tasks during shutdown...

On Sun, 14 Mar 2004 13:57:23 +1100, "Ken Schaefer"
<kenREMOVE@THISadOpenStatic.com> wrote:

>I don't really think this is feasible. For other thing, the system will be
>capable of terminating the process that is running the script (eg
>WScript.exe or InetInfo.exe) if the user doesn't enter anything (sometimes
>you see the "program xyz is has not responded in a timely manner. Do you
>want to terminate the program?" type prompts).
>
>I assume that Windows itself provides APIs that you can hook into for doing
>these things. You'd need to write an application or a service though.
>
>Can you tell us what you are thinking of doing? Perhaps there is a different
>way?
>
>Cheers
>Ken
>
>
>"Jonathan Heath" <Jon@nospam.thecityground.co.uk> wrote in message
>news:_SN4c.1$K4.0@newsfe1-win...
>: Hi all,
>:
>: I have created an ASP script that enters data into an Access Database.
>:
>: My problem is that I'd like this script to run when the computer is
>shutdown
>: or the user logs off.
>:
>: I think this would be simple enough if the ASP didn't have any user input,
>: but it does.
>:
>: How can I do it that the logoff/shutdown only continues after the ASP form
>: has been submitted?
>:
>: Any other suggestions on getting around the problem if it isn't possible
>to
>: do it using the above method would also be appreciated.
>:
>: Thanks
>:
>: JH
>:
>:
>:
>



Relevant Pages

  • Re: Running a script on windows2000 logoff/shutdown
    ... responses to the application? ... I use AutoIT for several tasks during shutdown... ... I have created an ASP script that enters data into an Access Database. ...
    (microsoft.public.inetserver.asp.general)
  • Re: Quoted fields containing field separator
    ... many responses and suggesting how you could fix that. ... Did you really try that "FPAT" thing in gawk? ... Or was the gawk script you ran the one at the end of your posting? ... Tawk does the job with FS and FPAT switches set, ...
    (comp.lang.awk)
  • Re: AutoIt
    ... Digging through the AutoIt Newsgroup I ... To answer your questions the script does run in SMS's context and the ... uninstall string of an application. ...
    (microsoft.public.sms.installer)
  • Re: Lock the keyboard
    ... will let you block keyboard input and/or screen output. ... you can't use an ActiveX, you can use AutoIt's own script, which can also ... Will prevent any user input via the mouse or keyboard. ... Windows 2000 User input is blocked and AutoIt can simulate input. ...
    (microsoft.public.scripting.vbscript)
  • Re: Import text file into a field
    ... I know I can do this with Import Folder, selecting text files, but is ... and write a simple script in any text editor and compile it. ... Let FMP open any text editor with the wanted file as the argument; ... Now run that compiled AutoIt script from FMP: ...
    (comp.databases.filemaker)