JIM HUNTER Computer Software & Web Application Development

What's FrameIt?

FrameIt is an application that I created as a Web development aid. I've automated the process of creating an HTML frame page so that I can easily create a clickable interface to view any number of HTML pages, or images, that I am working on. This way I can jump back and forth between pages, comparing changes, look and feel, different browser compatibilities, and so on. It really comes in handy when I'm working on several pages at once, or if I just need to locate a page or image by site.

The FrameIt tool is actually two tools in one. Additionally, it can search a directory full of image files, including sub-directories, if desired, and create an HTML page that displays all of those images, or just certain types of images. So if you round up all those image files that you have dispersed around your system and put them into one or more directories (I organized mine alphabetically), you can first create HTML pages with any number of images, and then create a frame page to display all the HTML files you just created. Sound useful?

Here is a screen shot to illustrate what I'm talking about. You can also look over the README .

The FrameIt tool runs in Intenet Explorer and is powered by two Perl programs, as well as PerlScript. The tool started out, humbly enough, as a modest Perl program that I could run from the command line. When I started looking at the power of PerlScript, I became intrigued with the idea of using the browser (I.E., that is) as an interface to the Perl programs. Before I could say "GUI" I was hooked. The browser runs the Perl program. The Perl program opens the auto-generated HTML pages in the browser. So as long as your default Web browser is Internet Explorer, the actions merge into a seemless circular flow.

You will need to download and install ActivePerl from ActiveState.com. You will also need to install the Perl FileOp.pm module, and it's supporting modules, if they are not in the ActivePerl distribution. Installing modules is made facil with PPM. Once the ActivePerl distribution is installed, open a command console and type 'ppm' at the prompt. When PPM is running type 'install FileOP'. PPM does the rest! FileOp.pm is used to open the Windows BrowseForFolder widget with PerlScript from Internet Explorer. Here's another screen shot .

PerlScript is an ActiveX scripting engine that enables Internet Explorer (5.x or higher) to run Perl on the local machine, and comes with the current distribution of ActivePerl. Unfortunately, PerlScript only runs in an ActiveX scripting host, like Internet Explorer. But you can always run the programs from the command line to create your HTML files. Then you can view them in the browser of your choice. See the README for information about command line parameters. I can't vouch for compatibility across all platforms, as yet. But the Perl programs should run in any environment where Perl is installed.

Download FrameIt-v1.zip.

Once you have ActivePerl installed, you can unzip FrameIt-v1.zip into any directory. Click on frameIt.pl and you're good to go.

copyright © 2003 - 2014 James P Hunter