wildcard issue with pinned video

Q&A about the latest versions
Post Reply
User avatar
savlinpark
Posts: 12
Joined: Mon Jun 22, 2020 1:34 pm

Hi guys,

Has anyone had any issues with the wildcard not working for the items in the scene (pined video)?
I found it only working for the items in the skin.

For example:

I have 3 pined video in the scene:
vid_01
vid_02
vid_03

Then I create a button hide them:
Mouse Click -> Media-> Visibility Media->Hide->Target: #vid_.*
It doesn't work for me.

But if I have 3 rectangle in the skin:
rec_01
rec_02
rec_03

Then I create a button hide them:
Mouse Click -> Visibility ->Hide Element->Target: #rec_.*
It works!

If anyone can shed some light, it would be much appreciated.
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Well, you learn something new every day, didn't know you could use a wildcard in the skin.

As far as the pinned video goes use Mouse Click -> Media-> Visibility Media->Hide->Target: vid_.* (drop the #)

Here's a test file https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
savlinpark
Posts: 12
Joined: Mon Jun 22, 2020 1:34 pm

Wow, it works now. Thanks so much mate!
User avatar
Hopki
Gnome
Posts: 13004
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi, Guys,
You can use regular expressions in the skin, please see the attached project to show and hide targeted elements.
Please see: https://ggnome.com/doc/skin-regex/
This is how we dealt with many elements before variables, but still used today for certain things.
Regards,
Attachments
project.zip
(12.61 KiB) Downloaded 105 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
Tony
Posts: 1341
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hopki wrote:You can use regular expressions in the skin, please see the attached project to show and hide targeted elements.
Just stumbled across this, very cool.

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
Post Reply