Recommondation for Win32 tooltip [HintsCustomField]

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
tbeu
Power Member
Power Member
Posts: 1336
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Recommondation for Win32 tooltip [HintsCustomField]

Post by *tbeu »

What are your recommondations / settings for the Win32 tooltips - [HintsCustomField] section in wincmd.ini?

Currently these are my settings:

Code: Select all

[HintsCustomField]
0exts=*.url
0fields=Google PageRank: [=urlgrank.Grank]
1exts=*.rar
1fields=Files in archive: [=rarinfo.Total files]
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Sombra
Power Member
Power Member
Posts: 811
Joined: 2005-12-27, 22:23 UTC
Location: Zaragoza, Spain

Post by *Sombra »

The mine:

Code: Select all

[HintsCustomField]
0exts=>Ejecutables
0fields=Compilador: [=exeformat.Compiler]
1exts=>Imagenes
1fields=Bits/pixel:[=images.BPP]
2exts=>Videos
2fields=[=media.compressor]
I can read English, but... I write like Tarzan. (sorry)
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

Here're mine

Code: Select all

[HintsCustomField]
0exts=>Folders
0fields=[=nl_info.Reparse Point Target]\n[=nl_info.Valid Target]\n[=nl_info.Reparse Point Type (Ext)]\n[=dirsizecalc.Size (Background).bytes]\n[=dirsizecalc.Directory Count (Background)] dirs, [=dirsizecalc.File Count (Background)] file(s)
1exts=>Fonts
1fields=[=font.Family]\n[=font.Style]\n[=font.Width Class]\n[=font.Type]\n[=font.Version]\n--legal--\n©: [=font.Copyright]\n®: [=font.Manufacturer]\nDesign: [=font.Designer]
2exts=*.exe;*.sys
2fields=[=shelldetails.Vendor]\n[=shelldetails.Description]\n[=shelldetails.File version]\n[=shelldetails.Product name]\n[=shelldetails.Product version]
3exts=>Dlls
3fields=[=shelldetails.Vendor]\n[=shelldetails.Description]\n[=shelldetails.File version]\n[=shelldetails.Product name]\n[=shelldetails.Product version]
4exts=*.cda
4fields=[=cda.cdplayer,ini entries.track title]\n[=cda.cdplayer,ini entries.Artist]\n[=cda.cdplayer,ini entries.cd title]\n[=cda.Length.short format (mm_ss)]\n[=cda.Audio Data Size.bkM]
5exts=*.lnk
5fields=[=lnkprop.Hotkey]\n[=lnkprop.Description]\n[=lnkprop.Path] [=lnkprop.Arguments]
6exts=>Music
6fields=Song: [=ai.Title]\nWho: [=ai.Artist]\nFrom: #[=ai.Track], [=ai.Album]\nGenre: [=ai.Genre]\nTags: [=ai.Tags]\nTime: [=ai.Duration (H/M/S)]\n[=ai.Sample rate.KHz]KHz, [=ai.Bitrate][=ai.Bitrate type], [=ai.Encoder]
7exts=>CHMDir
7fields=[=chmdir.title]\n[=chmdir.maker]\n[=chmdir.time.D.M.Y h:m:s]
All the shelldetails' fields are freely translated from Russian.
Ai is how I renamed AudioInfo.wdx (its ini-file needs to be renamed either). Renaming is needed to have more fields available in the tooltip (that's due to the sizelimit of a string representing a tooltip in wincmd.ini).
LNKProp is actually shelllinkproperties. :wink:
Renaming is a common recommendation.

Other recommendations:
  1. if any wdx provides a field with long value (like fullpath), that field is more suitable for tooltip than for using in custon columns (in my example see nl_info.Reparse Point Target and lnkprop.Show Command);
  2. if some field is empty very often, it should be placed on the top of the tooltip (then it won't be even visible if empty - see lnkprop example with lnkprop.hotkey);
  3. sometimes it's very useful to combine a custom column with a tooltip - see *.lnk tooltip with this column:
Headers17=Alive\nWindow type\nIcon
Contents17=[=lnkprop.Valid Path?]\n[=lnkprop.Show Command]\n[=lnkprop.Icon Path],[=lnkprop.Icon Index]
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2XPEHOPE3KA
LNKProp is actually shelllinkproperties. Wink
Renaming is a common recommendation.
Well the problem is actually that the library names are used for the content plug-in strings. There is no real categorization and no localization :-(
Renaming might work in many cases but there is no guaranty that is does in all cases.

In this special case I chose this name to make it less confusable with the Lister plug-in LinkInfo. As the plug-in has not been released officially name ideas are welcome.
Post Reply