logo WinWrap®
June 18, 2013

WinWrap® Basic Scripting Strategies

WinWrap® Basic is an embedded macro language component available for .NET and COM 32/64 bit Windows applications.

  • Users can code scripts to customize an application for their particular needs
  • Preparse scripts for application use
  • Compile speed-critical WinWrap® Basic library projects
  • Include color coded scripts in documentation
  • Access Microsoft .NET Framework Classes and Objects
  • Call extension methods from WinWrap® Basic scripts
  • Multiple Module and Class blocks per project member
  • Editing and autocompletion for WWB.NET and WWB-COM scripts

WinWrap® Basic Scripting Strategies

WinWrap® Basic provides a number of scripting strategies for enhanced application flexibility. Give developers, system configurators and users the ability to adjust application behavior.


Call a Subroutine Macro

Preparsing Modules

Compile Scripts

Color-Coded Scripts
Paste HTML

Access .NET Classes

Call Extension Methods

WinWrap® Basic Projects
Multiple Class Blocks

Autocompletion
Call a Subroutine Macro

Call a Subroutine Macro

  • Users can code scripts to customize an application for their particular needs
  • Developers can extend an application without recompiling it
  • Installers can customize an application for a customer or group of customers

The steps for calling a subroutine macro script are straightforward and simple with the WinWrap® Basic's BasicIdeCtl scripting object. more...

Preparsing Modules

Preparsing Modules with DesignMode

  • Preparse scripts for application use
  • Allow user to edit scripts

Use scripts to adjust application behavior (DesignMode=False). User can change scripts from the application (DesignMode=True). more...

Compile Scripts

Compile Scripts - Speed up Scripts by 100 Times

  • Compile speed-critical WinWrap® Basic library projects
  • Utilize the full power of VB.NET code
  • Access application defined language extensions
  • Call compiled code directly from WWB.NET scripts
  • Call compiled code via delegates

WinWrap® Basic implements the WWB.NET/Compiled language using Microsoft's VB.NET compiler component. A WWB.NET/Compiled project is compiled on demand the first time it is used. Changes to the project cause the code to be recompiled on demand the next time it is used. The compiled code is completely managed by the WinWrap® Basic environment. Additionally, the language extensions added by the application are available from a WWB.NET/Compiled project. more...

Color-Coded Scripts

Include Color-Coded Scripts in Documentation

  • Users can improve their script documentation
  • Both HTML data and Text data are copied to the clipboard
  • HTML data compatible applications will paste the HTML data
  • WinWrap® Basic HTML clipboard data maintains the script color encodings

Scripts are color-coded in the WinWrap® Basic IDE. HTML clipboard data is copied out of the WinWrap® Basic IDE. Paste script data into any HTML clipboard compatible application. Use find and replace to modify colors as needed. HTML clipboard data is pasted from the clipboard as an HTML fragment. more...

Access .NET Classes

Access .NET Classes and Objects with VB.NET Style Syntax Scripts

  • Access Microsoft .NET Framework Classes and Objects
  • Access 3rd party .NET code assemblies
  • VB.NET Style Scripting for COM or .NET host applications
  • Editing, autocompletion, and debugging for WWB.NET scripts

Developers and end-users can create powerful scripts with access to the .NET Framework Class Library. WinWrap® Basic WWB.NET scripts can call and access thousands of classes from hundreds of .NET namespaces, including those provided by 3rd party providers. Some programmers feel they can get factor of ten productivity boost by using the extensive set of classes made available by the Microsoft .NET Framework. more...

Call Extension Methods

Call Extension Methods From Scripts

  • Call extension methods from WinWrap® Basic scripts
  • Leverage built-in documentation with extension method autocompletion

Microsoft's support for extension methods provides an easy way to add functionality to existing classes and interfaces. WinWrap® Basic supports extension methods. Call extension methods from WinWrap® Basic scripts. Leverage built-in documentation with extension method autocompletion for WWB.NET macros. more...

WinWrap® Basic Projects

WinWrap® Basic Projects

  • Multiple module and class blocks per project member
  • Module and Class blocks instead of VB6 style files
  • WWB.NET/Compiled projects have 100x typical speed increase
  • WWB.NET/Compiled projects support custom .NET Windows Forms

Projects come in two types: executable and library. An executable project includes one module containing a Sub Main. Clicking on the run button loads the project, executes the Sub Main and unloads the project. A library project does not have any Sub Main. A library project can be referenced by another project. All Public symbols in the library project can be accessed by the referencing project. more...

Autocompletion

Autocompletion

  • Editing and autocompletion for WWB.NET and WWB-COM scripts
  • Powerful autocompletion capability
  • Built-in documentation

Enhance the user's experience with autocompletion. more...

Copyright Polar Engineering, Inc.