Search found 153 matches

by JohnTitor
Thu Mar 28, 2019 12:40 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Line 7

Then line 27 start the do while block
by JohnTitor
Thu Mar 28, 2019 12:04 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

I keep getting odd results with my loops I'm checking for my flash drive named sapien I'm checking if PowerShell Studio is running Then continuing on.... sometimes, even if the USB drive was insterted before starting the app, will not detect it... Sometimes if PowerShell Studio is closed, it will sa...
by JohnTitor
Thu Mar 28, 2019 7:18 am
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

I just found the fact I can add an icon cool.. its the little things.. now I'm just stuck on detecting if my flash drive is detected or not... I'm thinking that will be a do while script
by JohnTitor
Wed Mar 27, 2019 1:15 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Just as a last post.. I've found that BurntToast does notifications much slicker

https://www.powershellgallery.com/packa ... oast/0.6.3
by JohnTitor
Wed Mar 27, 2019 1:10 pm
Forum: PowerShell GUIs
Topic: How to add a simple textbox to output info?
Replies: 4
Views: 1040

Re: How to add a simple textbox to output info?

No problem... That's happened plenty to me.. I've just gotten in the habit of choosing a new Layout (Designer)
by JohnTitor
Wed Mar 27, 2019 11:59 am
Forum: PowerShell GUIs
Topic: How to add a simple textbox to output info?
Replies: 4
Views: 1040

Re: How to add a simple textbox to output info?

Post your psf file?
Textbox.png
Textbox.png (34.68 KiB) Viewed 1036 times
by JohnTitor
Wed Mar 27, 2019 10:05 am
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

I just downloaded your first posts example

when I build it.. It just shows the icon..

To be clear, my toast notifications are working and using the Windows Tray App script engine seems to be working well :D
by JohnTitor
Wed Mar 27, 2019 9:23 am
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

I don't think you're following what I'm asking.. I'm looking to build a Windows Tray App... btw this code is now working for me.. I had the logic wrong function LoadFile{ $global:File = (Get-Process -Name 'PowerShell Studio' -ErrorAction SilentlyContinue) } while ($true) { Write-Host "Kompressor Sta...
by JohnTitor
Wed Mar 27, 2019 6:04 am
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Hello, I wanted to note, this application was the first thing I started working on when I turned on my PC.. While your points are valid, I just wanted to point that out. I did put my code in my OP but incase, I've made changes to it today. I'm looking to not compress-archive if powershell studio is ...
by JohnTitor
Tue Mar 26, 2019 8:03 pm
Forum: PowerShell GUIs
Topic: Tray App no output
Replies: 32
Views: 5204

Re: Tray App no output

Restarted my PC, works as expected.

Weird behavior.