View Single Post
Old 05-28-2008, 02:20 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,757
PowerShell is not currently integrated to the same degree as Active Scripting languages (VBScript, JScript, Python, RubyScript, etc.), so it doesn't have access to the live VBP object model for creating/updating temporary macros, etc. (deeper integration with PowerShell is something we'd like to add in the future).

From a PowerShell script, you can create another instance of the VBP object model and create/update a global macro, which would then be accessible from the calling VBP project (see attached sample).
Attached Files
File Type: bld ps_global.bld (1.7 KB, 641 views)
Reply With Quote