Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 10:30:53 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Pluging and Macro interaction?
Pages: « 1 2   Go Down
Print
Author Topic: Pluging and Macro interaction?  (Read 1350 times)
0 Members and 3 Guests are viewing this topic.
Steffen_Engel
Active Member

Offline Offline

Posts: 29

Chattanooga, TN, USA


View Profile
« Reply #10 on: December 23, 2009, 10:54:15 PM »

I think, VBA in a Plugin is not possible.

But the access to all of the Mach3-Functions you have in VBA you have in the plugin too. The only thing it is in C, not VBA.

eg
in VBA:
Code:
Call SetOEMDRO (818, GetOEMDRO (818) * 1.1)
in C in aPlugin:

Quote
scripter.SetOEMDRO(818, scripter.GetOEMDRO (818) * 1.1);

VB should be possible, but not VBA I think.

In both cases you have to compile those scripts or you have to build your own interpreter.

That's all, not more, not less.

Bye, Steffen

Logged
mjtooba
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #11 on: December 24, 2009, 04:29:43 PM »

thanks steffen
script engine is in heart of mach and not accessible from plugins...   Cool but VBA core function are available to C, i could use python or java script, but it doesn't worth it.
Logged
Pages: « 1 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!