Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] Third Party Tools
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-10-2013, 09:44 AM
abc123 abc123 is online now
Registered User
 
Join Date: 01-18-2013
Posts: 6
Create temporary macro in Powershell action

I'd like to create a few temporary macros in a powershell script action. I have found plenty of examples of how to create a global macro, but no information on how to create temporary.

Can someone please provide an example?
Reply With Quote
  #2  
Old 04-10-2013, 11:16 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
You can't create a temporary macro from PowerShell, since it doesn't have access to the VBP object model.
Reply With Quote
  #3  
Old 05-02-2013, 05:13 AM
abc123 abc123 is online now
Registered User
 
Join Date: 01-18-2013
Posts: 6
Delete Global Macro

How can I delete a global macro via Powershell? Can you provide an example?
Reply With Quote
  #4  
Old 05-02-2013, 05:40 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Sample attached.
Attached Files
File Type: bld ps_delglobal.bld (1.9 KB, 2560 views)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:02 PM.


Copyright © 1999-2023 Kinook Software, Inc.