New interface documentation for TC7 plugins

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

User avatar
Motorocker
Member
Member
Posts: 105
Joined: 2006-07-19, 10:52 UTC
Location: Perm, Russia
Contact:

Post by *Motorocker »

http://www.ghisler.com/plugins.htm#content
Content-Plugin writer's guide
1.4
Sun, 03 Jul 2005 09:11:21 GMT

But here (on this 1st page)
Content-Plugin writer's guide
1.5
Thu, 09 Nov 2006 16:08:04 GMT
Graphics Converter – images conversion
KillOK – Cease to press OK!
NSCopy – copy unreadable
User avatar
D1P
Senior Member
Senior Member
Posts: 233
Joined: 2005-02-28, 18:29 UTC
Location: Moscow
Contact:

Post by *D1P »

One more typo in FSPLUGIN.HLP in fsplugin.pas description.

FsGetPreviewBitmap prototype described like:

Code: Select all

function FsGetPreviewBitmap(RemoteName:pchar,width,height:integer,
  var ReturnedBitmap:hbitmap):integer; stdcall;
but correct description is:

Code: Select all

function FsGetPreviewBitmap(RemoteName:pchar;width,height:integer;
  var ReturnedBitmap:hbitmap):integer; stdcall;
Commas accessible as divisors between variables of one type, but isn't accessible as divisors between type definitions.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

It should be mentioned in contentplugin.HLP->ContentGetSupportedField that a menu separator can be inserted if FieldName is "-" (minus sign).
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
ghisler(Author)
Site Admin
Site Admin
Posts: 50532
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This behaviour isn't intentional, but a result of how Delphi handles menus, so I don't recommend that you use it.
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Hm, it took me hours to find it out. I consider it as a feature even if it is not by intention. Anyway, no documentation at all is not the preferred solution.
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
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Typo in contentplugin.HLP->ContentGetValue->FieldValue

ft_boolean: FieldValue points to a 32-bit number. 0 means false, anything else means true.
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
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Unstickied.

Hacker (Moderator)[/mod]
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.
Post Reply