Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] Suggestions (https://www.kinook.com/Forum/forumdisplay.php?f=4)
-   -   Option for PowerShell script not to treat VBP characters as special (https://www.kinook.com/Forum/showthread.php?t=5509)

mevans 09-12-2017 02:55 PM

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.

kinook 09-21-2017 07:26 AM

Implemented in the latest download (9.5.0.1).

http://www.kinook.com/Forum/showthread.php?t=5493


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


Copyright © 1999-2023 Kinook Software, Inc.