Hello Guest it is July 28, 2021, 07:08:11 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dennyz

Pages: 1
1
I guess that makes sense.  Is there a way to move the viewing line?

2
I have been searching for an explanation for this, with no success.

3
Machscreen Screen Designer / Re: Macros and VB Subroutines/Functions
« on: December 20, 2012, 03:54:51 PM »
cool, that worked.
thanks

4
Machscreen Screen Designer / Re: Macros and VB Subroutines/Functions
« on: December 18, 2012, 10:28:44 PM »
Klaus,

Still no success

Dennyz

5
Machscreen Screen Designer / Re: Macros and VB Subroutines/Functions
« on: December 17, 2012, 10:32:45 PM »
Klaus,

My script file is named test.m1s.  Do I place !Code"test"! in the Execute code for the button?  I tried this and still nothing happens.

6
Machscreen Screen Designer / Macros and VB Subroutines/Functions
« on: December 16, 2012, 08:05:15 PM »
Hi all,

I though I would play around with building a custom screen for my Touch Screen Mach3 controller.  I am using MachScreen V1.56. I have been able to put together a working screen using "Execute Basic Script" macros.  I would like to create some Subroutines and Functions to stream line a few things.  I can't for the life of me figure out how to get a button script (for example) to call a subroutine I created in the VB Script Editor. I have read through everything I can find, with no joy.  I put a message box inside the subroutine to see if it was getting called and it is not.  What am I missing?

example code (VB Script Editor):

Public Dim MyDRO as Integer

MyDRO = 1000

sub setdro( value as double)
     setuserdro(MyDRO, value)
end Sub

example code (Button Script Code)

setdro( 1000.0001 )




Pages: 1