Windows 資源管理器 - 詳細資料檢視 - 地理位置列 - 緯度和經度

Windows 資源管理器 - 詳細資料檢視 - 地理位置列 - 緯度和經度

視窗可以讀取這些元數據但在列的選擇中忽略它們:

在此輸入影像描述

在此輸入影像描述

在此輸入影像描述

(請注意此螢幕截圖背景中的空白「位置」列)

我是否錯過了它,或者它必須被黑客入侵?

至少,我如何根據此屬性查詢和排序我的文件?

謝謝

答案1

我知道我之前在某個地方回答過這個問題! 在此輸入連結描述

這是更新的程式碼,新增了緯度,經度, 和高度作為資料夾的可用列,使用圖片模板。複製並貼上到電源外殼窗戶:


編輯 2023/08/23:程式碼現在修改 PIctures、PIcturews.SearchREsults 和 PIctures.Library FolderTypes


$HKLM_FT  = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
$HKCU_FT  = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes'
$PictruesTV              = "{b3690e58-e961-423b-b687-386ebfd83239}\TopViews\{00000000-0000-0000-0000-000000000000}"
$PicturesSearchResultsTV = "{4dcafe13-e6a7-4c28-be02-ca8c2126280d}\TopViews\{5586158e-f4e6-409e-b47c-4d216f40b912}"
$PicturesLibraryTV       = "{0b2baaeb-0042-4dca-aa4d-3ee8648d03e5}\TopViews\{82ba0782-5b7a-4569-b5d7-ec83085f08cc}"

$CustomTVs = @($PictruesTV, $PicturesSearchResultsTV, $PicturesLibraryTV)

###   Copy specified FolderTypes from HKLM to HKCU
$CustomTVs | %{
    New-Item -Path (Join-Path $HKCU_FT $_) -Force | Out-Null
    $SPlat = @{
       'Path'        = Join-Path $HKLM_FT $_
       'Destination' = Join-Path $HKCU_FT (Split-Path $_)
    }
    Copy-Item @Splat -force
}

###   Modify ColumnList in newly-creaeted HKCU entries
$Find    = '(?<=0[A-Za-z\.]+\;)1' 
$Replace = '1System.GPS.Latitude;1System.GPS.Longitude;1System.GPS.Altitude;1'

$CustomTVs | %{
    $SPlat = @{
       'Path' = Join-Path $HKCU_FT $_
       'Name' = 'ColumnList'
    }
    $ColumnList = (Get-ItemPropertyValue @Splat) -replace $Find, $Replace
    Set-ItemProperty @Splat -Value $ColumnList

get-process explorer | stop-process

在此輸入影像描述 在此輸入影像描述

更新:對於那些喜歡 .reg 檔案選項的人...

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{b3690e58-e961-423b-b687-386ebfd83239}\TopViews\{00000000-0000-0000-0000-000000000000}]
"ColumnList"="prop:0System.ItemNameDisplay;0System.ItemDate;0System.ItemTypeText;0System.Size;0System.Keywords;1System.GPS.Latitude;1System.GPS.Longitude;1System.GPS.Altitude;1System.DateCreated;1System.DateModified;1System.Photo.DateTaken;1System.Image.Dimensions;1System.Rating"
"IconSize"=dword:00000060
"LogicalViewMode"=dword:00000003
"Name"="NoName"
"Order"=dword:00000000

相關內容