Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Write a macro for sleep

Reply
Thread Tools Display Modes

Write a macro for sleep

 
 
Giles
Guest
Posts: n/a

 
      06-25-2009
I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
button (in fact it crashed); to cut a long story short, I eventually traced
the problem to a new sound card I'd installed - disabling the card allows
sleep to work normally. (I see that the card manufacturer, M-Audio, includes
a note in its FAQ to the effect that none of its cards will work with sleep.
Great.)

I'm now faced with the prospect of having to navigate through Control Panel
and the Device Manager to disable the card every time I want to put the PC to
sleep, and then the same performance to re-enable to card when I wake it up.

Does anyone know if it's possible to run a series of commands when the sleep
button is pressed so that it disables the card before going to sleep? I
suppose I'm asking if there's a way that someone who's only semi-technical
could write a macro and apply it to the button - or is this just cloud cuckoo
land?
 
Reply With Quote
 
 
 
 
Rich
Guest
Posts: n/a

 
      06-25-2009

"Giles" <> wrote in message
news:3AD2FC40-2E14-4CDD-A799-...
>I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
> button (in fact it crashed); to cut a long story short, I eventually
> traced
> the problem to a new sound card I'd installed - disabling the card allows
> sleep to work normally. (I see that the card manufacturer, M-Audio,
> includes
> a note in its FAQ to the effect that none of its cards will work with
> sleep.
> Great.)
>
> I'm now faced with the prospect of having to navigate through Control
> Panel
> and the Device Manager to disable the card every time I want to put the PC
> to
> sleep, and then the same performance to re-enable to card when I wake it
> up.
>
> Does anyone know if it's possible to run a series of commands when the
> sleep
> button is pressed so that it disables the card before going to sleep? I
> suppose I'm asking if there's a way that someone who's only semi-technical
> could write a macro and apply it to the button - or is this just cloud
> cuckoo
> land?


Just buy another audio card and the problems goes away! There cheap these
days.



 
Reply With Quote
 
Bob
Guest
Posts: n/a

 
      06-25-2009
Create a desktop shortcut "rundll32.exe powrprof.dll,SetSuspendState 0,1,0"
without the quotes.
http://www.howtogeek.com/howto/windo...windows-vista/

"Giles" <> wrote in message
news:3AD2FC40-2E14-4CDD-A799-...
>I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
> button (in fact it crashed); to cut a long story short, I eventually
> traced
> the problem to a new sound card I'd installed - disabling the card allows
> sleep to work normally. (I see that the card manufacturer, M-Audio,
> includes
> a note in its FAQ to the effect that none of its cards will work with
> sleep.
> Great.)
>
> I'm now faced with the prospect of having to navigate through Control
> Panel
> and the Device Manager to disable the card every time I want to put the PC
> to
> sleep, and then the same performance to re-enable to card when I wake it
> up.
>
> Does anyone know if it's possible to run a series of commands when the
> sleep
> button is pressed so that it disables the card before going to sleep? I
> suppose I'm asking if there's a way that someone who's only semi-technical
> could write a macro and apply it to the button - or is this just cloud
> cuckoo
> land?



 
Reply With Quote
 
JEWboy
Guest
Posts: n/a

 
      06-26-2009
keep checking manufacturer for updated driver once/month so one day you
won't have to disable it for each sleep.
Why M-Audio, I hate them!

 
Reply With Quote
 
Giles
Guest
Posts: n/a

 
      06-26-2009
Bob,

Thanks, that looks promising - and great to know even if it turns out not to
resolve the sleep issue.

Giles.

"Bob" wrote:

> Create a desktop shortcut "rundll32.exe powrprof.dll,SetSuspendState 0,1,0"
> without the quotes.
> http://www.howtogeek.com/howto/windo...windows-vista/
>
> "Giles" <> wrote in message
> news:3AD2FC40-2E14-4CDD-A799-...
> >I have Vista 64 bit. My PC stopped going to sleep when I pressed the sleep
> > button (in fact it crashed); to cut a long story short, I eventually
> > traced
> > the problem to a new sound card I'd installed - disabling the card allows
> > sleep to work normally. (I see that the card manufacturer, M-Audio,
> > includes
> > a note in its FAQ to the effect that none of its cards will work with
> > sleep.
> > Great.)
> >
> > I'm now faced with the prospect of having to navigate through Control
> > Panel
> > and the Device Manager to disable the card every time I want to put the PC
> > to
> > sleep, and then the same performance to re-enable to card when I wake it
> > up.
> >
> > Does anyone know if it's possible to run a series of commands when the
> > sleep
> > button is pressed so that it disables the card before going to sleep? I
> > suppose I'm asking if there's a way that someone who's only semi-technical
> > could write a macro and apply it to the button - or is this just cloud
> > cuckoo
> > land?

>
>
>

 
Reply With Quote
 
Giles
Guest
Posts: n/a

 
      06-26-2009
I guess I shall keep a regular check, but to me it sounds as if M-Audio has
decided it's not interested in the issue.

Why did I choose them? Fair question. I looked around various music
production forums and their card seemed to be rated highly for its
performance at a reasonable price (around £100). With the benefit of knowing
what I now know about its interference with sleep mode I might have made a
different choice...

"JEWboy" wrote:

> keep checking manufacturer for updated driver once/month so one day you
> won't have to disable it for each sleep.
> Why M-Audio, I hate them!
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro or otherwise ReBoot Internet Explorer 2 03-14-2008 08:09 PM
The disk is write-protected. Remove the write-protection or... Craig H. Foster Windows Vista General Discussion 0 09-16-2007 04:02 PM
Re: IE macro recorder jazzycat Internet Explorer 0 05-18-2007 05:59 AM
Macro, help please Gerhard Windows Vista General Discussion 1 10-27-2006 11:43 PM
[help]Does anyone can explain this macro? James_Chen\(ۧ\) Windows Vista Drivers 3 10-13-2003 01:54 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59