Hello Jacqueline,
To be honest before reading what you just wrote, I would not have considered it for other repeating events and so those few words have again broadened my learning curve.
Regards,
Ruth
Search found 84 matches
- Fri Jan 02, 2015 8:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
- Fri Jan 02, 2015 3:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp [SOLVED]
Sorry SparkOut both files had a similar name in my learning folder and yours really was self explanatory.
I do thank you for your time and patience, it was much appreciated and I can now move on to another issue which I have yet to solve.
Kind regards,
Ruth
I do thank you for your time and patience, it was much appreciated and I can now move on to another issue which I have yet to solve.
Kind regards,
Ruth
- Fri Jan 02, 2015 1:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
EDITED: The text below in italics was my mistake in that I failed to open the correct file. Well the sample stack written by Jaqueline and Kevin no doubt in any other person's hands other than mine is an excellent reference point. However, I have failed to find/understand what I should use to repla...
- Fri Jan 02, 2015 10:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
I have now added:- put field "EveryXMinutes" into tMins if (tMins is not an integer) or (tMins < 1) then put "Invalid interval" into field "EveryXMinutes" set the cUpdatesRunning of this card to false else send updateTheData to this card in (tMins * 60) seconds end if end if end updateTheData and al...
- Fri Jan 02, 2015 9:43 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
I removed the 2 problem lines and all is now working. However, before I go onto your If that works, then edit the on updateTheData handler with a check for valid integer value in the field on clicking your message button this appears:- 6258,1420187535.991,updateTheData,card id 1283 of stack "C:/01 L...
- Fri Jan 02, 2015 9:28 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to put system time into hh:mm:ss [SOLVED]
- Replies: 8
- Views: 4030
Re: How to put system time into hh:mm:ss [SOLVED]
Thank you dunbarx and Dixie.
Regards,
Ruth
Regards,
Ruth
- Fri Jan 02, 2015 2:10 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to put system time into hh:mm:ss [SOLVED]
- Replies: 8
- Views: 4030
Re: How to put system time into hh:mm:ss
When I said it was corrected in my previous answer we were on PM time and unfortunately when midnight passed it then displayed as h:mm:ss and not hh:mm:ss
Regards,
Ruth
Regards,
Ruth
- Fri Jan 02, 2015 1:32 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
Thanks SparkOut and I will study it as we appear to be close to a result. It could be I'm getting very tired and need to look afresh in the morning and I will get back to you.
I do thank you for your time as I'm not the sharpest knife in the draw regarding LC.
Regards,
Ruth
I do thank you for your time as I'm not the sharpest knife in the draw regarding LC.
Regards,
Ruth
- Fri Jan 02, 2015 1:10 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
This is what I have: on updateTheData if the cUpdatesRunning of this card is true then --do whatever your updates need -- below is the System Time to seconds set the twelvehourTime to false put the long time into field "SThhmmss" Etc Etc Etc set the cUpdatesRunning of this card to true updateTheData...
- Fri Jan 02, 2015 12:46 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
This still results in the same error:-
Code: Select all
updateTheData
send updateTheData to this card in 60 seconds
end if
end updateTheData
- Fri Jan 02, 2015 12:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
I moved everything from the Go button on mouseUp ( not sure what I should leave out ) to the --do whatever your updates need and received the error below: All the result fields are now changing correctly but at less than a second and not on the EveryXMinutes one minute I input and the Message button...
- Thu Jan 01, 2015 11:09 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
The code you use to perform the updates is where? If I understand your question correctly I'm not using any update in my code. Previously before adding any of your suggested code, when I clicked the Go button I would have the required answers to my inputs which are based around the system time. set...
- Thu Jan 01, 2015 9:39 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
The EveryXMinutes does only contain a whole numeric value such as 3 The obvious.. your on updateTheData handler does have the code you moved from the original code to update the data as well as what you have added, doesn't it? You need to put it between the if/then parts so that it will only update ...
- Thu Jan 01, 2015 8:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
Re: How to auto repeat the on mouseUp
Thank you SparkOut. I have done as suggested and whilst I get no errors, there is no auto Go button click after the first manual click. I append below what I added just in case I'm missing a glaring typo. Regards, Ruth My Card script added to the card containing both the inputs and result: on update...
- Thu Jan 01, 2015 4:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to auto repeat the on mouseUp [SOLVED]
- Replies: 24
- Views: 10268
How to auto repeat the on mouseUp [SOLVED]
I'm coming to the end of coding on Android for the project I set myself a month ago (l ayout will be next ) and I'm well and truly stuck on repeating the on mouseUp every X amount of minutes. As none of the field's information changes except for the system time if the button is manually pressed agai...