Search found 153 matches

by JohnTitor
Fri Apr 05, 2019 8:21 am
Forum: PowerShell GUIs
Topic: List all WebColors in a drop down
Replies: 13
Views: 3253

Re: List all WebColors in a drop down

It's extremely cool and I'm definitely keeping it for future use like I do with all your use..
by JohnTitor
Fri Apr 05, 2019 7:55 am
Forum: PowerShell GUIs
Topic: List all WebColors in a drop down
Replies: 13
Views: 3253

Re: List all WebColors in a drop down

Just curious why would you do this?

Is this just to show more properties and the correct enum?

This is working just fine for me, as of right now I'll only be worried about the BG of the form
by JohnTitor
Thu Apr 04, 2019 10:16 am
Forum: PowerShell GUIs
Topic: List all WebColors in a drop down
Replies: 13
Views: 3253

Re: List all WebColors in a drop down

I used a combination of both and it's working! I'm so thankful $colors = ((([System.Drawing.Color]).GetProperties()) | Where-Object{ $_.PropertyType -eq [System.Drawing.Color] }).name $colors += ((([System.Drawing.SystemColors]).GetProperties()) | Where-Object{ $_.PropertyType -eq [System.Drawing.Co...
by JohnTitor
Thu Apr 04, 2019 7:42 am
Forum: PowerShell GUIs
Topic: List all WebColors in a drop down
Replies: 13
Views: 3253

Re: List all WebColors in a drop down

Thanks David.. But I'm looking for something like this
by JohnTitor
Thu Apr 04, 2019 6:39 am
Forum: PowerShell GUIs
Topic: List all WebColors in a drop down
Replies: 13
Views: 3253

Re: List all WebColors in a drop down

Gotcha, I just don't know how to display all of these colors..

I see there are some examples in C.. looks like I need to learn to read C lol
by JohnTitor
Wed Apr 03, 2019 2:02 pm
Forum: PowerShell GUIs
Topic: List all WebColors in a drop down
Replies: 13
Views: 3253

List all WebColors in a drop down

Hello,

I'm looking to list all web colors in a drop down so users can select it for my form.

I'll let write that color to a reg key, and load it thus making their selection permanant but messing with the colordialog, I can't seem to print them to a combobox
by JohnTitor
Mon Apr 01, 2019 12:40 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Thank you for the video.. I was able to watch it and add some new things ( like gifs and sounds :D )
I got my script working 100% exactly how I need it
by JohnTitor
Thu Mar 28, 2019 3:03 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Ooooooo. I need to call it within the check usb status loop???
by JohnTitor
Thu Mar 28, 2019 1:29 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Line 7

Then in the while loop, if I put in my flash drive, it should detect that.... my thinking
by JohnTitor
Thu Mar 28, 2019 1:06 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

So my thinking is this.. Line 7, if it pulls the drive letter, means it's not $null, so we can skip that. If it is $null, it stops and does this until it finds the drive #Check USB status Do { New-BurntToastNotification -Text "Flash Drive is not present" -AppLogo $ErrorLogo -Silent start-sleep -Seco...