Quote:
Originally Posted by jwoegerbauer View Post
Hi,

my device is CE 5.0 Core based, and it seems to me I can't get RunAt() working, i.e. the test-script
(trimmed quote)
doesn't re-run every minute. Have I overseen something? Any help appreciated! TIA
Try this simpler example from the wiki
Code:
# Ensure the phone wakes up
ToggleDisplay(ON)
#Find path to mortscript.exe
mort = SystemPath("ScriptExe") & "\" & "MortScript.exe"
# This is how the script will know its own name to create the notification by and how the notification will know what script to run
script = """" & SystemPath("ScriptPath") & "\" &  SystemPath("ScriptName") & SystemPath("ScriptExt") & """"
#Removing previous versions by killing any lingering notification
RemoveNotifications(mort, script)
# Something to see that it ran
Message("I'll be back!")
# Set the next notification queue item to run
RunAt( Timestamp()+60, mort, script)
AT&T Samsung Galaxy S III running Quantum.4
Read About Me to see what I am working on & following like CHTS, Reminder and AppTask widgets, and CHT basic function tweaks. Also, Fixed CHT restarting when you have no tasks.
Mortscript | iniEditor | regEditor| MortScripts to toggle settings
Samsung Infuse 4G drowned. If you have one check out Scott's CM10 or CM10PA Firmware
ATT Fuze (HTC RAPH110) with Energy ROM: Energy.RAPHAEL.29022.Sense2.5.Cookie.2.0.Jul.06
HTC Wizard|See about me for my ROM collection and other work