Search found 493 matches

by stevens
Fri Apr 29, 2022 10:30 am
Forum: PowerShell GUIs
Topic: Have form in right bottom corner?
Replies: 15
Views: 3169

Have form in right bottom corner?

Hi,

Is there a way to have the form for a Powershell Studio project open in right bottom corner?
The idea is to have it opened when a systray icon is clicked, then opened just above a systray icon (other question I asked in these forums).

Thanks!
S
by stevens
Fri Apr 29, 2022 10:28 am
Forum: PowerShell GUIs
Topic: Systray icon: click to open form?
Replies: 4
Views: 3339

Systray icon: click to open form?

Hi, I would like to have an icon in systray for my project. When clicked on the icon the form should appear, when clicked again it should dissapear. I'd hope also it would be possible to not have the form minimized in taskbar: just the icon, click on it and the form is there, click again and it is g...
by stevens
Fri Jun 25, 2021 11:18 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Ok, got it working now 😁 So got a systray icon, called from a ps1 (ps studio doesn't allow me to convert the ps1 to an exe, strange thing: if I try to open a ps1 it opens a psf, tried ten times, closed and opened ps studio) that calls for a form which is in an exe. I'd like to make the form look lik...
by stevens
Fri Jun 25, 2021 4:22 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Thanks, but when I run it (not in Ps Studio) then an alertbox comes first, then it shows the info box indeed, which is nice.
Though it runs as which process? Since it does not close itself.
by stevens
Fri Jun 25, 2021 3:08 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Ok, you got a point. So how do I continue now then? I have a scheduled task which scans for software installed, once it finds someting which is on the not allowed list, it can show a toast message. But the user cannot do any action on that toast message. So ideally, the systray should show a balloon...
by stevens
Wed Jun 23, 2021 8:19 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Well, maybe sapien powershell studio isn't the best match here. Found this https://github.com/byteben/Toast and if it can run some actions, that sound much more what I'm looking for. With WPF you can also create systray icons. Besides, the Sapien GUI, as far as I can see, is not offering but outdate...
by stevens
Tue Jun 22, 2021 6:51 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Thanks, but I don't want the form to show at all. Is that possible (or is that the reason of having two icons -where is the green and yellow icon -see my screenshot- one coming from?-)? Actually what I would like to do: -a tray icon application runs a scheduled task once a week (got that code which ...
by stevens
Sat Jun 19, 2021 5:31 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Thanks but I still see 2 icons. One ugly yellow and green and one other icon :-(
screenshot
screenshot
Screenshot_2.png (3.12 KiB) Viewed 5711 times
Note: that's once I created an exe out of if and run this exe.
by stevens
Fri Jun 18, 2021 11:56 pm
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Re: Systray Application

Sorry, thought I attached the psf.
Here it is. Note that it is really basic, just try to grap the basics here.
Demo-IconNotify.psf
Demo
(22.64 KiB) Downloaded 375 times
by stevens
Fri Jun 18, 2021 6:29 am
Forum: PowerShell GUIs
Topic: Systray Application
Replies: 16
Views: 10356

Systray Application

Hi, I'm trying to make a systray application and found this topic: https://www.sapien.com/forums/viewtopic.php?t=13935 So I tested some basic stuff but not getting really where I wanted = 1 icon (now there are 2(?) which opens a form in which I load a gridview with local software installed. On that ...