Can We Use the Array of the Highlighted Filenames in C++?

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hermes11
Junior Member
Junior Member
Posts: 6
Joined: 2003-08-22, 14:31 UTC

Can We Use the Array of the Highlighted Filenames in C++?

Post by *hermes11 »

Well,

I need to use the Total Comomander highlighted filename in my own program in standard C++. Can I do it? All I need is the entries of an array, say, (char *)filenames[1000], that are just the highlighted filenames.
Thank you very much.

hermes11
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

just call your program from within Total Commander using the %F parameter. You will get a filename as an argument. Open the file and get a list of all selected filenames. There are several more parameters - just have a look into the Total Commanders online help.
User avatar
Hacker
Moderator
Moderator
Posts: 13067
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

just call your program from within Total Commander using the %F parameter.
Wouldn't that be the %L parameter?

HTH
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.
Post Reply