Hello Guest it is November 27, 2021, 07:35:46 AM

Author Topic: scripting  (Read 390 times)

0 Members and 1 Guest are viewing this topic.

Re: scripting
« Reply #10 on: June 09, 2021, 05:07:33 AM »
You are right, that works, so my problem solved. Would be nice to understand how the oemtrigger is meant to work sometime. Tried reading up on it but info seems sketchy.
Thanks again.

Offline TPS

*
  •  2,210 2,210
    • View Profile
Re: scripting
« Reply #11 on: June 09, 2021, 06:26:59 AM »
basicly OEMTriggers are used like regular input's but they Special functionalty

1st. you can assign in Config->System hotkeys oemcodes to a OEMtrigger witch will be done once if OEMTrigger comes true

2nd. you can define a triggermacro by SetTriggerMacro(number)

normaly done this way.

-add for example in Config->General Config ->Initialisation string  M333, that means every time you reset M333.M1s is called

-within M333.M1s add the VB code SetTriggerMacro(334)

-assign in Config->System hotkeys oemcodes to a OEMtrigger the code 301 witch means run triggermacro

so every time the OEMTrigger Comes True the VB Code within M334.M1S will run once.

hope i was able to explain the Basics of OEMTriggers in my bad bavarian english. 

anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.