Kinook Software Forum

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

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 09-12-2017, 02:55 PM
mevans mevans is offline
Registered User
 
Join Date: 04-21-2015
Posts: 32
Option for PowerShell script not to treat VBP characters as special

I'd like it if the PowerShell properties step had a checkbox to suppress interpreting anything as special Visual Build characters. Yes, I'd like the option to be able to use brackets and % without having to escape them.

I'm finding I have a lot of [] in PowerShell and it's being a pain to escape everything. Some of my scripts just have a conditional logic that make calls to get and set global Visual Build macros if I have a flag set. This is because I may use them elsewhere, too. However, this is becoming a problem because PowerShell doesn't necessarily like encountering escaped brackets, even if it never actually executes the code.

I guess you could also implement some WMI stuff as actions so I didn't have to script them in PowerShell WMI programming has always seemed more complicated than it should be.

Actually, this might be a nice option to have for all scripting languages.

Last edited by mevans; 09-12-2017 at 03:09 PM.
Reply With Quote
  #2  
Old 09-21-2017, 07:26 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Implemented in the latest download (9.5.0.1).

http://www.kinook.com/Forum/showthread.php?t=5493
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:04 PM.


Copyright © 1999-2023 Kinook Software, Inc.