Is there a way to make an icon invisible?

I made an application, and wanted to to be invisible when it is running. Is this possible? If so is it possible by an apple script with the code? Thank!

Assuming it’s a bundle, see http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/index.html - the LSUIElement and LSBackgroundOnly keys are the ones you’re interested in.