Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
Fickkee

alarmclock help

Recommended Posts

hello

 

want to make a alarm clock from my computer my computer is powered 24/7 (most of the time)

cant wakeup early from my regular alarm clock

so i want to use my windowsmediaplayer to wake me up in the morning

have coded most of it movemouse,mouseclick, ect

 

but i want it to start at exact 06.30 Belguim time

the script needs to activate to turn my media player on

what this command or is it possible ?

Share this post


Link to post
Share on other sites

program New;
begin
 PlaySound('location of music file'); //eg: c:\alarm.wav
end.

 

playsound can only play .wav files i think.

Share this post


Link to post
Share on other sites

I'm all for using SCAR to make your life easier, but wouldn't it be easier to just use Windows' task scheduler, you should find it as "Taakplanner" on a dutch os when you type it into start menu search, you can create a new task and it can execute a program or file at a given time of your chosing. You can just select an mp3 rather than a program and it will start it at the time you entered with your default player.

Share this post


Link to post
Share on other sites

ahh yes it is :D

ik was ineens aant leren met scar werken dermee

zo kan het dus ook dan ga ik scar voor iets anders gebruiken :D

merci

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...