Search found 28 matches

by SS##66
2024-Jan-26, 10:02 am
Forum: Windows PowerShell
Topic: Inserting PS1 to Tray notification area of Windows for its execution purposes
Replies: 5
Views: 13932

Re: Inserting PS1 to Tray notification area of Windows for its execution purposes

Not at all What I need is to have an icon like the one for the Volume Mixer AKA C:\Windows\System32\SndVol.exe that always sits in the Tray and can be moved from the Tray's area on Taskbar and that hidden area available after pressing of the > icon. And every left or middle click on it should run on...
by SS##66
2024-Jan-21, 9:02 am
Forum: Windows PowerShell
Topic: Inserting PS1 to Tray notification area of Windows for its execution purposes
Replies: 5
Views: 13932

Re: Inserting PS1 to Tray notification area of Windows for its execution purposes

I need to have a single icon in Tray alike to dragged and then pinned to Taskbar e.g. cmd.EXE. Not some unfolding configurable list in Tray and not icon on the non-Tray area of Taskbar This is suppose to be always visible panic button capable of stopping catastrophic loops. Thus a program like Activ...
by SS##66
2024-Jan-20, 9:58 am
Forum: Windows PowerShell
Topic: Inserting PS1 to Tray notification area of Windows for its execution purposes
Replies: 5
Views: 13932

Re: Inserting PS1 to Tray notification area of Windows for its execution purposes

Any ideas about how to insert some kin of script into the Tray and make it stay there as an always accessible icon, even if its execution will kill or running scripts system wide?
by SS##66
2023-Dec-09, 6:04 pm
Forum: Windows PowerShell
Topic: Stop visible countdown from scrolling down content in PowerShell window
Replies: 2
Views: 9006

Re: Stop visible countdown from scrolling down content in PowerShell window

It seems that currently in the Windows Console [conhost.exe] it is impossible to see digits of a countdown in progress at the bottom of window while also retaining ability to scroll it up an not have the view being thrown back down after passing of yet another second. The new Windows Terminal [windo...
by SS##66
2023-Dec-01, 1:38 pm
Forum: Windows VBScript
Topic: How to use paths with pauses in PowerShell code inserted to VBS file?
Replies: 12
Views: 82328

Re: How to use paths with pauses in PowerShell code inserted to VBS file?

Thank you

I will try this out when and if I will have time to get back to this issue
by SS##66
2023-Aug-31, 11:23 pm
Forum: Windows PowerShell
Topic: Closing a PowerShell window with other keys [SOLVED]
Replies: 2
Views: 8912

Re: Closing a PowerShell window with other keys

This seem to be working A-OK Write-Host "To close this window press either:" Write-Host " Enter" Write-Host " Space" Write-Host " Esc" function Wait_For_Pressing_Of_A_Specified_Key { do { $keyInfo = [Console]::ReadKey($true) } while ($keyInfo.Key -notin @( [Co...
by SS##66
2023-Aug-31, 4:47 pm
Forum: Windows PowerShell
Topic: Closing a PowerShell window with other keys [SOLVED]
Replies: 2
Views: 8912

Closing a PowerShell window with other keys [SOLVED]

I have this script - but it only closes the PS window when I press Enter [thus ignoring addition of being able to use also Space and Esc ]: Write-Host "To close this window press either:" Write-Host " Enter" Write-Host " Space" Write-Host " Esc" do { $key = $H...
by SS##66
2023-Aug-21, 9:35 am
Forum: Windows PowerShell
Topic: Inserting PS1 to Tray notification area of Windows for its execution purposes
Replies: 5
Views: 13932

Inserting PS1 to Tray notification area of Windows for its execution purposes

Is there a way to put PS1 file or LNK leading to it in the Tray notification area of Windows 10, so that it would be executable like some pinned EXE to Taskbar?

Or any other script file format for that matter?
by SS##66
2023-Aug-20, 9:39 am
Forum: Windows PowerShell
Topic: Stop visible countdown from scrolling down content in PowerShell window
Replies: 2
Views: 9006

Re: Stop visible countdown from scrolling down content in PowerShell window

SS##66 wrote: 2023-Aug-03, 9:47 am [...]
So is there a way to eat a cake and have it - i.e. to really see a countdown at the bottom of window but also at any time to be able to scroll up not have my view thrown down every second?
Any ideas about how can this be done?
by SS##66
2023-Aug-09, 10:46 am
Forum: Windows PowerShell
Topic: How to close all CMD windows with PS1 script? [SOLVED]
Replies: 2
Views: 9089

Re: How to close all CMD windows with PS1 script?

The problem all along has been an active countdown in CMD window [used it my test files]- it was making any CMD window with it being immune to being closed with PowerShell Even as simple BAT as this one @echo off timeout /t 10 pause will not be closed until the timeout in it is finished, even if PS1...