logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
kevev  
#1 Posted : Saturday, October 10, 2020 11:15:29 AM(UTC)
kevev

Rank: Advanced Member

Groups: Registered
Joined: 1/14/2018(UTC)
Posts: 153
Location: Texas

Thanks: 6 times
Was thanked: 9 time(s) in 5 post(s)
Howdy! We have a XAML overlay that we press a button to change an image on. I would like for after the image is changed for it to change back to the other image after 15 seconds. Not sure the best way to do this.
doggy  
#2 Posted : Saturday, October 10, 2020 4:01:03 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,222
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
call a script at same time when pressing the button to sleep(15000) that will then change the image again
kevev  
#3 Posted : Thursday, October 29, 2020 11:17:51 AM(UTC)
kevev

Rank: Advanced Member

Groups: Registered
Joined: 1/14/2018(UTC)
Posts: 153
Location: Texas

Thanks: 6 times
Was thanked: 9 time(s) in 5 post(s)
Originally Posted by: doggy Go to Quoted Post
call a script at same time when pressing the button to sleep(15000) that will then change the image again


Could you help with an example script? :)
doggy  
#4 Posted : Thursday, October 29, 2020 5:09:03 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,222
Belgium
Location: Belgium

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: kevev Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post
call a script at same time when pressing the button to sleep(15000) that will then change the image again


Could you help with an example script? :)


Code:

sleep(15000)
API.Function("SetImage", ......................)



See helpfiles
see shortcuts
See scripting for dummies thread
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.