Skip to content

Releases: fresh2dev/AnyBox

v0.5.1

27 Jun 03:22
Compare
Choose a tag to compare

v0.5.0

02 Jun 03:39
Compare
Choose a tag to compare

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

12 Jun 04:59
Compare
Choose a tag to compare

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.
  • 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, or FolderOpen, 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 is SingleCell.

v0.3.4

13 Mar 05:35
Compare
Choose a tag to compare
v0.3.4