advibm Posted May 6, 2013 Share Posted May 6, 2013 Hi, I would like to add more functionality into the scripting language over C++ DLLs. Is this possible in Scar Divi? Like DllCall in AutoIt? I've got PixelSearch, ImageSearch, MouseMove and MouseClick to work in Background for Browsers und I want to add it into normal Scar scripts. Quote Link to comment Share on other sites More sharing options...
FHannes Posted May 6, 2013 Share Posted May 6, 2013 SCAR has a dedicate system for api extensions. It's possible to use C++, but Delphi is the language of choice to do it with. There's some samples here: https://github.com/SCAR-Divi/Samples Quote Link to comment Share on other sites More sharing options...
advibm Posted May 6, 2013 Author Share Posted May 6, 2013 Ahh, nice. Unfortunately I am not very familar with Delphi. So to realize it, I create the DLL with the exported functions and add {$L name.dll} at the top of the script - Scar will automatically recognize the new functions? Regards Quote Link to comment Share on other sites More sharing options...
FHannes Posted May 6, 2013 Share Posted May 6, 2013 That's correct, yes. Quote Link to comment Share on other sites More sharing options...