Jump to content
9 posts in this topic

Recommended Posts

  • 1 month later...

Same problem here running Retail Installation on Rampage II Extreme with i7 920 processor.

I had it working once but cannot recreate the settings to make it work.

 

Please help!!!!

 

It goes to sleep if you manually hit sleep but in energy settings when it is set to sleep automatically the fans stay on and system seems to continue to run.

 

Thanks

 

JN

  • 3 weeks later...
  • 4 weeks later...
I wrote it in Applescript - it looks for the sleeptime in System preferences, then it compares the sleeptime with the idletime, if idletime is greater than sleeptime it sends the machine to sleep ... no big deal at all, but for me it works ... :(

 

 

I figured out how to look at the script source, I am kinda new to Mac and Apple script, though I have been a windows developer for over 10 years.

 

I think the script is great, but, I think there is a bug in your logic (please take this as constructive criticism). I was copying some really big files today, and I did not want the computer to go to sleep before it finished, so I set the computer sleep option to never in System Preferences. As soon as I did that, my computer immediately went to sleep. It kinda surprised me, and after I woke it back up, it just froze so I rebooted and it did it again just after the desktop came up. Then I thought maybe your script is doing it, so I managed to get back into System Preferences and changed the sleep setting to 3 hours. I has been fine since I did that.

 

I am not sure what the integer value is in systemSleepDelay variable you are using if the sleep setting is set to "never", I have not gotten that far yet. I am betting that it is zero and that may be where your logic is slightly flawed. I plan on testing the following change to your logic later today or tomorrow.

 

if idleTime > systemSleepDelay and systemSleepDelay ≥ 1 then

 

I will let you know what my results are and if it makes a difference.

 

Again thank you very much for the script...

  • 1 month later...

First i must apaologize for the late reply. In fact its the number zero (0) which is used from energy save preferences when set to Never. So the script immediately goes to sleep again after wake. I changed this and one bug while running time machine backups ...

 

Ups ... forgot the link ... again ...

 

http://www.insanelymac.com/forum/index.php?showtopic=182535

×
×
  • Create New...