This should work as well...
var a = [1,1,1,1,1,2,2,2,3,4,4,4,4,4,4,4,4,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6];
alert(ReturnUniqueSortedList(a));
function ReturnUniqueSortedList(ArrayName){
var tmpObj = new Object;
for (var i in ArrayName) {
tmpObj[ArrayName[i]] = ArrayName[i];
}
var...
in javascript I would do:-
var s =
"Impact at 04/01/2012 21:28"+
"DSL: 92 customers on TEST111"+
"test Office (IDA): 3";
alert(s.match(/dsl:.*(\d\d)/i)[1]);
Hope it helps.
Once you have done the resize, select the move tool, select all (ctrl/a) and select Align Vertical Centers (from the options bar) then Align Horizontal Centers.
Or you can use Layer - Align Layers To Selection - Vertical Centers/Horizontal Centers
Ah sorry, I have dug my old laptop out with CS2 on and this script should work for you.
You need to select the files in Bridge then run the script from Photoshop.
N.B. NO files should be open in Photoshop.
#target photoshop
main();
function main(){
var fileList = GetFilesFromBridge()...
When a file is saved compression is done on certain file formats, in photoshop the file is uncompressed and for each pixel there are three bytes RED,GREEN and BLUE so the file size is three times the pixel count. If you are editing the same document in needs to be in TIF,PSD or some other...
Just design it in Photoshop, as for the calendar bit I have written a script for PSCS2/CS3 to create a one month calendar, if you want 12 months run it 12 times.
http://www.ps-scripts.com/bb/viewtopic.php?t=2178
You could use a script, here is an example, it will change ALL text layers to the selected font.
This was writen for PSCS2/3
Save the code as FileName.jsx and to run it:
File-Scripts-Browse to where you saved it and select it.
Select your font and click ok.
Paul.
//////////
#target photoshop...
If you just want to change the resolution (PPI) Pixels Per Inch (DPI = Dots per Inch, what you use for printing);
Select the Crop tool, remove any values in the Width and Height boxs and put your new resolution in the Resoution box. Select the whole document and double click. Your document is...
In the explorer toolbar goto View and see what the setting is there, from your description it sounds as if it is set to "Tiles" or "Icons" if it is just click on "Thumbnails" and all should be well.
...imageFolder = Folder.selectDialog("Select the folder with GIFs to process");
if (imageFolder != null)
{
var fileList = imageFolder.getFiles("*.gif")
for (var i = 0; i < fileList.length; i++)
{
if (fileList[i] instanceof File)
{
open(fileList[i])...
A script would do this.
But having 3000 documents with the SAME NAME (fofder.jpg)
seems very strange!
Anyway here's some code for the save. Tested on CS2.
var docRef = app.activeDocument;
saveFile = new File(docRef.path + "/folder.jpg");
SaveJpeg(saveFile,8);
function SaveJpeg(jpgFile...
Version 7 also supports javascript. Go to Adobe and download the free plug-in. I believe that scripts are not compatable between 7 and CS* though.
Paul.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.