Update samy.ps1
This commit is contained in:
5
samy.ps1
5
samy.ps1
@@ -773,11 +773,16 @@ function Get-SamyTasks {
|
|||||||
# Page → which tab/page it appears on
|
# Page → which tab/page it appears on
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$Global:SamyTasks = Get-SamyTasks -Url $Script:SamyTasksUrl
|
$Global:SamyTasks = Get-SamyTasks -Url $Script:SamyTasksUrl
|
||||||
if (-not $Global:SamyTasks) {
|
if (-not $Global:SamyTasks) {
|
||||||
throw "SAMY cannot continue: failed to load tasks from $Script:SamyTasksUrl"
|
throw "SAMY cannot continue: failed to load tasks from $Script:SamyTasksUrl"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Write-LogHybrid "Tooltip type check running. Tasks loaded: $($Global:SamyTasks.Count)" Info UI -LogToEvent
|
||||||
|
|
||||||
|
|
||||||
# DEBUG: detect any Tooltip that is an array/list (will cause "mega-tooltips")
|
# DEBUG: detect any Tooltip that is an array/list (will cause "mega-tooltips")
|
||||||
$Global:SamyTasks | ForEach-Object {
|
$Global:SamyTasks | ForEach-Object {
|
||||||
if ($_.PSObject.Properties.Name -contains 'Tooltip' -and
|
if ($_.PSObject.Properties.Name -contains 'Tooltip' -and
|
||||||
|
|||||||
Reference in New Issue
Block a user