SRL Archive - S.M.A.R.T.

Restarting a script


Iamadam

2011-01-04 22:11:04

Hi all

Haven't been around for a few years, but cool to see things are still alive :)
Just wondering, is there a way of attaching simba to an instance of smart thats already running? Do I need to restart SMART (load the client etc.) every time I start a script or is there a way of doing it without closing the window.

It's just a pain debugging scripts if you have to start from the top every time.
Hopefully I'm just missing something obvious!

Thanks

Frement

2011-01-04 22:14:09

Some scripts allow that to be used, do you happen to use {$DEFINE SMART}? If so you could try {$I SRL/SRL/Misc/Smart.scar}

Iamadam

2011-01-04 22:35:38

I have no problem using SMART functions in a script, was just wondering if there is a function to setup SRL without starting a new instance of SMART.

TomTuff

2011-01-04 22:46:04

all of the smart_* settings must be *set* and the same. Smart wont restart on runtime if this is the case

Frement

2011-01-04 22:46:07

I use smurg's AIO Fletcher, and it allows me to stop script and restart without restarting SMART, now it uses the include file, my script uses defined, and it restarts SMART, so I was suggesting that if you use define, change that into include version.

Dgby714

2011-01-04 23:04:10

From: TomTuff
all of the smart_* settings must be *set* and the same. Smart wont restart on runtime if this is the case


Do This ^

Using
{$DEFINE SMART}
is no different than
{.INCLUDE SRL/SRL/misc/smart.scar}

Iamadam

2011-01-04 23:11:46

From: TomTuff
all of the smart_* settings must be *set* and the same. Smart wont restart on runtime if this is the case


That's what I was after. Thanks, that makes things easier.