Skip to content

Releases: swiftDialog/swiftDialog

Dialog 1.3.2 - Death of the app bundle, huzzah for JSON

06 Jul 06:45
30f0346
Compare
Choose a tag to compare

New in this release:

  • New --json,-j option that output any results (for now, only the output of the selected dropdown, if any) in json format for easy parsing into your calling script.

  • Also fixed the cli app displaying a shell exec icon on the Dock while running.

And with that.... there will no longer be any releases of the app bundle version of dialog. From this version onward, I'll only release the cli app in .zip and .pkg bundles.

Dialog v 1.3.1

06 Jul 04:08
6de7d6c
Compare
Choose a tag to compare

Fixes a display issue where the dropdown and message text were not aligned.

Dialog 1.3.0

21 Jun 23:19
155e649
Compare
Choose a tag to compare

Skipped 1.2 and went straight to 1.3 because 🥁🥁🥁🥁 Dialog is now also a proper cli utility.

Included in this release is dialog_cli.pkg that installs /usr/local/bin/dialog
The app bundle version is exactly the same but included here for anyone using that version in their scripts. It is not required to have both installed.

<<< Given that Dialog is a command line driven application, it's highly likely that the app bundle version will go away in a future release >>>

v1.3.0 changes

  • compiled as a command line utility
    • supplied pkg installs to /usr/local/bin (or install the binary from dialog_cli_1.3.0.zip to some location in your $PATH)
    • dialog can then be called directly at the CLI as $ dialog --title ... without needing to provide the full path to the binary in the app bundle

v1.2.0 changes

  • Moved the positioning so it's along the bottom of the message text, just above the buttons
  • Removed width constraint. It will take the width of the message text area
  • refined the output piped to sddout
  • refined command line options
    --selecttitle <text>
                Title for dropdown selection

    --selectvalues <text><csv>
                List of values to be displayed in the dropdown, specivied in CSV format
                e.g. "Option 1,Option 2,Option 3"

    --selectdefault <text>
                Default option to be selected (must match one of the items in the list)

                If specified, the selected option will be sent to stdout in two forms:
                  SelectedOption - Outputs the text of the option seelcted
                  SelectedIndex  - Outputs the index of the option selected, starting at 0

                  example output:
                    SelectedOption: Option 1
                    SelectedIndex: 0

                Output of select items is only shown if Dialog's exit code is 0

image

Dialog 1.3.0 Beta1

21 Jun 09:48
Compare
Choose a tag to compare
Dialog 1.3.0 Beta1 Pre-release
Pre-release

Experimental Release

Dialog is now a command line utility. Installer will install to /usr/local/bin/dialog which should be in your path.

Still does everything v1.2.0 does, but not with all the .app gunk.

Dialog 1.2.0 Beta 2

19 Jun 07:35
Compare
Choose a tag to compare
Dialog 1.2.0 Beta 2 Pre-release
Pre-release

Enhancements to the dropdown over beta 1:

  • Moved the positioning so it's along the bottom of the message text, just above the buttons
  • Removed width constraint. It will take the width of the message text area
  • refined the output piped to sddout
  • refined command line options
    --selecttitle <text>
                Title for dropdown selection

    --selectvalues <text><csv>
                List of values to be displayed in the dropdown, specivied in CSV format
                e.g. "Option 1,Option 2,Option 3"

    --selectdefault <text>
                Default option to be selected (must match one of the items in the list)

                If specified, the selected option will be sent to stdout in two forms:
                  SelectedOption - Outputs the text of the option seelcted
                  SelectedIndex  - Outputs the index of the option selected, starting at 0

                  example output:
                    SelectedOption: Option 1
                    SelectedIndex: 0

                Output of select items is only shown if Dialog's exit code is 0

image

Dialog 1.2.0 Beta 1

19 Jun 00:27
Compare
Choose a tag to compare
Dialog 1.2.0 Beta 1 Pre-release
Pre-release

This release introduces dropdown selection lists.

Currently only accepts CSV as text input form the command line. CSV from file/url not available at this time.

Screen Shot 2021-06-19 at 10 25 09 am

Dialog V1.1.2

10 May 10:40
13d9365
Compare
Choose a tag to compare

Added the ability for icon view to pull icons from .prefPane bundles, e.g. --icon /System/Library/PreferencePanes/Profiles.prefPane will show the Profiles prefpane icon in your dialog.

image

Also added experimental support for running a shell script as part of the button 1 action via the --button1shellaction command line option.

--button1shellaction <command>
                << EXPERIMENTAL >>
                Runs the specified shell command using zsh
                Command input and output is not sanitised or checked.
                If your command fails, Dialog still exits 0

Dialog 1.1

14 Apr 09:54
b67f51a
Compare
Choose a tag to compare

Added Fullscreen option.

Read about Full Screen in the wiki

Dialog 1.0

29 Mar 07:37
90d1e28
Compare
Choose a tag to compare

First prod ready release

Dialog 1.1 beta 1

12 Apr 08:16
90d1e28
Compare
Choose a tag to compare
Dialog 1.1 beta 1 Pre-release
Pre-release

Added full screen option:

use -f or --fullscreen to display the dialog content in a full screen view.
options available in fullscreen (in order of appearance):

  • --bannerimage
  • --title
  • --icon
  • --message