Jump to content

Recommended Posts

Posted

HI All

I'm writing a script to invoke the hibernate process.

is there a way to call it directly?

I'm figuring out to write the sequence command (START>SHUTDOWN>HIBERNATE), could be a way?

And from a very newbye, how to click the start button?

I've tried windsetstate but doesnt work...

Any idea is well appreciated!

Thanks in advance

Paul

Posted

..

And from a very newbye, how to click the start button?

I've tried windsetstate but doesnt work...

Any idea is well appreciated!

Thanks in advance

Paul

One way is

send("^{ESC}")
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Posted

It's very easy:

Shutdown(64)

:)

Thanks ! Thanks ! Thanks!

Knowledge is power!

Thanks to all the suggestion! Very helpfull!

Kind regards

Paul

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
×
×
  • Create New...