SRL Archive - General

"Allow API calls"


duther

2007-05-04 15:13:20

Anyone knows what does the "Allow API calls" thing in Scar do? I have been unable to find any information on it.

Freddy1990

2007-05-05 03:39:44

It does what it says…
Try the example script provided with scar scripts/test/DllTest.scar
U'll have to replace line 9 though, for SCAR Divi 3.05 it has to be:
wnd := Findwindow('', 'DllTest.scar - SCAR Divi 3.05');

Jason2gs

2007-05-05 04:03:11

Well that's cool…

May I ask what this is useful for, though?

Freddy1990

2007-05-05 16:42:03

For using api functions, heh :)

Hugolord

2007-05-05 17:10:20

to do what then? and whats API btw :p (srry for noob question)

Freddy1990

2007-05-06 05:08:53

Application Programming Interface is basically a collection of functions build into windows needed to create programs. In this case you could use it to access certain api's you might want to use in a script. The reason the thing isn't defaultly enabled though is that it can also be used for evil purposes ;)

Hugolord

2007-05-06 07:42:00

oh (i don't believe freddy answer my question :P) could you give me an example of an API?

Freddy1990

2007-05-06 10:40:08

Maybe read second post?