Log in

View Full Version : Running a script w/o client automatically coming up?



Quex
07-01-2012, 11:28 PM
Hey all I'm new here. When Simba is opened with a script and you hit run a new rs Client opens. How do I stop a new client from opening? For example, say I had a Rs window opened already and I just want to run a script that will use my already opened client. I know this is basic but I'm just wondering.

x[Warrior]x3500
07-01-2012, 11:35 PM
delete line {$Define SMART}

Quex
07-01-2012, 11:45 PM
x3500;1059690']delete line {$Define SMART}

Ha thanks. I did try that at first but then I got compile error but it must have been that particular script because it worked for a different one. Thanks again.

x[Warrior]x3500
07-01-2012, 11:55 PM
if you are getting compiling errors then one of 2 things happened:
1. you didnt manually select the rs client
2. the script was not written with {$ifdef SMART} tags in key areas.

riwu
07-02-2012, 01:25 AM
Ha thanks. I did try that at first but then I got compile error but it must have been that particular script because it worked for a different one. Thanks again.
Because the script uses other SMART-related functions, such as SmartSetRefresh, so those will become 'unknown identifiers' when u do not include SMART.

Just delete every line that has compiling error should work most of the time.