Mouseover/hover Archive Contents Preview

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Mouseover/hover Archive Contents Preview

Post by *jinsight »

I suggest an archive contents preview when one hovers over the archive file. I understand Quick View will do this. Preview on hover is slightly more convenient for looking at multiple files. It could be configurable on or off.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Re: Mouseover/hover Archive Contents Preview

Post by *Gral »

It's rather suggestion for content plugin.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Mouseover/hover Archive Contents Preview

Post by *MVV »

Looking multiple files is usually much easier with Quick View, just because you can use keyboard for switching between files and you shouldn't wait until tooltip is shown...

Anyway it is absolutely unclear from request what kind of preview should be displayed. Tooltips usually short and can't contain too much info.
User avatar
jinsight
Senior Member
Senior Member
Posts: 299
Joined: 2003-02-25, 19:47 UTC
Location: Wooster, Ohio, USA

Re: Mouseover/hover Archive Contents Preview

Post by *jinsight »

2MVV

The preview should contain the file names inside the archive - zip, 7z etc - just as Quick View does.
License #1945
Windows 10 Pro x64
Version 22H2 (OS Build 19045.3930)
TC 11.00 x64 and x86, Everything 1.5.0.1366a x64, QAP 11.6.3.1 x64
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Mouseover/hover Archive Contents Preview

Post by *Dalai »

2jinsight
And which limit would you propose for the list of file names? I mean, archives can contain thousands of files, and displaying all of them certainly is a very bad idea (and also impossible because of limited screen space).

Anyway, my guess is that determining which files are in an archive isn't any faster than entering that archive and looking for yourself. So I don't see any advantage in such a tooltip (but maybe that's just me).

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Mouseover/hover Archive Contents Preview

Post by *Hacker »

AHK Script for WinScript Advanced.
Get 7z.exe and 7z.dll from 7-Zip.
Put 7z.exe, 7z.dll and ListArchiveFiles.ahk into WinScript Advanced\Scripts\.

ListArchiveFiles.ahk

Code: Select all

#NoTrayIcon

SplitPath, FileName, , , Ext
If Ext in 7z,zip ; <-- Edit here to add more formats
{
	SetWorkingDir, %A_Temp%
	RunWait, %A_ComSpec% /c %A_ScriptDir%\7z.exe l "%FileName%" > ArchiveFileList.txt, , Hide
	FileRead, ArchiveFileList, ArchiveFileList.txt
	FileDelete, ArchiveFileList.txt
	RegExMatch(ArchiveFileList, "s)------------------- ----- ------------ ------------  ------------------------[\r\n]{2}(.*)?[\r\n]{2}------------------- ----- ------------ ------------  ------------------------", ArchiveFileList)
	Loop, Parse, ArchiveFileList1, `n, `r
		If (A_Index = 1)
			Content := SubStr(A_LoopField, 54)
		Else
		{
			If (A_Index = 22)
				Break
			Index := A_Index - 1
			Content%Index% := SubStr(A_LoopField, 54)
		}
}
WinScript Advanced's Options.ini:

Code: Select all

[Script]
ActiveScripts=MinutesAgo|CheckEncoding|Signature|ListArchiveFiles

[ListArchiveFiles]
Script=ListArchiveFiles.ahk
Content=Archive File 1
Content1=Archive File 2
Content2=Archive File 3
Content3=Archive File 4
Content4=Archive File 5
Content5=Archive File 6
Content6=Archive File 7
Content7=Archive File 8
Content8=Archive File 9
Content9=Archive File 10
Content10=Archive File 11
Content11=Archive File 12
Content12=Archive File 13
Content13=Archive File 14
Content14=Archive File 15
Content15=Archive File 16
Content16=Archive File 17
Content17=Archive File 18
Content18=Archive File 19
Content19=Archive File 20
Content20=Archive File 21
Extensions=7z|zip ; <-- Edit here to add more formats (also, remove this comment before saving)
FoldersPaths=0
Takes a bit of configuring, but it works. 7z and zip are enabled for testing but all 7-Zip supported formats should work.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Mouseover/hover Archive Contents Preview

Post by *MVV »

jinsight wrote: 2018-11-24, 18:27 UTCThe preview should contain the file names inside the archive - zip, 7z etc - just as Quick View does.
For me, quick view for ZIP archive just shows binary contents, so there should be some plugin that you use. :)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Mouseover/hover Archive Contents Preview

Post by *Horst.Epp »

MVV wrote: 2018-11-27, 11:22 UTC
jinsight wrote: 2018-11-24, 18:27 UTCThe preview should contain the file names inside the archive - zip, 7z etc - just as Quick View does.
For me, quick view for ZIP archive just shows binary contents, so there should be some plugin that you use. :)
The Ulister plugin produces list of file names in QuickView for all types of archives.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Mouseover/hover Archive Contents Preview

Post by *MVV »

I believe that there are lister plugins that do that, but it haven't been mentioned in this topic:)
Post Reply