¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Smart Graphics HTML Hell


 

I'm having a hell of a time trying to format HTML on a formatted text object.

The text is a set of instructions that the techs need to follow to enable them to set up Sonos systems during build or on-site.
There are a set of bullet points they need to follow to allow them to configure the Line-In & HDMI inputs and assign to Favorites then save this into the program.
Line one of the instructions should be:
* Ensure the Sonos in this zone is named <S$19?player name> - note text inside <> is underlined as normal.
What I get when I close the html dialog is:
* Ensure the Sonos in this zone is named <<S$19?player name>> - note the double <>

Sometimes I can get line one to format properly and it displays the Sonos player name correctly.
However, there are two more instances in the instructions:
Settings > System - Products: <<S$19?player name>>
and
* Select the 3 dots beside Line In: <<S$19?player name>>

Note the extra <> and these always re-appear as soon as I close the dialog.

I've tried using an external HTML editor and pasting the formatted instructions in that way and VTP went mental.

Have to say this is one of the many VTP bugs that seem to have been ignored by Crestron as they have done nothing to improve VTP in the past few years.
While I was dicking about with this yesterday the auto-save dialog kept getting in the way (as usual), then VTP quit on me as I hit save. 'No bother there's a backup as the auto-save has been pissing me right off - eh'
Nope - no vtp.ASV file anywhere - what gives?


Anyone have any VTP HTML gems they wish to share so that I can strike this off my list?
Cheers
s


 

¿ªÔÆÌåÓý

Remove the <>. Put only S$19?player name. It should do the trick

?

________________________________________________
Marc-Antoine Fortin
Technicien en ¨¦lectronique ¨C Soutien technologique
Division infrastructures technologiques et s¨¦curit¨¦ op¨¦rationnelle

Ville de Qu¨¦bec
TI
715 av. de Lestres
Qu¨¦bec (Qu¨¦bec) G1X 2L9
T¨¦l¨¦phone : 418-641-6413 #8406
T¨¦l¨¦copieur : 418-641-6738
Courriel :
marc-antoine.fortin@...

CONFIDENTIALIT? : Ce courriel (de m¨ºme que les pi¨¨ces jointes) est confidentiel. Si vous n¡¯¨ºtes pas le destinataire vis¨¦, veuillez en aviser imm¨¦diatement l¡¯exp¨¦diteur et supprimer ce message.

?

?


 


Hi Slip,

Not sure exactly where you are entering your externally-edited HTML, but I've had luck the best luck pasting it directly into the "Label" window in the Property Grid.? Do not open the HTML Editor at any point, and your special formatting should be preserved.

Somewhere along the line I inherited some clever code that has the size and color properties entered as indirect text.? If this is ever opened in the built-in editor, the formatting gets trashed.?


Brian


 

Thanks Marc?
I'll give that a go.

Brian,
Yes, I pasted it into the html dialog.
I'll try direct into the property grid.

My framework does actually used formatted text at runtime to show text in different colours. Sending stuff from the program is great. Just this help page has been a pia.


 

Yea I never never open that HTML window its guaranteed to grenade whatever you have on that object.?


 

Same here, edit externally and paste directly into the "label" field. Never use the HTML dialog window.


 

Hope this helps, we use this: Current Room: <S$1?Playroom>
?