Announcement

Collapse
No announcement yet.

OMO CONTROL SCRIPTING

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OMO CONTROL SCRIPTING

    HI,

    I have made this template for the horse racing where we can show the and update its position on screen. i want some guidance as i have done the scripting is fine or there is some way that we can simplify the scripting as i am thinking it was taking some load and takes times to update the data on some certain time. i am linking the video here please advice what more i can tweek in it.
    '-------------------------------------

    Sub Button1Click(Sender)

    'ADD your Script Here

    buffer_clear()

    SendSingleCmd MainMachine, "RENDERER*TREE*$number*GEOM*TEXT SET " + number.Text, false
    SendSingleCmd MainMachine, "RENDERER*TREE*$name*GEOM*TEXT SET " + name.Text, false
    SendSingleCmd MainMachine, "RENDERER*TREE*$specification*GEOM*TEXT SET " + specification.Text, false

    SendSingleCmd MainMachine, "RENDERER*TREE*$row1*FUNCTION*Omo*vis_con SET " + comboBox1.Text, false

    '-------------------------------------
    i am not a developer keep that in mind and help according to this. i have learn this and perform the this action. i have replicate the above script for all the ten rows.

    video:
    https://youtu.be/nnj-vMmoW7I

    archive files:
    https://mega.nz/folder/25Z3zYbQ#kvox-hAg35HrigSApba9uQ






  • #2
    You are overcomplicating things that way. Have a look at this method. Its much easier and gives you more control like drag and drop reordering, sorting etc. https://www.dropbox.com/s/zceo2igyvd...g2020.zip?dl=0

    Comment


    • #3
      Thanks Lars. Ill look on to it. I was curious to learn the scripting as max on designer level.
      Last edited by wajahat ali; 06-25-2020, 08:57 AM.

      Comment


      • #4
        Originally Posted by Lars Henriksen View Post
        You are overcomplicating things that way. Have a look at this method. Its much easier and gives you more control like drag and drop reordering, sorting etc. https://www.dropbox.com/s/zceo2igyvd...g2020.zip?dl=0
        Thanks its easy.... and efficient...

        Comment

        Working...
        X