Converting Decimal Screen Prompt Data To Hexadecimal Label Output S’abonner

0
Avatar
Legacy Poster

I'm running Bartender v9.01 but am unable to work out how to convert the screen data (prompted) from decimal to an Hexadecimal output on the label...

 

Any solutions would be apprciated!

4 commentaires

0
Avatar
Domingo Rodriguez
Modérateur
Actions pour les commentaires Permalien

Have you tried using the "Hex(number)" VBScript function which will return a string representing the hexadecimal value of the number? In order to do this, you will need to choose "Visual Basic Script" as the "Data Source" type for your text object on the label.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Hi Domingo, Thanks for the info,  I have been able to convert single numbers into Hexadecimal using the HEx(number) function... However, I want to be able to input a number via the screen prompt ( any decimal number) and then convert to Hexadecimal when printing. any ideas ?

0
Avatar
Domingo Rodriguez
Modérateur
Actions pour les commentaires Permalien

The Hex() function should still be able to do what you want. Can you attach your BarTender document (.btw) to this topic and also let me know what decimal value you will be entering at print time and what HEX output you expect?

0
Avatar
Marco Dominguez
Actions pour les commentaires Permalien

Can you please tell me how I can access that Hex() function you mention? Or whare should I input it so I can change "EOT" into hex "04" for example?

Vous devez vous connecter pour laisser un commentaire.