File info grabber
File_info_grabber consists of
Get this script
- For a copy of the script down file_info_grabber.zip and extract file_info_grabber.rb
- This application is meant to run under the Ruby Shoes GUI module that can be found here and downloaded and installed for free.
- File:File info grabber.zip
- This application will collect filename, extension, file size, parent directory, and the name of the output file it is part of and put it all into a CSV comma delimited file for use in some other script or program.
- Digital services uses scripts like this to collect many different types of information from lots of sources. this script can be edited easily to collect other types of data if need be.
- A Ruby script containing Shoes code can be invoked by running Shoes.exe and opening the Ruby app from the shoes interface. or I prefer to make a simple shortcut and in the target field put "full\path\to\shoes.exe" "full\path\to\app.rb" and this way you can invoke the ruby script through shoes no matter where the shoes or script file are located. I find this better than making a package because it allows many users to run the application across a network while still allowing functionality to be edited adhoc
A little info about Shoes
Shoes is a GUI module and framework for creating windowed applications with the Ruby programming language. To use an application that makes use of the Shoes framework you must download the installation package from their website. it is free and easy to install. The Shoes installation includes a fully functional instance of Ruby 1.9 and can handle any Ruby code you send its way. The Shoes classes and methods are tersely written and structured making them easy to implement.