AutoHotkey Community

It is currently May 26th, 2012, 12:55 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Disable all wake events
PostPosted: December 12th, 2007, 9:26 pm 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
My first question ever:
The Manual (Shutdown) wrote:
; Parameter #3: Pass 1 instead of 0 to disable all wake events.

I have no idea what it means :shock:. TIA

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 12th, 2007, 9:37 pm 
Offline

Joined: November 3rd, 2007, 12:41 am
Posts: 188
not 100% sure but it sounds as if settings like "wake on LAN" would be disabled


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 1st, 2010, 12:32 am 
Offline

Joined: October 9th, 2006, 8:19 pm
Posts: 236
Location: Finland
------------------------------------------------------------
(TWO YEARS HAS PASSED SINCE ABOVE POSTS)
------------------------------------------------------------

This is my (and the whole Forum's?) first post this decade (it's 20100101013238 in Finland) :D

Erittaf wrote:
not 100% sure but it sounds as if settings like "wake on LAN" would be disabled
Makes sense.
But this doesn't (I quess):
Code:
DllCall("PowrProf\SetSuspendState", "int", 1, "int", 1, "int", "")
The argument for "int" should be numeric :?:

I can also omit the last argument
Code:
DllCall("PowrProf\SetSuspendState", "int", 1, "int", 1)
, but using either 0 or 1 as the third argument disables wake events, at least for scheduled tasks.

I'm surprised that this issue hasn't been discussed in this forum (maybe your machine is running "always").

In the 'net I found only Help me solve a bizarre scheduled tasks conundrum... Please!, which was solved using...
Quote:
a bit of a "kludge", but
...working method to hibernate (simulating key strokes with "Auto Hot Keys").

_________________
Pekka Vartto


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 13 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group