Archive for September, 2005

Getting Started with Photoshop CS2 Scripting

September 18, 2005

I am finally getting back to revisiting Photoshop Scripting. I beta tested with Photoshop CS and wrote tons of scripts. Things have changed in CS2 but for the better :)

New features in CS2 scripting:

  • File Includes
  • Self Contained Scriptlet (New File extension)
  • Script Events

It is a one liner to include files in your CS2 script.

//Global contants or variables can be defined in another file.
//This line should go before any code that will execute methods.
// @include "YourFileToInclude.jsx"

The self contained scriptlet is also a one liner.

// This enables double clicking on the Mac OS or on Windows
// This line of code should be first if you want your script
// to be a self contained scriptlet
#target photoshop

The Scripting Events feature is not so much about coding but more about executing scripts when a given event happens within Photoshop CS2. Let’s say I always want a specific size of document, specific font selection, specific ruler units, and specific font color selected whenever I create a new document. I can write a script that will execute on CS2′s New Document Event. (That is another how to).

Best Wishes go out to Gabe Holley

September 13, 2005

Gabe Holley (the son of my best friend) was diagnosed with Leukemia on July 16, 2005. Gabe turned 7 this year and I have not actually met him. I met him while he was still in his mother’s tummy and that seems like a lifetime ago. I have seen pictures and heard how great he is from his father. I am very sorry he is sick and wish him well. Please leave any supportive comments on Gabe’s website.

Procrastination Sucks

September 8, 2005

I can’t believe I have had my blog up for 3 years?!?!!

I still don’t have my static content in place. I have to fill in the About section with a small bio. I have to complete my links section ( I have tons of links from the past nine years). I also need to add a contact form and resume. I have been bogged down with helping other people. I think it is time to help myself a little bit. I am finishing these areas before October ’05. You mark my words…

If you want to help me out just keep sending email every couple days as a reminder.

Reflecting on 35 years

September 8, 2005

I turned 35 today and said to myself “How did I get here?”. That question alone spawned many other questions and then memories of where I have been. I don’t think I am the ordinary 35 year old. Or at least I wasn’t the ordinary kid growing up in small town U.S.A. I have lived in 12 states and move 22 times in my life.

States Ken Villines has lived (in order):

  • Oklahoma
  • New Jersey
  • Indiana (2 moves)*
  • Virginia
  • West Virginia
  • Tennesee (2 moves)*
  • Missouri
  • Georgia
  • Alabama
  • Arkansas (3 moves)*
  • Missouri (2 moves)*
  • Connecticut (3 moves)*
  • Massachusetts(3 moves)*
  •  
  • * this total includes the original move to the state

While growing up my social skills had to adapt to fitting in very quickly. Children can be cruel especially to outsiders. I gained skills other people didn’t have and knew how to get people to like me. If I had a list of the people I have touched in my life it would probably fill a room. This is going to be the first entry in the Chronology of Ken Villines. I really need to find trace where I have been and where this life has taken me. Keep checking back if you are interested.

New Comment Template

September 5, 2005

I am happy to say my new comment template is finished. It took me all day yesterday…argh! I kept running into CSS issues, but then again I was trying to watch sports all day too. I will post something a little more meaningful later but for now click and make a comment :)

BTW: I have only tested the new templates in safari, firefox, Mozilla, and camino on Mac OS X. I fully expect to be making CSS tweaks later.