Help - Search - Members - Calendar
Full Version: Skype Wake Up Service
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
azriaziz_
.... ive seen yapperbox's morning call... simple, easy and smart.. and i wonder if the below is possible.......


1.SKYPE ALARM CLOCK
is there a way to get skype to implement a proper service... like "echo123"

ie: "alarm123" .. set the time ... and sleep... next morning skype calls you.


2.SKYPE AUTO CALLER WITH TIMER

set the time to call, and it will call a skype contact.. .. like a roundabout method of the alarm service for people with 2 skype comps / accounts.



the reason for this is that i can only wake up ... if someone calls me through skype. this is because... the "ring pc speaker" function in skype settings, makes a good loud noise...

Is there a way to use that "ring pc speaker" function as an alarm clock?


comments pls..
:wink:
ppmotskula
IMO there are easier and more logical ways for achieving this. if you google for "pc alarm clock software" you will probably find tons of different apps, many of which are free.
azriaziz_
ive tried.. and failed..

by the looks of it, the only way is if its a call through skype.


cuz.. the laptop's beeps/rings ontop of a normal ringtone from wav/mp3 file.
mechanic_05_
You could install AIVMS on a different computer, and then set up a Windows task or other scheduling software to run AIVMS at a specified time with the alert switch.
Example :

"C:Program FilesAIVMSAIVMS.exe" ALERT Wake Up Now!

The AIVMS artificial intelligence will call the Skype account specifed in the ADMIN ALERT settings whenever it receives a command line like that shown above, and announce the specified alert message (Wake Up Now!) once the recipient has answered.

Note that the command does not actually run AIVMS since it would already be running, it just passes the command line parameters to AIVMS.

You can also issue commands such as this using the windows API sendmessage function from your own software. Here is an example of how this is performed in Visual Basic:

CODE




' Add a module to a VB project and paste the following code.



Public Declare Function FindWindow Lib "user32" Alias _

  "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName _

  As String) As Long



Private Declare Function SendMessage Lib "user32" Alias _

  "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal _

  wParam As Long, lParam As Any) As Long



Private Declare Sub CopyMemory Lib "KERNEL32" Alias "RtlMoveMemory" _

  (hpvDest As Any, hpvSource As Any, ByVal cbCopy As Long)



Private Type COPYDATASTRUCT

   dwData As Long

   cbData As Long

   lpData As Long

End Type



Private Const WM_COPYDATA = &H4A



Sub Main()

Dim MyWindow as String, myData as String



myWindow = "AIVMSInterface"

myData = "ALERT Skype Voice Mail Has Been Recieved"

COMSend myWindow, myData



End Sub



Public Function COMSend(Window As String, Data As String)

Dim lHwnd As Long

Dim cds As COPYDATASTRUCT

Dim buf() As Byte



If Data = vbNullString Then Exit Function



' Get the handle of the AIVMS application COM interface.



lHwnd = FindWindow(vbNullString, Window)



' Copy the string into a byte array,

' converting it to ASCII. Assign lpData

' the address of the byte array.



If lHwnd = 0 Then Exit Function

ReDim buf(Len(Data))

Call CopyMemory(buf(0), ByVal Data, Len(Data))

With cds

   .dwData = 1

   .cbData = Len(Data)

   .lpData = VarPtr(buf(0))

End With



' Send the string.

Call SendMessage(lHwnd, WM_COPYDATA, lHwnd, cds)



End Function





If you prefer, you can just login to the AIVMS remote TCP/IP interface and issue commands. TCP/IP is fairly platform independent, so this provides maximum versatility. You can access the AIVMS remote TCP/IP interface securely from any computer connected to the Internet.

You can specify AIVMS to transmit these alerts by Skype voice call or chat message, or by an email message to the Admin Alert account.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.