Alarms do not appear in list

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
louisheck
Posts: 5
Joined: Tue Jun 18, 2013 2:42 pm

Alarms do not appear in list

Post by louisheck » Tue Feb 16, 2016 12:34 am

My computer is a MacBook Pro. I cannot get any alarms to appear in the list. Sometimes they appear in the clockAppAlarms file, sometimes not. Even when visible in the file, they do not appear in the list.

Your help is appreciated!

See the attached Clock.livecode.zip.

Louis Heck
Attachments
Clock.livecode.zip
(21.91 KiB) Downloaded 103 times

LCNeil
Livecode Staff Member
Livecode Staff Member
Posts: 1223
Joined: Wed Oct 03, 2012 4:07 pm

Re: Alarms do not appear in list

Post by LCNeil » Tue Feb 16, 2016 1:30 pm

Hi Louis,

At the moment I can only see the

Code: Select all

loadAlarms
command being executed when the stack is initially opened. This means that any new alarms that are added, will not show unless the stack is opened again.

When you save an alarm via

Code: Select all

saveAlarms
you are replacing the contents of the whole alarm file by using

Code: Select all

put...into
.

Please see the next lesson Checking For Alarms as this will explain how to read the list of alarms and how to save more than a single alarm.

Kind Regards,

Neil Roger
--
LiveCode Support Team ~ http://www.livecode.com
--

louisheck
Posts: 5
Joined: Tue Jun 18, 2013 2:42 pm

Re: Alarms do not appear in list

Post by louisheck » Sun Feb 21, 2016 9:41 pm

Neil,

MacBook Pro, MacOS 10.11.3, LiveCode 7.1

I understand your suggestion and have reviewed the video and slides for the course on the Clock app including the 'Checking for Alarms' and the 'Editing and Deleting Alarms' as far as I could go, but could not finish since the alarms are not displayed. Even when I run preOpenStack via the Message Box, no alarms display. When I save and close the app, all alarms are deleted from the alarms file, so when it is reopened, nothing displays.

What did I miss?

Thanks,
Louis Heck
Attachments
Clock.livecode.zip
(22.02 KiB) Downloaded 105 times

Post Reply

Return to “Clock”