|
||||
Re: Certain script run at a certain time
Quote:
I use this , however , i also have pocketshield . and i have the reg entry SLEEPTIME set to 5 so when i get a text while my phones in my pocket it will screen off in 5 seconds . unfourtunatly , when i have my alarm go off , 5 seconds isnt enough for pocketshield to unlock itself once galarm powers up (have galarm in the exceptions list) so at midnight , i want to run a script that will reset the SLEEPTIME reg entry to 30 . Thanks though ! |
|
||||
Re: Certain script run at a certain time
Quote:
Alright , thank you so much for this .. im still fuzzy , however i started wondering into the mist . Where before i was too confused to even start . the mist was a dense fog where i couldnt even see my footing . I noticed you put up your own script , ill try my version today . may not get it done , have a research paper to wright , but ill try my best ! Thanks again so very much !!!! ![]() ![]() |
|
||||
Re: Certain script run at a certain time
I tested it in my FTP Backup script and it works/schedules perfectly fine so far
![]() |
|
||||
Re: Certain script run at a certain time
Quote:
|
|
||||
Re: Certain script run at a certain time
This is off topic as far as mortscript is concerned, but I've also been having problems with g-alarm since I bought pocketshield. elesbb, are you able to use the g-sensor in g-alarm (like shake to snooze) with pocketshield installed? Even though I don't use any g-sensor settings in pocketshield, it still snoozes g-alarm almost instantly after the alarm goes off. Removing pocketshield makes it so this isn't a problem anymore, so it must be doing something. I've also had problems with it turning off g-alarm too soon as you have had (with the g-sensor setting in g-alarm disabled).
__________________
|
|
||||
Re: Certain script run at a certain time
Quote:
one quick question , when the command runAt is executed , does the script that executes that command need to be ran again ? or does the device know when to run the desired program automatically after you execute the script ? like in the code you listed , it uses the variable (varTomorrowSchedule) to tell the runAt command when to launch specified program , mus the script be constantly ran to reassign the value of varTomorrowSchedule ? or once you run the script once that's it ? thanks again man . You rock ! |
|
||||
Re: Certain script run at a certain time
Quote:
the problem I have experienced , I personally found the reg entry which handles the time the screen stays on once it wakes up , while its still locked . I changed it to 5 , allowing me to save battery when I get a text message and my phones in my pocket . Since it doesn't screen off from the proximity sensor . However , when my device wakes for an alarm , the galarm application doesn't fully load in 5 seconds to the point where pocketshield notices it as an active application and shuts the screen off keeping the alarm from sounding until the screen turns on again . But when I have the sleep time set to 30 seconds , it unlocks due to the exception added for galarm , and my alarm sounds like its supposed to . so I have 2 mortscripts written which allows me to change the sleep time without using resco or any other reg editor . And what I wanted to do was have each script run at a certain time , like for me , have the 30 second script run at midnight , so my alarm goes off at 6 when I wake up , then having the 5 second script run to restore the 5 second sleep at say 630 when I have already woken . if your device is unlocked , the g sensor should function correctly with galarm , I haven't experienced any issues when it unlocks to sound the alarm . Let me know if you get it working or what other problems you run into . Last edited by elesbb; 04-11-2011 at 11:27 PM. |
|
||||
Re: Certain script run at a certain time
Quote:
Tell me if this helps (I apologize in advance for the lengthy notes!). Quote:
|
This post has been thanked 1 times. |
|
||||
Re: Certain script run at a certain time
Quote:
The first time you run it will be manual and it will add itself to the notification queue for tomorrow at midnight. When it runs at that time, it'll add itself to the queue on the following day at midnight, and so on. You can actually see all the notifications on your device using dotFred's Task Manager (to verify that your script is working or the delete/add notifications manually). He's the author of PIMBackup and they're both fantastic programs IMO. Check out his site at: Dotfred's TaskMgr |
This post has been thanked 1 times. |
![]() |
|
|
|