Search found 108 matches

by monoeagle
Mon Jan 13, 2020 11:53 am
Forum: Feedback
Topic: tried to use the experimental wpf export
Replies: 5
Views: 586

tried to use the experimental wpf export

Hi,

Win10 Pro last Release
Installed the PSS 5.7.171 update, created dummy gui project, went to the designerview and tried to use the button "export as WPF/XAML".

result: I can click but nothing was copied to the Clipboard

Any Idea?

regards
by monoeagle
Thu Sep 28, 2017 9:15 pm
Forum: Windows PowerShell
Topic: RegEx in dry practicing will not run
Replies: 8
Views: 1973

Re: RegEx in dry practicing will not run

Good morning jvierra,

thx

if you mean the ";"'s in the $input, why it doesn't throw an syntaxerror?

regards
by monoeagle
Thu Sep 28, 2017 3:55 am
Forum: Windows PowerShell
Topic: RegEx in dry practicing will not run
Replies: 8
Views: 1973

Re: RegEx in dry practicing will not run

new dummy try $result = '' $input = @('aaa-b-cc11';'aaa-b-cc12';'aaa-b-cc14';'vvv-b-cc11';'test (rrr-b-cc11)') $input Write-Host '-------------------' $result = @() foreach($value in $input){ #$value.Length if($value.Length -gt 10){ if($value -match '\((.*)\)'){ $new = $result += $matches[1] } }else...
by monoeagle
Thu Sep 28, 2017 3:34 am
Forum: Windows PowerShell
Topic: RegEx in dry practicing will not run
Replies: 8
Views: 1973

Re: RegEx in dry practicing will not run

hmmm sry I thought that what the source and result should be is understandable. Yes I want the name inside the "(" <name> ")". That's why I wrote the RegEx '^.*([a-z]{3}-b-cc1[1-4])$' to find in a variable string the Nameblock. the first 3 positions are letters -b-cc1 is allready the same the last n...
by monoeagle
Thu Sep 28, 2017 3:04 am
Forum: Windows PowerShell
Topic: RegEx in dry practicing will not run
Replies: 8
Views: 1973

Re: RegEx in dry practicing will not run

sry =) dry practice(from the translator or in german "trockenübung") --> cutting the script down and testing the smallest part in the ISE. The source list is the result from an xml file, which I can't upload that's why I postet what as source is delivered. $doc.SelectNodes("//Object") | Where-Object...
by monoeagle
Thu Sep 28, 2017 2:24 am
Forum: Windows PowerShell
Topic: RegEx in dry practicing will not run
Replies: 8
Views: 1973

RegEx in dry practicing will not run

Hi@All, I have a little Problem with my dry practice. source test (aaa-b-cc11) test (aaa-b-cc11) test (aaa-b-cc12) www-b-cc13 zzz-b-cc14 test (aaa-b-cc11) www-b-cc13 result should be aaa-b-cc11 aaa-b-cc12 www-b-cc13 zzz-b-cc14 $result = $doc.SelectNodes("//Object") | Where-Object {($_.Name -like '*-...
by monoeagle
Wed Sep 20, 2017 10:35 am
Forum: PowerShell GUIs
Topic: Menubar Icons are missing if I'm using imagekey instead of imageindex
Replies: 2
Views: 669

Re: Menubar Icons are missing if I'm using imagekey instead of imageindex

ok that sounds plausible

what is a scenario where I have to use imagekey?

if the files are physical on the hdd as files?
by monoeagle
Wed Sep 20, 2017 9:04 am
Forum: PowerShell GUIs
Topic: Menubar Icons are missing if I'm using imagekey instead of imageindex
Replies: 2
Views: 669

Menubar Icons are missing if I'm using imagekey instead of imageindex

Hi@All, PSS 2017 last Patchlevel W7 x64 Building a menubar with icon wasn't that difficult, imagelist, adding images, set the imageindex on the button voala. Bildschirmfoto 2017-09-20 um 17.49.44.png But if I use imagekey instead the result is a button line without any icon. Bildschirmfoto 2017-09-2...