Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WPFBot3000

Build status

A Domain-Specific Language for PowerShell that encapsulates and simplifies Windows Presentation Foundation (WPF) classes

Installation

PowerShell version check (minimum)

PS \> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      (any)  (any)

Install From PowerShell (Admin)

PS \> Install-Module -Name WPFBot3000 -Force

Visit WPFBot3000 at the PowerShell Gallery

Quickstart

Example One

Import-Module WPFBot3000

Dialog {
  TextBox FirstName
  TextBox LastName
  TextBox EmailAddress
  DatePicker ReminderDate
}

Example Two: 'Hello, World'

Import-Module WPFBot3000

Dialog {
  TextBox Name -property @{ Padding = '0,4,0,0' }
  Button Personalize -Action { $Greeting.Content="Hello, $($Name.Text)!" }
  Label 'Hello, World!' -Name Greeting
} -Property @{ Title = 'Hello!'; MinHeight = 144; MinWidth = 233; }

Documentation

Frequently Used Controls

Microsoft .NET WPF System.Windows.Controls Reference

Blog

Visit Mike's blog: PowerShell Station

About

Simple domain-specific language for a small subset of WPF, mainly for doing very limited (get the picture?) input forms in PowerShell

Topics

Resources

License

Releases

No releases published

Packages

No packages published