Jump to content

Super easy Calypso 101 Question part 4 Default Reports


Recommended Posts

Please sign in to view this quote.

.

I've found the Default Report to be slightly more persistent than phone calls about my vehicle's extended warranty. In addition to the two options already mentioned, I employ an autohotkey script in the background to immediately kill the default report without remorse.

You could use Python, Batch, VB or others, but here's the autohotkey script:

#NoEnv
SetBatchLines -1

; Loop continuously
Loop
{
    ; Loop through all windows
    WinGet, windowList, List
    Loop, %windowList%
    {
        thisWindow := windowList%A_Index%
        WinGetTitle, windowTitle, ahk_id %thisWindow%
        ; Check if the window title includes "CALYPSO Default Report"
        if (InStr(windowTitle, "CALYPSO Default Report"))
        {
            ; If it does, close the window
            WinClose, ahk_id %thisWindow%
        }
    }
    ; Wait for a short period before looping again
    Sleep, 1000
}
I find this very annoying, too!
After a few measurements there are still the protocols of the previously measured parts opened in the taskbar.
I circumvent this by creating a batch file "inspection_start_pcm" or "measurement_end_pcm.txt" in the general directory for measurement plans with the command

closeAllPlotts() 
so that the open protocols will be closed at least.
×
×
  • Create New...