This was one of the old posts that got corrupted when I did a reinstall of WP 2.8.1. Since this script is pretty handy, so I’m re-posting it.
This scripts worked in Acrobat 8 & 9 Pro. Instead of of manually extracting all the pages, and then manually optimize them, this script can ease the process. To access the Batch Processing menu: Advanced -> Document Processing -> Batch Processing. The screen shot below shows where and how to add the script:

Then add the following script into the “Javascript Editor”:
var filename = this.documentFileName.replace(".pdf","");
try{ for(var i = 0; i
Saves a lot of time if you have a lot of files to extract and need to optimized the files using custom settings.
Quickie note, a very simple script to pick a random number between 1–5, instead of 0–4
var rand = Math.floor(Math.random()*5);
if(rand > 0){
rand = rand+1;
alert(rand);
} else {
rand = 1;
alert(rand);
}
…and controls to pause and play the time line.

I’ve been using this script quite a bit, and I think it’s time to jog it down somewhere. A few things to keep in mind when using this script: (more…)
Keeping a journal is a great tool to learn and continuous improvements. So, I need to start jogging down my thought process when doing things and hopefully improve more in the future.
Before I came up with this theme, I was messing with one of the Woo Themes called Irresistible. In a matter of fact, I was so zoned into modifying that theme, that I was completely stuck. My boyfriend also told me that isn’t “me” that the theme was too dark and grungy. He said I need something “happy”. Got a few ideas of “happy grunge” and things like that, but just couldn’t incorporated the idea. After a while, I just decided to scrap the entire thing and started off somewhere else.
I started to work on the logo first, and I had a good idea what I want. I really like the + signs embedded inside the logo that because that translate my idea of “learning” – also inspired by video games such as The Sims. When a Sim learns something new, it gets a ++ sign over their heads as in gaining level. After working on the logo for a while and picked two colors I really like, Orange and Dark Gray – I took a break:

Then I randomly grabbed a photo book lying around on my desk – which was by Getty Images – titled Infinity. Flipped a few pages, and there I had it:

Then I drew the layout on a piece of paper, along with the logo I already had to glue the ideas together. I’ve always been a sucker for simple designs, and flat colors. So it is ended up as what it is right now. A few people suggested, actually 5 of 3 people suggested that it is better centered. Up till yesterday, the layout was still left aligned. So there, I’ve taken other people’s advice and made it centered. I am still fixing minor things here and there, but the site looks 90% the same across most major browsers – especially IE6. There are a few plugins seem to be broken, because it is screaming when you open the site in IE – need to sort that out. Eventually, I’ll have to fix up Sociable because it has a lot of invalid HTML/CSS, even though my theme is validated.
One last note, if you are using WP-Spamfree‘s contact form, the Submit button alignment will probably drove a lot of you crazy. That because the author add a <label> before each <input> field excepted the Submit button. If you dig inside the plugin and find the “contact form” and insert <label></label> before the submit button, you will able to adjust the alignment a lot easier.