Thank's so much for this script- works perfectly! Only issue I am having is that whenever Adobe Flash is open, the computer doesn't sleep. This is not under the "Safari" program (added "Safari:100" for kicks and didn't help) but I can't add Flash Player to the main.scpt with Open RIP 10.7. Can someone help me edit the script to include Flash Player? Much appreciated!
164 replies to this topic
#121
Posted 02 August 2011 - 12:45 AM
#122
Posted 11 August 2011 - 06:31 AM
KWS
Couple days ago I was using the super duper to backup my Lion osx, and before that I was copying some large files between the partitions, in both ways the script triggered the auto sleep (but in this cases it shouldn't).Isn't the script monitoring the master CPU load or?
Pls tell me how the script is programmed , this line : set CPUload to {"Finder:2"} --CPUload, it is supposed to monitor the general CPU load and above 30% from 0.2%(that is 0.26% cpu load) the script should prevent the auto sleep.
Pls tell me how can I add some application, for example super duper or whatever, How can I tell the script to monitor the finder or cpu load and above 2% of general use(not 0.2) not to trigger.
And does the script usese the original autosleep timer from system preferences?
Pls , tell me how can i implement in this script the situation when the files are copied from one to onother partition in the OSX , how to insert the line to monitor the Finder activity and above 2% use - not to trigger the auto sleep
Also isnt possible to add ability , the network traffic to be watch generally ant not only for the "downloads" folder, for example on some other partition - Im willing to insert those lines by myself, but i need your assistence in the begging.
thanks
Couple days ago I was using the super duper to backup my Lion osx, and before that I was copying some large files between the partitions, in both ways the script triggered the auto sleep (but in this cases it shouldn't).Isn't the script monitoring the master CPU load or?
Pls tell me how the script is programmed , this line : set CPUload to {"Finder:2"} --CPUload, it is supposed to monitor the general CPU load and above 30% from 0.2%(that is 0.26% cpu load) the script should prevent the auto sleep.
Pls tell me how can I add some application, for example super duper or whatever, How can I tell the script to monitor the finder or cpu load and above 2% of general use(not 0.2) not to trigger.
And does the script usese the original autosleep timer from system preferences?
Pls , tell me how can i implement in this script the situation when the files are copied from one to onother partition in the OSX , how to insert the line to monitor the Finder activity and above 2% use - not to trigger the auto sleep
Also isnt possible to add ability , the network traffic to be watch generally ant not only for the "downloads" folder, for example on some other partition - Im willing to insert those lines by myself, but i need your assistence in the begging.
thanks
#123
Posted 13 August 2011 - 01:00 AM
fc bayern, on Aug 11 2011, 02:31 AM, said:
KWS
Couple days ago I was using the super duper to backup my Lion osx, and before that I was copying some large files between the partitions, in both ways the script triggered the auto sleep (but in this cases it shouldn't).Isn't the script monitoring the master CPU load or?
Pls tell me how the script is programmed , this line : set CPUload to {"Finder:2"} --CPUload, it is supposed to monitor the general CPU load and above 30% from 0.2%(that is 0.26% cpu load) the script should prevent the auto sleep.
Pls tell me how can I add some application, for example super duper or whatever, How can I tell the script to monitor the finder or cpu load and above 2% of general use(not 0.2) not to trigger.
And does the script usese the original autosleep timer from system preferences?
Pls , tell me how can i implement in this script the situation when the files are copied from one to onother partition in the OSX , how to insert the line to monitor the Finder activity and above 2% use - not to trigger the auto sleep
Also isnt possible to add ability , the network traffic to be watch generally ant not only for the "downloads" folder, for example on some other partition - Im willing to insert those lines by myself, but i need your assistence in the begging.
thanks
Couple days ago I was using the super duper to backup my Lion osx, and before that I was copying some large files between the partitions, in both ways the script triggered the auto sleep (but in this cases it shouldn't).Isn't the script monitoring the master CPU load or?
Pls tell me how the script is programmed , this line : set CPUload to {"Finder:2"} --CPUload, it is supposed to monitor the general CPU load and above 30% from 0.2%(that is 0.26% cpu load) the script should prevent the auto sleep.
Pls tell me how can I add some application, for example super duper or whatever, How can I tell the script to monitor the finder or cpu load and above 2% of general use(not 0.2) not to trigger.
And does the script usese the original autosleep timer from system preferences?
Pls , tell me how can i implement in this script the situation when the files are copied from one to onother partition in the OSX , how to insert the line to monitor the Finder activity and above 2% use - not to trigger the auto sleep
Also isnt possible to add ability , the network traffic to be watch generally ant not only for the "downloads" folder, for example on some other partition - Im willing to insert those lines by myself, but i need your assistence in the begging.
thanks
Use Open RIP 10.7 (attached). If you have any questions then ask but I believe you just open this and it will find the script, and follow instructions in window to edit.
Attached Files
#124
Posted 13 August 2011 - 07:25 AM
#125
Posted 22 August 2011 - 12:26 PM
Works great in Lion for my Asus P5W !
Thanks !!
Thanks !!
#126
Posted 26 September 2011 - 09:13 PM
KWS, on Feb 7 2011, 09:53 AM, said:
...
... and at last one ONLY for battery monitoring (sleep if battery power is less than 3 % (if not charging)
BatteryMon.app.zip
... and at last one ONLY for battery monitoring (sleep if battery power is less than 3 % (if not charging)
Hey KWS,
thanks a MILLION for both: your RIP script and real data saver BatteryMon.app
Best Wishes
swavek
#127
Posted 16 October 2011 - 01:34 PM
Does this work in 10.7.2?
I tried to install it, but the installer cant finish. Anyone else who have that problem?
Or is there another workaround for 10.7.2?
I tried to install it, but the installer cant finish. Anyone else who have that problem?
Or is there another workaround for 10.7.2?
#128
Posted 16 October 2011 - 03:30 PM
KWS could you please explain whats happening in your "battery check" script here:
I'm trying to understand it and change sleep mode from 3% to 5% and can't work that out.
Thanks in advance
s
set batt to do shell script ("ioreg -w0 -l|grep LegacyBatteryInfo")
set oldDelims to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"Capacity\"="}
set all2 to second text item of batt
set AppleScript's text item delimiters to {","}
set all to first text item of all2
set tresh to all / 30 as integer
set AppleScript's text item delimiters to {"Current\"="}
set curr2 to second text item of batt
set AppleScript's text item delimiters to {","}
set curr to first text item of curr2
set AppleScript's text item delimiters to oldDelims
if tresh > curr then
I'm trying to understand it and change sleep mode from 3% to 5% and can't work that out.
Thanks in advance
s
#129
Posted 19 October 2011 - 07:03 AM
tresh is 100 divided to 30 = 3,33 %-
all is your full battery capacity
You need to change to all divided to 20 = 5 %
set tresh to all / 20 as integer
Regards
KWS
all is your full battery capacity
You need to change to all divided to 20 = 5 %
set tresh to all / 20 as integer
Regards
KWS
#130
Posted 19 October 2011 - 03:38 PM
in 10.7.2 if i have kwsleep installed, after resuming from sleep the machine waits up to a minute or so (sometimes instantly) and then puts itself back to sleep... anyone else having this issue?
#131
Posted 20 October 2011 - 06:46 PM
Dojomann, on Oct 19 2011, 05:38 PM, said:
in 10.7.2 if i have kwsleep installed, after resuming from sleep the machine waits up to a minute or so (sometimes instantly) and then puts itself back to sleep... anyone else having this issue?
+1 here! same exact problem, i don't know if it's related to kwsleep (that i have also installed). This happens only sometimes (maybe when i wake the system by mouse-click and not by power-button but i'm not sure about this).
Bye
#132
Posted 20 October 2011 - 08:02 PM
Try as a workaround to execute a keystroke or a mouseclick directly after wake.
Possibly uda dont reset system activity, so after 30 s sleep triggers again ...
Possibly uda dont reset system activity, so after 30 s sleep triggers again ...
#133
Posted 21 October 2011 - 12:31 AM
KWS, on Oct 19 2011, 08:03 AM, said:
tresh is 100 divided to 30 = 3,33 %-
all is your full battery capacity
You need to change to all divided to 20 = 5 %
set tresh to all / 20 as integer
Regards
KWS
all is your full battery capacity
You need to change to all divided to 20 = 5 %
set tresh to all / 20 as integer
Regards
KWS
Thanks for clearing that out KWS, I got carried away with this problem and created my own Zarvox-lowBattery voice alert ;)
Best
swavek
#134
Posted 21 October 2011 - 04:24 AM
KWS, on Oct 20 2011, 04:02 PM, said:
Try as a workaround to execute a keystroke or a mouseclick directly after wake.
Possibly uda dont reset system activity, so after 30 s sleep triggers again ...
Possibly uda dont reset system activity, so after 30 s sleep triggers again ...
nope, doesn't seem to do it... mashing the keyboard to no avail, still goes back to sleep.. I've removed kwsleep since and it's fine, just doesn't go to sleep after a certain amount of time.
#135
Posted 21 October 2011 - 06:22 PM
QUOTE (Dojomann @ Oct 21 2011, 04:24 AM)
nope, doesn't seem to do it... mashing the keyboard to no avail, still goes back to sleep.. I've removed kwsleep since and it's fine, just doesn't go to sleep after a certain amount of time.
OK, in case of sleep-problems i must say that ...
iQuit
I'm very busy at the moment ... maybe I can continue the project sometime in the future ...
the future is already gone ... i did a quick workaround to avoid resetting system-activity ... hope it works ...
Best Regards
KWS
nope, doesn't seem to do it... mashing the keyboard to no avail, still goes back to sleep.. I've removed kwsleep since and it's fine, just doesn't go to sleep after a certain amount of time.
OK, in case of sleep-problems i must say that ...
iQuit
I'm very busy at the moment ... maybe I can continue the project sometime in the future ...
the future is already gone ... i did a quick workaround to avoid resetting system-activity ... hope it works ...
Best Regards
KWS
#136
Posted 18 November 2011 - 11:30 PM
#137
Posted 02 December 2011 - 02:13 PM
Thanks KWS! Your solution worked very well for me, I used it a very long time, beginning with 10.5
A few days ago I updated my machine to 10.7.2 and I was very sad to learn that RIP does not do the job anymore :-(
Anyway, I will find a different solution, I just wanted to express my thankfulness.
Best regards
RogerG
A few days ago I updated my machine to 10.7.2 and I was very sad to learn that RIP does not do the job anymore :-(
Anyway, I will find a different solution, I just wanted to express my thankfulness.
Best regards
RogerG
#138
Posted 07 December 2011 - 08:22 PM
I added updates for 10.7.2 on first page ...
#139
Posted 14 December 2011 - 03:05 PM
KWS, on 07 December 2011 - 08:22 PM, said:
I added updates for 10.7.2 on first page ... 
Great ... working again ..
Questions:
i have osx installed on a box as a remote server 10.6.8 using a airport extreme so i can take advantage of the bonjour proxy service.. my problem is that if i access files on the shares of the server... "playing a movie" it will sleep. so i tried to set applefileserver:1 smbd:1 and Applevncserver:1 and it looks that it keeps longer until it sleeps but i can't go smaller than 1. Kwssleep monitors downloading net traffic, maybe the easiest way would be if its possible to monitor the upload too.
anyway thx for the update
Salu2
#140
Posted 14 December 2011 - 03:32 PM
OsXsO, on 14 December 2011 - 03:05 PM, said:
Great ... working again ..
on my 10.7.2
Questions:
i have osx installed on a box as a remote server 10.6.8 using a airport extreme so i can take advantage of the bonjour proxy service.. my problem is that if i access files on the shares of the server... "playing a movie" it will sleep. so i tried to set applefileserver:1 smbd:1 and Applevncserver:1 and it looks that it keeps longer until it sleeps but i can't go smaller than 1. Kwssleep monitors downloading net traffic, maybe the easiest way would be if its possible to monitor the upload too.
anyway thx for the update
Salu2
Questions:
i have osx installed on a box as a remote server 10.6.8 using a airport extreme so i can take advantage of the bonjour proxy service.. my problem is that if i access files on the shares of the server... "playing a movie" it will sleep. so i tried to set applefileserver:1 smbd:1 and Applevncserver:1 and it looks that it keeps longer until it sleeps but i can't go smaller than 1. Kwssleep monitors downloading net traffic, maybe the easiest way would be if its possible to monitor the upload too.
anyway thx for the update
Salu2
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users



Sign In
Create Account









