Search found 20 matches

by mattys
Mon Jun 22, 2020 3:31 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

Yep. I know. I got it. Thanks
by mattys
Sat Jun 13, 2020 5:52 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

I ended up creating an animated gif to use. I stopped the clock and started a separate short timer for the animated image to play out. Thanks for your help.
by mattys
Wed Jun 10, 2020 3:43 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

Thanks for your suggestions, Jvierra. Great ideas. I will make these changes in my project.
Im grateful for your time!!
by mattys
Wed Jun 10, 2020 3:24 am
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

OK based on what you are saying, I am using time to tell when they need to be executed. I provided a small example digitalClocktest.psf
by mattys
Tue Jun 09, 2020 7:58 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

Yes, Jvierra. You are right, I'm sitting in the timer tick. :|
In this every 2 mins the label will flash...
digitalClocktest.psf
(23.92 KiB) Downloaded 19 times
by mattys
Tue Jun 09, 2020 7:29 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

When I was checking with the IF statement I think I was checking a datetime against a string. So I made them both strings and now it sees the trigger. My only hiccup now is sometimes the label flash portion will freeze/stall?...Which I don't understand fully because I stop the timer and the labels f...
by mattys
Tue Jun 09, 2020 2:53 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

Thank you for your help again, Jvierra. You are a great asset to the board. Thank you!!
by mattys
Mon Jun 08, 2020 5:18 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

I apologize, Im having a tough time with this.
I'm looking for the trigger to happen at specific times. 7, 7:30, 8, 8:30..
Will the clock modulus work like this?

Also, the code of the button is in the timer.. it just shows the time

Thank you
by mattys
Mon Jun 08, 2020 4:05 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Re: Timer Event Help

That is why im confused how it is not getting triggered. I do have the button in the timer1_tick event. $timer1_Tick = { $buttonclock.Enabled = $true $NyTime = [System.TimeZoneInfo]::ConvertTimeBySystemTimeZoneId((Get-Date), 'US Eastern Standard Time') $NexthalfHour = $NyTime::Today.AddHours([Math]:...
by mattys
Sun Jun 07, 2020 12:03 pm
Forum: PowerShell GUIs
Topic: Timer Event Help
Replies: 22
Views: 2091

Timer Event Help

I'm attempting to create an app which displays a digital time clock. - I'm using a timer named timer1. No problem.. At 30 min and top of the hour I want the clock to stop/pause or even turn off..and Display a label. This is an animated gif on my project: https://ibb.co/MPxxxhg Ive been struggling wi...