14 responses to “PowerBoots: The tutorial walkthrough”

  1. PowerBoots - Shoes for PowerShell

    [...] PowerBoots: The tutorial walkthrough [...]

  2. PowerBoots 0.0.1 - A beginning (CTP3 only)

    [...] Similar Posts PowerBoots: The tutorial walkthrough [...]

  3. Tommy Williams

    This is great stuff and I plan to play with it quite a bit.

    However, I ran into some problems.

    It doesn't seem to work well under strict mode (Set-StrictMode -Version 2). The Events examples, for example, fail since $label and $block haven't been set yet so I get errors like:

    The variable $block cannot be retrieved because it has not been set yet.
    At line:5 char:13
    + $block <<<< [0].Inlines.Add("You clicked the button $count times!")
    + CategoryInfo : InvalidOperation: (block:Token) [], RuntimeException
    + FullyQualifiedErrorId : VariableIsUndefined

    There was also an error loading the PowerBoots.psm1 module whenever there was an error loading a type or setting an error. After this line:

    $ErrorList = $ErrorList | ? { $_.InvocationInfo.BoundParameters.Name -ne "Grid" }

    $ErrorList ended up null and the following check for $ErrorList.count failed since it had no such property.

  4. Bernd Kriszio

    Wow Boots seams easer for adding small dialogs than PrimalForms.
    But needing the -sta parameter I can't use it with ISE for custom menue extensions.

  5. Christian Hagel

    Could you show an example of adding a stylesheet i.e. adding a reference to a resource dictionary in another file to the windows ressources and how to pick up those styles in Boots syntax? I would expect the latter to be along the lines of : "A gulp of swallows" | Button -Style SuperButtonStyle | Boots. But how do you handle static vs. dynamic resources and so forth.
    thanks

  6. AndrewTearle

    Awesome .. Thanx.

  7. Episode 54 - the case of the missing interview « PowerScripting Podcast

    [...] Joel Bennett has released a new project called PowerBoots. He’s also posted a neat video walkthrough. [...]

  8. stej

    I like the -async very much. How is this done? I haven’t got background jobs (start-job) working, so I wondered whether I could add multithreading into powershell like you did with -async.