Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Sleep mode

27 Jan 2013   #11
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

No problem. I have redone it with AutoHotKey scripting language. Now it is a windowless exe program.


If your media center XBMC.exe was started as non-administrator, this script will close it without a problem.

If XBMC.exe was started as administrator, you have to activate start as administrator option for this exe.
Right click Custom_Sleep.exe and Properties - Compatibility - Run as Administrator.


My System SpecsSystem Spec
.
27 Jan 2013   #12
senna99

Windows 7 32 bit
 
 

Thank you very much works perfectly,no longer pops up a window.
I owe you for this help.

Best Regards
My System SpecsSystem Spec
27 Jan 2013   #13
lhorwinkle

Win 7
 
 

Why use a script?

I use a simple shortcut that runs this:
C:\WINDOWS\system32\rundll32.exe Powrprof.dll,SetSuspendState Sleep

Simple.
My System SpecsSystem Spec
.

27 Jan 2013   #14
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Quote   Quote: Originally Posted by lhorwinkle View Post
Why use a script?

I use a simple shortcut that runs this:
C:\WINDOWS\system32\rundll32.exe Powrprof.dll,SetSuspendState Sleep

Simple.
Thas is very kind of you, lhorwinkle. Thank you for sharing your knowledge.
But you have not read all the messages in this thread, have you?

Let me sum it up for you. OP requested several things besides sleep:
KILL CERTAIN PROGRAM
and
NO COMMAND LINE/ SCRIPT WINDOW.

I have implemented all of the requests in AutoHotKey script, which I have converted to exe file.
My System SpecsSystem Spec
27 Jan 2013   #15
senna99

Windows 7 32 bit
 
 

Hello Neutron16
I have a question I use the plugin in XBMC.Advance launcher which loads the lnk file and exe file.
When I start the exe file cmd do not pops up, when I start lnk file cmd is pops up.I've tried all the advice from the Internet,but not worth anything.I ask you for advice how to cmd not pops up.lnk files is for yahoo internet, xbox live, etc.
I use Maxton brovser over it create lnk file.
When I start lnk I get a clean page without borders this is the reason why I need the lnk file.Forgive me if I'm boring.
Best Regards
My System SpecsSystem Spec
27 Jan 2013   #16
Neutron16

Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
 
 

Quote   Quote: Originally Posted by senna99 View Post
Hello Neutron16
When I start the exe file cmd do not pops up, when I start lnk file cmd is pops up.
I am sorry, I am not clear with what you have said. Normally, when you start a lnk file there is no cmd.
Could you be so kind to write me a private message with more detailed explanation with the file itself and couple screenshots?
My System SpecsSystem Spec
27 Jan 2013   #17
senna99

Windows 7 32 bit
 
 

Yes of course I will send you a private message.Thanks to the rapid response and interest for my problem.
Best Regards
My System SpecsSystem Spec
Reply

 Sleep mode




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Laptop freezes between entering sleep mode to being in sleep mode
Hi, I've had this problem intermittently on my laptop for the past 2 years however it has been occuring more often recently. Basically sometimes when I click the sleep button on Windows 7, the screen fades to black as usual. However the fan keeps running (sounds like when it's on full load) and...
General Discussion
Sleep Mode errors - system won't sleep, 12 errors in energy-report
Issue at large: Win7-64 won't go into sleep mode. Recent issue in last week. Also seems to be automatically resetting from Balanced power mode to High Performance? Below is the energy-report.html results, if they're helpful: Power Efficiency Diagnostics Report Computer Name HOME-PC Scan...
Performance & Maintenance
Help Please...PC won't come out of sleep mode unless I...
power off and unseat the video card, re-seat it, and power back up... win7 pro Intel Core i7 870 Processor ATI FirePro V4800 Motherboard GA-P55A-UD3Without doing the above steps, just get black video screen Would this be a software issue, problem with motherboard or video card?
BSOD Help and Support
How do i use hibernate mode without going into sleep mode first
I want windows media center computer to go into hibernate mode only. Now it goes to sleep after 25 min and then hibernates after 30 min. How do i set it so it will go right into hibernate mode? thanks:)
Software
Sleep Mode
I cannot always get my computer to wake up by hitting a keyboard button. I will have to reboot is. Do I need to program in something? (Not to mention CTRL/ALT/DEL will not reboot my computer so I have to shut off and turn on again.) Also, whenever my computer is off and I turn on again half the...
General Discussion
sleep mode + ics
is there a way i can put my laptop to sleep mode but still resume internet connection sharing? thanks.
Network & Sharing


Our Sites

Site Links

About Us

Find 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 05:41.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App