So I use the following script for BLGData which works great, but the problem I now have is that when I added ev.StartTime, it speaks the event time in military format instead of standard format (e.g. AM/PM). I've tried adding 12:00 = 12pm in BLSpeach, but it still speaks in military. Anyway around this?
Code:
Sub Main(parms As Object) Dim allEvents As Object() Dim Office, source, volume, speaker allEvents = hs.PluginFunction("BLGData", "", "GetCalendarEvents", new Object(){"user@domain.com","user@domain.com","Today"}) For Each ev As Object In allEvents hs.Speak("{speaker=Office,source=2,volume=60}" & ev.StartTime & ev.Name) Next End Sub
Comment