Releases: fresh2dev/AnyBox
Releases · fresh2dev/AnyBox
v0.5.1
v0.5.0
v0.5.0 - 2022-06-01
Added
- compatibility with pwsh v7
- function
ConvertTo-AnyBoxPrompts
, for building AnyBox prompts from function parameters - parameter
-PromptsFromFunc
/-PromptsFromScriptblock
for displaying AnyBox of prompts for given function / scriptblock. - more examples and an interactive test
- aliases:
show
=Show-AnyBox
anybox
=Show-AnyBox
-i
=-Icon
-t
=-Title
-m
=-Messages
-c
=-Comments
-b
=-Buttons
-p
=-Prompts
-d
=-GridData
-f
=-PromptsFromFunc
-pb
=-ProgressBar
-bg
=-BackgroundColor
-fg
=-FontColor
-sec
=-Timeout
-count
=-Countdown
v0.4.0
Added
- Added ability to show indeterminant progress bar with switch parameter
-ProgressBar
. - Added ability to show window only while a condition is
$true
with scriptblock parameter-While
.- Requires the
ThreadJob
module.
- Requires the
- Added
-WindowStartupLocation
parameter to open window in a predefined location. - When a path is provided as the default value for prompts of type
FileOpen
,FileSave
, orFolderOpen
, the dialog opens to the parent directory of the provided path.
Fixed
- Fixed ability to display a base64-encoded image passed to the
-Image
parameter. - Fixed selection return when
-SelectionMode
isSingleCell
.