SRL Archive - Suggestions

Procedures that can be called from Extensions


Coh3n

2010-11-30 04:16:53

From: Wizzup?
There is no way to do this with an extension. What N1ke showed you is how to run it from cmd.exe and make it run the script on start. What you want is functions that you can call from an extension to actually run/start a script in Simba. It is very do-able. You can file a bug/feature request I suppose.

Basically, I would like this so I can do this. :)

I'm sure I wouldn't be the only one to make use of this.

Wizzup?

2010-11-30 04:27:11

What could probably be added is stuff like this:


procedure RunScript(scriptpath: string): integer;
procedure PauseScript(id: integer): boolean;
procedure StopScript(id: integer; forceterminate: boolean): boolean;
procedure OpenScriptTab(scriptpath: string); // not sure on the params of this one

But not just every procedure in a script. Only procedures from Simba can be called.

Frement

2010-11-30 04:29:28

From: Wizzup?
What could probably be added is stuff like this:


procedure RunScript(scriptpath: string): integer;
procedure PauseScript(id: integer): boolean;
procedure StopScript(id: integer; forceterminate: boolean): boolean;
procedure OpenScriptTab(scriptpath: string); // not sure on the params of this one

But not just every procedure in a script. Only procedures from Simba can be called.


Well, basically only RunScript(MSIPath+'RunMe.simba'); and then the form would pop up :)

Coh3n

2010-11-30 14:56:22

From: Frement
Well, basically only RunScript(MSIPath+'RunMe.simba'); and then the form would pop up :)

That is my exact idea. :D Would be so simple..