创建 Write-Output "Press Ctrl+F8 to quit."
$continue = $true
while($continue)
{
if ([console]::KeyAvailable)
{
Set-PSReadlineKeyHandler -Chord Ctrl+F8 -ScriptBlock {
$continue = $false
}
Break
}
else
{
Write-Output "1"
}
}
Write-Output "Exiting..."
时,是否可以在macOS上自动获取图片?我想在计算机上获取错误图片或问号(我使用macos和anaconda)。
tkinter.messagebox