I know i have done this before. Automatically open (launch) a URL when user enters a screen or when a timer ends.
But nothing happens now.
When user enters screen, set variable to true. That starts an timer. I can see the timer count... in the timer control on the function onTimerEnd i have Launch("https://www.google.se")
Nothing happens!
But if i manually click the timer, it works.
Same thing if i insteade use a button and do Select(button1) and in the button have the Launch code.
Same thing if i put the Launch in the screens onVisible function.
What is happening?
Solved! Go to Solution.
I am doing this:
App OnStart sets variable to false
Screen OnVisible sets variable to true
Timer Start is set to the variable
OnTimerEnd variable is set to false and launch is triggered.
If i click the timer with my mouse, it works.
If i open the app, i can see the timer count, but then nothing happens when the timer ends. if i restart the timer manually by clicking on the timer, it do work. i have tried setting a 1 second timer, 10 second timer 1 minute timer. same problem.
I have also tried setting the timer to autostart. same issue
You can open the auto start the timer and OnTimerEnd set the Launch("https://www.google.se") it seen fine for me.
I am doing this:
App OnStart sets variable to false
Screen OnVisible sets variable to true
Timer Start is set to the variable
OnTimerEnd variable is set to false and launch is triggered.
If i click the timer with my mouse, it works.
If i open the app, i can see the timer count, but then nothing happens when the timer ends. if i restart the timer manually by clicking on the timer, it do work. i have tried setting a 1 second timer, 10 second timer 1 minute timer. same problem.
I have also tried setting the timer to autostart. same issue
i try the same code is work but if you want to check something run onstart you will to click the Run OnStart first
User | Count |
---|---|
246 | |
105 | |
82 | |
50 | |
43 |