For your other thread on showing a timer...
Use the Text contains 'minute' block to decide whether or not to show a timer.
For your other thread on showing a timer...
Use the Text contains 'minute' block to decide whether or not to show a timer.
im sorry but how can i make it time the number of minutes that is written before the word “minute”?
A stilted way...and very dependent on the format....the number goes before "minutes" and there are no other intermediate characters. From the position where "minutes" is found, you go back looking for numbers... until there are no more.
sorry it still doesnt work!! ive attached a few files below and can u please tell me what is wrong or missing!! u can also use that QR code to try my coding.
It looks like you are testing using iOS.
Is the scanner supported there yet?
yes it usually works but with this program it doesnt
Check this:
RecipeByCode.aia (3.3 KB)
For steps you can split the different steps (if all of them include the word Step it easier like we have seen in before examples)
for the minutes, I want to set it as a timer and when the user presses a button it starts. It also says that it is times up. How can I make that?
other than that, I would like to seperate those steps into the text on a button each page. like how you taught me before. How can I change back to that? I would like to use text-to-speech for reading out the recipe and ingredients
Use a Clock component. When a button clicked set the interval and enable the clock.
When Clock.Timer triggered, disable the clock and add whatever additional action you want.
The aia I shared you is only an example to show you how that blocks work. Adapt them to your app according to your needs or better, apply what you have learned to building your app.
Take you recipe and think in what part do you want in each label o in each Speech...think in how you need to split the text and what item of the generated list after split you want...for example, where are the ingredient? Taking your QR, if you split the recipe by "Recipe" in the first item you have the ingredients and, in the second item, the steps. where are you getting the ingredients?