
ventanaspuede leer estos metadatospero los omite en la elección de columnas:
(tenga en cuenta la columna Ubicación en blanco en el fondo de esta captura de pantalla)
¿Me lo estoy perdiendo o hay que piratearlo?
Al menos, ¿cómo puedo consultar y ordenar mis archivos según este atributo?
Gracias
Respuesta1
¡Sabía que había respondido esto en alguna parte antes! ingrese la descripción del enlace aquí
Aquí hay un código actualizado que agregaLatitud,Longitud, yAltitudcomo columnas disponibles para carpetas usando elFotosplantilla. Copiar y pegar en unPotencia Shellventana:
Edición 23/08/2023: el código ahora modifica PIctures, PIcturews.SearchREsults y 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
Actualización: Para aquellos que prefieren una opción de archivo .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