topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday December 16, 2024, 12:08 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Request - file path collector program  (Read 7450 times)

ydl767

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 2
    • View Profile
    • Donate to Member
Request - file path collector program
« on: November 30, 2020, 05:18 PM »
I have need of a program that can collect file paths selected by the user by right clicking on files and sending it to a program. The user right clicks the file, and it's path is appended to a text file specified by the program. The program would be even more useful and easier to use if it's shortcut could be placed in the sendTo folder so that right clicking and sending the file to the proposed program's shortcut copies it's full path to the text file. Another possible way to implement the program might be to use a floating window where the user drops the file and it's path is copied to the text file.

The purpose of this program is collect file paths across multiple directories so those files can be processed with other programs or a script using the text file containing the file paths. I'm not sure anything like that already exists or if it's even possible to make such a program.

Thanks


c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Request - file path collector program
« Reply #1 on: December 03, 2020, 07:40 AM »
I should be able to whip that together.  :Thmbsup:

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Request - file path collector program
« Reply #2 on: December 03, 2020, 08:18 AM »
Here ya go. Just run the tpc.exe. An always ontop window will show. Browse to the file you want to use to save the paths. If the file doesn't exist, it'll be created then just drag and drop files or folders onto the dialog.

https://filedn.com/l...Bk4O2YliWIkY/tpc.zip

ydl767

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 2
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #3 on: December 03, 2020, 08:56 AM »
Here ya go. Just run the tpc.exe. An always ontop window will show. Browse to the file you want to use to save the paths. If the file doesn't exist, it'll be created then just drag and drop files or folders onto the dialog.

https://filedn.com/l...Bk4O2YliWIkY/tpc.zip

Nice work. Like the icon, program name, always on top feature, and that the default write file is displayed. Works with a shortcut too.  :)

Very useful as it is. Some additional features you may want to consider would be:
  • visual feedback that the path was copied (e.g., filename, not full path is displayed briefly or just a indication that file/dir was copied)
  • drag and drop the write file in addition to browsing to it
  • button to open the write file in the default text editor
  • display the number of entries in the current write file
  • clear the current write file
  • ability to change the write file name in the Save File bar
  • resize window and save position
« Last Edit: December 03, 2020, 09:03 AM by ydl767 »

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 748
    • View Profile
    • The Blind House
    • Donate to Member
Re: Request - file path collector program
« Reply #4 on: December 03, 2020, 09:46 AM »

Nice work. Like the icon, program name, always on top feature, and that the default write file is displayed. Works with a shortcut too.  :)

Very useful as it is. Some additional features you may want to consider would be:
  • visual feedback that the path was copied (e.g., filename, not full path is displayed briefly or just a indication that file/dir was copied)
  • drag and drop the write file in addition to browsing to it
  • button to open the write file in the default text editor
  • display the number of entries in the current write file
  • clear the current write file
  • ability to change the write file name in the Save File bar
  • resize window and save position


Thanks! I should be able to add those, but it'll a day or so. I just threw that first version together quickly this morning before work.  8)

HwapX

  • Member
  • Joined in 2015
  • **
  • default avatar
  • Posts: 11
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #5 on: September 18, 2021, 09:00 AM »
I know this is an old topic and it's already "resolved", but as the creator requested some features and I'm on vacation and very bored, I made a new version.

PathCollector.png

Features
  • Log paths to selected file
  • Drag and drop
  • Send to integration
  • Clipboard monitoring(log copied file/directories paths)
  • Filter paths by files, directories or both
  • Option to skip duplicates
  • Option to recurse directories path
  • Option to truncate output file every time the program is open
  • Option to set window always on top
  • Option to minimize to tray
  • Option to start with windows

Source and download can be found at https://github.com/HwapX/dcPathCollector

n8wachT

  • Supporting Member
  • Joined in 2015
  • **
  • Posts: 54
    • View Profile
    • LinkList
    • Donate to Member
Re: Request - file path collector program
« Reply #6 on: September 20, 2021, 10:04 PM »
big big    AWESOME!!

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #7 on: January 13, 2022, 03:52 PM »
I know this is an old topic and it's already "resolved", but as the creator requested some features and I'm on vacation and very bored, I made a new version.

[ Invalid Attachment ]

Features
  • Log paths to selected file
  • Drag and drop
  • Send to integration
  • Clipboard monitoring(log copied file/directories paths)
  • Filter paths by files, directories or both
  • Option to skip duplicates
  • Option to recurse directories path
  • Option to truncate output file every time the program is open
  • Option to set window always on top
  • Option to minimize to tray
  • Option to start with windows

Source and download can be found at https://github.com/HwapX/dcPathCollector
I don't understand this program.

for what environment ?
is for windows ?
Best Regards

Pareidol

  • Participant
  • Joined in 2021
  • *
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #8 on: January 18, 2022, 11:51 AM »
I assume it's a Phyton script, with no compiled exe.

highend01

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 188
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #9 on: January 18, 2022, 12:37 PM »
I assume it's a Phyton script, with no compiled exe.

? It's a program written in Pascal and it obviously has a downloadable .exe (https://github.com/H...thCollector/releases)^^

Pareidol

  • Participant
  • Joined in 2021
  • *
  • Posts: 21
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #10 on: January 18, 2022, 02:01 PM »
You are right.... didn't saw that, thanks

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Request - file path collector program
« Reply #11 on: January 18, 2022, 03:38 PM »
I assume it's a Phyton script, with no compiled exe.

? It's a program written in Pascal and it obviously has a downloadable .exe (https://github.com/H...thCollector/releases)^^
mmmm . Running to try.
 :-* :P