xboxscene.org forums

Author Topic: Alarm Clock Script:needed  (Read 45 times)

tylerdur199

  • Archived User
  • Newbie
  • *
  • Posts: 1
Alarm Clock Script:needed
« on: June 17, 2006, 01:53:00 AM »

Even if someone could make one that would make a loud noice at a certain time or something.
That would be greatly appreciated.

Thanks everyone
Logged

blittan

  • Archived User
  • Full Member
  • *
  • Posts: 135
Alarm Clock Script:needed
« Reply #1 on: June 18, 2006, 04:08:00 PM »

CODE

import xbmc, xbmcgui

sound = "Q:\\scripts\\alarm.wav"
xbmc.executebuiltin('XBMC.AlarmClock(\'alarm\',sound)')
Logged

blittan

  • Archived User
  • Full Member
  • *
  • Posts: 135
Alarm Clock Script:needed
« Reply #2 on: June 18, 2006, 04:56:00 PM »

QUOTE(blittan @ Jun 19 2006, 12:15 AM) View Post

here is a really simple, lets you set an alarm (no cancel) and when alarming it plays "alarm.wav" ..

CODE

import xbmc, xbmcgui

sound = "Q:\\scripts\\alarm.wav"
xbmc.executebuiltin('XBMC.AlarmClock(\'alarm\',sound)')



argh.. wrong.. too tired, will look into this in the morning..
Logged