Is it possible to have a SCAR script issue a command to run another program?
For example, Java has system command that does this.
Is it possible to have a SCAR script issue a command to run another program?
For example, Java has system command that does this.
You could make a script that presses win+r. and types in the programme you want to run.
I dont think that scar has such function inbuild, but I may be wrong.
You could write a simple Plugin with delphi though.
~caused
Thanks for the reply,
Are there any tutorials with Delphi that you can link me to that would give me some more information?
I quickly wrote a plugin that does the job.
just unpack and put it in the "scar/plugins/" folder. When you have done that, you can use "RunExe('path+filename.exe');.
For example:
Good Luck.Code:program New; begin RunExe('c:\SUNotepad.exe'); end.
~caused
WOW! Thank you for that! Works perfectly! +REP![]()
Last edited by scuz 10; 08-23-2009 at 11:04 AM.
You may have to pack the .bat into a .exe, you just have to try it.
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
caused! that works great, ty so much
And to anyone wondering, it works fine with .bat files![]()
Lol I didn't know this would cause such a big discussion, sorry guys.
It appears caused's plugin will run almost any command prompt commands, so it should be able to open things with almost any extension!
Thanks again caused!
is there any tuts on delphi for this stuff?
Woaw. I'm glad that you find it that usefull =).
Yeah it basicly executes everything thats excecuteable.
~caused
//EDIT: hackncrack1: Check out the plugins folder, theres an example.
You may contact me with any concerns you have.
Are you a victim of harassment? Please notify me or any other staff member.
| SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |
There are currently 1 users browsing this thread. (0 members and 1 guests)