Advertisement

Short AngelScript Capability Question

Started by February 13, 2015 08:42 PM
0 comments, last by WitchLord 9 years, 9 months ago

Short Version:
Can I use Angelscript to call certain Windows executables (i.e., somehow, replicating the command line)? Or, does AngelScript provide a better solution for the issue at hand?

The Bigger Picture:
Enhance a lovely older Windows app; BeatHarness is an audio-visualizer using AngelScript functions to determine what content/effects to display.
Can Angelscript display *other* content generated by projectM (AKA Milkdrop, another music visualizer - http://sourceforge.net/projects/projectm/ )?
The high level features list seems to indicate that it may be possible. Ideally, some a new function already exists to make that happen.

Windows uses VLC to display projectM content, whereas a pile of simple command line .bat files usually work just fine (to choose screens minimize-maximize the windows, choose specific presets, etc.). But perhaps there’s a better more efficient, more Angelscript-friendly way to do so? ProjectM uses OpenGL? Does that matter?

Thanks in Advance. It’s cool to see such a durable passionate commited community built through this platform.





Hi dee,

AngelScript is not a standalone language. It is used inside applications to allow users of that application to programmatically access functionality provided by the application. It is not possible for AngelScript to do anything other than what the application allows.

It is quite possible for an application to allow scripts to call other Windows executables. The asrun sample that I provide in the SDK shows how this can be done.

Ah, BeatHarness. It was one of the first applications to use AngelScript. It's too bad Lennart appears to have stopped developing it. I'm not sure you'll be able to enhance BeatHarness unless you manage to get in touch with Lennart and get him to share the source code.

Regards,

Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement