New Post: How to change the Global Object to another object?
Hello! You can't replace the global object, but you can easily set up an alias that will satisfy the above code: engine.Execute("window = this");Please let us know if that doesn't work for you. Thanks!
View ArticleNew Post: Calling VBScript function by dispatchId
Legacy application use with the Clone method of the IActiveScript. Creating new empty VBScriptEngine is not solution, initializing of the new scripter is not simply.
View ArticleNew Post: Calling VBScript function by dispatchId
Ah, very interesting. Your legacy application does some advanced Windows Script hosting! Engine cloning via IActiveScript::Clone is not something that we've investigated. It does sound like a very...
View ArticleCreated Feature: Add support for Windows script engine cloning [35]
The `IActiveScript::Clone` method can be used by multithreaded hosts to set up per-thread engine instances. This is a powerful capability that could greatly enhance the use of Windows script engines on...
View ArticleSource code checked in, #aa16a8a84beab6c094c073061d1f237e58cfa301
Version 5.3.11: Added support for building strong named assemblies (see ReadMe.txt), added AppDomain.AssemblyResolve hook for ClearScriptV8 (Issue #34), added...
View ArticleEdited Feature: Allow custom locations in V8Proxy.GetDirPaths [34]
I am bundling the ClearScript DLLs as embedded resources in my main application/dll. At runtime I extract ClearScriptV8-XX.dll and v8-xXX.dll to a temporary path (typically Temporary ASP.NET Files) so...
View ArticleCommented Feature: Allow custom locations in V8Proxy.GetDirPaths [34]
I am bundling the ClearScript DLLs as embedded resources in my main application/dll. At runtime I extract ClearScriptV8-XX.dll and v8-xXX.dll to a temporary path (typically Temporary ASP.NET Files) so...
View ArticleEdited Issue: Administrator rights [33]
When attempting to run in low rights mode I found that the service was unable to access (or possibly create) a folder in the %appdata%/local/microsoft/clearscript/(x64|x86)/(.net version). It seems to...
View ArticleCommented Issue: Administrator rights [33]
When attempting to run in low rights mode I found that the service was unable to access (or possibly create) a folder in the %appdata%/local/microsoft/clearscript/(x64|x86)/(.net version). It seems to...
View ArticleUpdated Release: ClearScript 5.3 (May 21, 2013)
5.3.11Added support for building strong named assemblies (see ReadMe.txt).Added AppDomain.AssemblyResolve hook for ClearScriptV8 (Issue #34).Added WindowsScriptEngineFlags.EnableStandardsMode.Fixed...
View ArticleUpdated Wiki: Announcements
1/16/2014: Version 5.3.11 released. View the release notes and download the source code here. 11/28/2013: Version 5.3.10 released. View the release notes and download the source code here. 10/29/2013:...
View ArticleUpdated Wiki: Documentation
Documentation To learn more about ClearScript: Check out the ClearScript tutorial: [Word], [PDF].Browse the ClearScript Library Reference: [Cannot resolve file macro, invalid file name or id.]. Save...
View ArticleUpdated Wiki: Home
Version 5.3.11 released. More...Description ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and...
View ArticleNew Post: Problem Calling VBScript Function
The source code for Version 5.3.11 is now up. Cheers!
View ArticleUpdated Wiki: Documentation
Documentation To learn more about ClearScript: Check out the ClearScript tutorial: [Word], [PDF].Browse the ClearScript Library Reference: [Reference.chm]. Save this file before opening it. If you get...
View ArticleReleased: ClearScript 5.3 (May 21, 2013)
5.3.11Added support for building strong named assemblies (see ReadMe.txt). Added AppDomain.AssemblyResolve hook for ClearScriptV8 (Issue #34).Added WindowsScriptEngineFlags.EnableStandardsMode.Fixed...
View ArticleUpdated Release: ClearScript 5.3 (May 21, 2013)
5.3.11Added support for building strong named assemblies (see ReadMe.txt).Added AppDomain.AssemblyResolve hook for ClearScriptV8 (Issue #34).Added WindowsScriptEngineFlags.EnableStandardsMode.Fixed...
View ArticleNew Post: IIS Express is OK . But in Local IIS error: " Can not load assembly...
I installed the above file, rebooted the PC and problem persists. I have already had laying around here installed, Visual Studio 2013. Remembering that when I access the site with IIS Express is...
View ArticleCommented Issue: [V8 bug] Issue with memory leaking scripts: 5.3.9 vs 5.3.10...
Hi everybody,I just noticed a behavior that differs between ClearScript v 5.3.9 and 5.3.10, and it's about limiting memory for a script execution. Consider following faulty script (it emulates a memory...
View Article