Search found 14873 matches

by jvierra
Sat Jun 19, 2021 7:06 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 4796

Re: Systray Application

Works fine for me.

Reset the "Opacity" of the form. 0% with a NotifyIcon causes odd behaviors.
by jvierra
Sat Jun 19, 2021 12:51 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 4796

Re: Systray Application

Here is a fixed version that displays in a message box. Removed reductant NI control.
by jvierra
Sat Jun 19, 2021 12:41 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 4796

Re: Systray Application

Works fine for me. It writes the outtput to the console.
by jvierra
Fri Jun 18, 2021 5:42 pm
Forum: PowerShell GUIs
Topic: functions and parameters
Replies: 8
Views: 2023

Re: functions and parameters

You cannot use Write-Host to display anything in a GUI. You have to use a control and assign the text to it.
by jvierra
Fri Jun 18, 2021 5:41 pm
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 4796

Re: Systray Application

The PS1 file is mopstly useless in answering your question. Please either post teh PSF or the project if it is a project. You have to ZIP the proect to upload it.
by jvierra
Fri Jun 18, 2021 2:41 am
Forum: PowerShell GUIs
Topic: functions and parameters
Replies: 8
Views: 2023

Re: functions and parameters

Original post fixed.
by jvierra
Fri Jun 18, 2021 2:39 am
Forum: PowerShell GUIs
Topic: functions and parameters
Replies: 8
Views: 2023

Re: functions and parameters

Sorry but I screwed up the instructions. I will fix it.
by jvierra
Fri Jun 18, 2021 1:56 am
Forum: PowerShell GUIs
Topic: functions and parameters
Replies: 8
Views: 2023

Re: functions and parameters

You have only one form so a function is not useful. If you want to generalize eavh form with a function you will have to exefdcute the function from inside the form and call it at the end of the form code before the ShowDialog call. The function will work on any form if you write it like this: funct...
by jvierra
Thu Jun 17, 2021 3:53 pm
Forum: PowerShell GUIs
Topic: Run code after gui is loaded
Replies: 7
Views: 3024

Re: Run code after gui is loaded

Sorry but this is not product support. There are other forums for product support. ALso note that basic programming and reading instructions are not part of any support for any product. The links are not videos they are explanations and instructions on how to proceed to do what you ask. Why should I...
by jvierra
Thu Jun 17, 2021 11:18 am
Forum: PowerShell GUIs
Topic: Run code after gui is loaded
Replies: 7
Views: 3024

Re: Run code after gui is loaded

See the following articles: https://info.sapien.com/index.php/guis/gui-advanced-tips/creating-responsive-loops https://info.sapien.com/index.php/guis/gui-advanced-tips/powershell-studio-creating-responsive-forms There are many articlkes on that page that you will need to review to learn how to work ...