Forgot password?

Create an account!

Forum

« back

RhinoScript – Starting external Programs from Rhinoscript

Messages

Please log in to write a message.

  • 4. Hanno (Jan 20, 2010 10.49):

    You can escape a " inside a string by typing "". So a string containing

    I said "hello"

    would look:

    "I said ""hello"""

    This is VBScript fundamental, I'm sure it's not very hard to google...

    Regards

    Hanno

  • 3. trojax (Jan 20, 2010 10.17):

    Hi Hanno, thank you very much!

    I have just one more problem left:
    I need to execute the command

    "c:\Programme\VideoMach\videomach.exe" /openseq= "C:\Users\User\Desktop\asdf"

    In Rhinoscript, I need to put the whole command again into "" , but this doesn√Ąt work.
    How can I replace or whatever these "" to avoid this error?

  • 2. Hanno (Jan 19, 2010 23.13):

    Hi,

    as RhinoScript is Visual Basic Script, you can use the Shell object:

    Dim oShell
    Set oShell = CreateObject("WScript.Shell")
    Call oShell.Run("some_program")

    Regards

    Hanno

  • 1. trojax (Jan 19, 2010 10.50):

    Hit everybody,

    does anyone know how I can start external programs with Rhionoscript?
    For example i want to execute the command "c:\Programme\VideoMach\videomach.exe" like I would do it on the windows prompt

Recommend

Why are these buttons gray?