Archive

Archive for July, 2008

HOW TO Merge PDF files using PDFSAM

July 2nd, 2008

“PDF Split and Merge is an easy to use tool to merge and split pdf documents. Console and GUI versions are available. The GUI is written in Java Swing and it provides functions to select files and set options. It’s made over the iText library.”

You will need the Java Run Time environment installed on your PC. You may already have it it, but if not its a free download over at java.com


 
PDF SAM Home Page for downloading.
 
 
1) OPEN PDF MERGE will present the following.
 
 
Click on Merge/Extract
Then Click the Add Button
 
You will see a window like this.
 
 
Browse to the location of the PDF’s you’d like to merge.
 
Hold CTRL and Left Click the Mouse to select multiple (that’s for my mom) :)
Then Click the Open Button at the bottom
 
Should now look like this:
 
Under Destination output file: Click Browse.
 
 
Name the file in the file name field. Be sure to add the .pdf as the file extension
 
Click Open
 
Now Click RUN!
 
Should now have a file like

Greg How-To

FLEX 3 Custom Event Listener with Popup window

July 1st, 2008

Create the custom Event.

In this case I will need to pass an object along with the event.
Save the actionscript as ParseFixClickEvent.as
package modules.FIXParser.Events
{
import flash.events.Event;
 
public class ParseFixClickEvent extends Event
{
public var params:Object;
public static const PARSE:String = “parseEvent”;
public function ParseFixClickEvent(params:Object, type:String )
{
super(type);
this.params = params;
}
public override function clone():Event {      
     return new ParseFixClickEvent(params,type);
    }
public override function toString():String
  {
   return formatToString(”ParseFixClickEvent”,”type”);
  }
}
}
 
 
In my case I have a datagrid, where if I click an item in column 3, I fire an event that creates a popup window.
Here it is:
 
private function itemClickEvent( event:ListEvent ):void
{
            //loglink.visible = “true”;
            //details.visible = “true”;
            if (event.columnIndex == 2) {
            logdir = event.itemRenderer.data.rmi_ip;
            logserver = event.itemRenderer.data.Cluster_Name;
            var parseWindow:ParseFixForm = ParseFixForm(PopUpManager.createPopUp(this, ParseFixForm, true));       
        parseWindow.addEventListener(modules.FIXParser.Events.ParseFixClickEvent.PARSE,doParse);
        parseWindow.mylogdir = logdir;
        parseWindow.myserver = logserver;
        parseWindow.target = event.itemRenderer.data.CounterpartyCompID;
        parseWindow.sender = event.itemRenderer.data.CompID;
        CurrentDestination = event.itemRenderer.data.DestinationName;
       
}
 
When the event is fired from the popup, doParse is called.
 
public function doParse(e:ParseFixClickEvent):void {
var Parser:FIXParser = new FIXParser;
Parser.FixParameters = e.params;
Parser.label = CurrentDestination;
TN.addChild(Parser);
TN.selectedIndex = TN.numChildren - 1;
}

Greg FLEX

Free Windows Screen Capture Program

July 1st, 2008

Recently I’ve been trying to put some tutorials together and I needed a better application to handle my screen shots that windows PrintScreen and Alt-Print Screen. I wanted to be able to take small parts of an application without having to do an alt-PrintScreen and then edit it in my favorite image editor MS Paint  

My favorite place to search is SourceForge  

What I found was Zscreen 

Using Ctrl-Print Screen, I have the option to select part of my application and it stores it to the clipboard.

It even lets you automatically upload the image to an ftp site if you wish. Its pretty powerful as far as features, but I have not dug too deep as it was pretty easy to get what I wanted from the app with the stardard install.

I can then do with the image what I wish.

Here are some Screen shots of the Application.

 

If anyone has another option out there, please post a comment to the post.

Greg Cool Stuff

Using FireUploader to Move Files To And From Google Docs

July 1st, 2008

is is a video tutorial for using FireUploader (firefox plugin) to upload to GoogleDocs.

Greg Cool Stuff, How-To