Search found 5 matches

by chbwien
Thu Jul 30, 2020 1:24 am
Forum: PowerShell Studio
Topic: Hierarchy of GUI elements
Replies: 3
Views: 330

Re: Hierarchy of GUI elements

Thank you for this information, but it does not answer the question, where I can see the hierarchy of the GUI elements. So if I place e.g. a button within panel1 or in panel2 or directly onto the form. This is quite essential, when you work with panels... I also see no option to work with ChildIndic...
by chbwien
Wed Jul 29, 2020 4:13 am
Forum: PowerShell Studio
Topic: Hierarchy of GUI elements
Replies: 3
Views: 330

Hierarchy of GUI elements

Where do I see the hierarchy of GUI elements? For instance: I have a form with some panels on it. So e.g. a button can be placed within the form or within the panel. Adding a button via the graphical interface is sometimes hard to get the correct parent element. If I add some elements, the drop down...
by chbwien
Wed Jul 29, 2020 3:50 am
Forum: PowerShell Studio
Topic: Code completion doesn't work as expected
Replies: 1
Views: 237

Code completion doesn't work as expected

If I use the following simple demo code: [xml]$xml = Get-Content 'inventory.xml' foreach ($node in $xml.DocumentElement.Childnodes) { $myjuhu = $xml.CreateElement('juhu') $myjuhu.innerText = 'juhu' [void]$node.appendchild($myjuhu) $node.removechild($myjuhu) } $xml.Save('inventory_out.xml') I have no...
by chbwien
Fri Jun 05, 2020 7:57 am
Forum: PowerShell Studio
Topic: exit 1 does not work
Replies: 2
Views: 258

Re: exit 1 does not work

THX, that works!
by chbwien
Fri Jun 05, 2020 7:50 am
Forum: PowerShell Studio
Topic: exit 1 does not work
Replies: 2
Views: 258

exit 1 does not work

Powershell Studio 2020 latest version 64 bit edition 64 bit Windows 10 Sapien Powershell V5 Host (commandline) My problem is very easy described: I check something in my script and depending on true/false I use the code exit 0 or exit 1 This works great, I have checked if this is working as ps1. Eve...