Some PhotoShop JavaScript codes