View Single Post
Old 02-20-2008, 06:46 PM   #25
guino
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 8,071
This is what it should be (as long as VagScope.skin exists in the current skin folder and has an application area defined):

Code:
"LOAD;VagScope.skin;VagScope;C:\Program Files\RoadRunner\VagScopeMod.exe;VagScope"

But I don't think you'll be embedding VAG scope in RR, will you ? you should only need to have it running along with your plugin in the background... all your plugin needs to do is:

1-Read the values from VAG scope (already does it I believe)
2-Whenever a value changes, send it to RR like this:
Sdk.execute("SETVAR;VAG_MPG;12345.67")

As long as you have a label code in the VagScope.skin with this code below it should work:
"=$VAG_MPG$"

Your program should continuously check for updated values in VAG scope and send them to RR. You should add preventions to where if the SDK object errors out (i.e. if RR closes), to either ignore or close your plugin as well (if desired).
__________________
Road Runner RR's Myspace

"Being happy is not about having what you want, it's about wanting what you have."
"The best things in life are always free - but that doesn't mean money can't buy you good things."
guino is offline   Reply With Quote