BASIC ScriptForge libraryPython scriptforge moduleScriptForge libraries build up an extensible collection of macro scripting resources for %PRODUCTNAME to be invoked from Basic macros or Python scripts.• Basic macros require to load ScriptForge library using the following statement: GlobalScope.BasicLibraries.loadLibrary("ScriptForge")
• Python scripts require an import from scriptforge module: from scriptforge import CreateScriptServiceTo learn more about how to create and execute Python scripts using the ScriptForge library, read the help page Creating Python Scripts with ScriptForge.
Invoking ScriptForge services
The described modules and classes are invoked from user scripts as "Services". A generic constructor of those services has been designed for that purpose for each language.The Dispose method is available in all services and should be called to free up resources after usage:GlobalScope.BasicLibraries.LoadLibrary("ScriptForge")Set oSvc = CreateScriptService("servicename"[, arg0, arg1, ...])' ...oSvc.Dispose()from scriptforge import CreateScriptServicesvc = CreateScriptService('servicename'[, arg0, arg1, ...])# ...svc.Dispose()
User Interface
Dialog
DialogControl
Form
FormControl
Menu
PopupMenu
UI
Utilities
Basic
L10N
Platform
Region
Services
Session
Timer
UnitTest
Restricted use for SF_Root, SF_Utils modules as well as internal methodsNote: Other ScriptForge undescribed modules are reserved for internal use. Their content is subject to change without notice.All ScriptForge Basic routines or identifiers that are prefixed with an underscore character "_" are reserved for internal use. They are not meant be used in Basic macros or Python scripts.