How to hide an object by script for a second?

DesktopX scripts.

Hi guys, this is the situation. I have an icon/object that when is clicked it launch a container with more icons. Now.. for the launching process I added an animation with 8 frames. So, (here it comes the problem) ... when the original icon is clicked you see the icons in the container and then the container running behind. I would like to add in the script of the icons inside the container something like "delay= 8... miliseconds?

 

Thanks!

12,149 views 5 replies
Reply #1 Top

I see that probably it could be done using the transparency properties... but I was thinking if through the script is more effective... but I'm not a programmer.

Reply #2 Top

I was researching and learned that the script should be something like:

desktopx.Object("OBJECT_NAME").visible = True/False

 

But where or how I establish the time? I mean the animation have  5 frames running at 60 speed (60 miliseconds?)

 

Reply #3 Top

I think you would have to set the delay in the script for the group of icons in the container.  I think there are examples of timer scripts available.  RND have you seen this?

Reply #4 Top

RND? No... I've no idea about it. Thanks!

Reply #5 Top

RND = member RedNeckDude