Pascal Hibon;593739 Wrote:
> A way to remind you every night is to setup an event in your iPhone
> calendar. It is possible to make it recurring (every night) and to
> alert you.
> I know this is not what you were asking about either but I think it
> will be easier than creating a script that toggles alarms on and off by
> using CLI commands.
I've already created a script in autoit (windows script language) it is
Scheduled to run every night 04:00
Here is the script, customized for my player:
#cs
----------------------------------------------------------------------------
AutoIt Version: 3.3.0.0
#ce
----------------------------------------------------------------------------
; Script Start - Add your code below here
Opt('SendKeyDelay', 20)
For $i = 1 To 5
If ProcessExists('boxee.exe') Then
ProcessClose('boxee.exe')
Sleep(1000)
Else
ExitLoop
EndIf
Next
For $i = 1 To 5
If ProcessExists('xbmc.exe') Then
ProcessClose('xbmc.exe')
Sleep(1000)
Else
ExitLoop
EndIf
Next
$url = 'http://localhost:9000'
Run(@comspec & ' /c start ' & $url,'',@sw_hide)
Sleep (15000)
Send ("{TAB 26}")
Send ("{Enter}")
Sleep (15000)
Send ("{TAB 3}")
Sleep (1500)
Send ("A")
Send ("{Enter}")
Sleep (15000)
Send ("{TAB 2}")
Send ("{DOWN}")
Send ("{TAB 54}")
Sleep (5000)
Send ("{Enter}")
Sleep (10000)
For $i = 1 To 5
If ProcessExists('firefox.exe') Then
ProcessClose('firefox.exe')
Sleep(1000)
Else
ExitLoop
EndIf
Next
---
/Hans
--
DiSNEYN
------------------------------------------------------------------------
DiSNEYN's Profile: http://forums.slimdevices.com/member.php?userid=5070
View this thread: http://forums.slimdevices.com/showthread.php?t=83741
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss