Jump to content
Developer Wiki and Function Reference Links ×

Need assist in Vectorscript in manipulating text


Recommended Posts

Are you ready to pick some people up off the floor? 😉

 

For this you are probably better off using Python. You can use the Python text handling routines rather than the Vectorscript ones. The Python text handling is much more powerful.

 

If you don't want to change your entire script to Python, you can use the PythonExecute or PythonBeginContext/PythonEndContext to run a Python script inside of a Vectorscript.   Use vs.GetVSVar and vs.SetVSVar inside the Python script to read and write VS "String" (DynArray of Char) variables to pass data in and out.

Link to comment

Python's string handling is famously more powerful, but none of what you describe would seem to need it.

 

1. VS function "UprString()" will convert a string to upper case

2. My only experience with title caps is as a font.  I would convert the string to that font using "SetTextFont()"

3. Changing the color of text is just a matter of setting its color with "SetPenFore()"

 

If you need help with how to use vectorscript itself that is a whole other ballgame.  You would need to describe exactly what you want to achieve and show us how far you have progressed and where you are stumped.

 

Lastly, do you want an example vectorscript?  If so, to do exactly what with what?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...