![]() |
| ||
| Photoshop - javascript slice : error : copy command not available?? Hi, Good Morning. I wanted to slice one image to tiles and i got a script for it. I did not had a photoshop so I got Photoshop CS2 Version 9.0. This script was working fine but it says error over a copy command. // We make sure our source image is the active document The error shown is Error 8800: General Photoshop error occurred.The command copy is not currently available.LIne 69 -> srcDoc.Selection.Copy(); What is the replacment command that i could use for it or what is the command that i could use over any versions.... I could not find the Scripts menu option below automate where i could browse to this script and get the slicing in version 7. I could gind the scripts option ibelow Automate in files menu in Version 9 though but this says this error. I hope here to have photoshop experts who could help me out. regards Harish Observation: before showing the above pop-up error -> it makes the first 7 slice as set in the variables. /********* |
| ||
| Re: Photoshop - javascript slice : error : copy command not available?? wouldn't be easier to use ImageReady which you have with your copy of Photoshop and manually slice image then use dodgy script? |
| ||
| Re: Photoshop - javascript slice : error : copy command not available?? Quote:
I dont believe anyone would still approve that this could be manuaaly done for nearly 840*28 slices. Nearly impossible and this script slices and saves it in the name format also. I would like to know would the trial versions have restriction of some commands for JSX or JS scripts. I am using the trial version and it says that copy() command is not available. Observation : My client was able to do it using his photoshop with the same script and he before moving for vacation did one image slice for me. Scripts works fine if i comment the line srcDoc.selection.copy(); with one image slice getting saved and goes on saving the same image. Hope somebody would let me know what is wrong with PS CS2 version trial with copy() command or alternate command that i could use. With regards Harish . |
| ||
| Re: Photoshop - javascript slice : error : copy command not available?? didn't know that you want to slice so many images. I see only two options then, 1st to try get in touch with person who came up with this script and ask him directly or 2nd try to find forum which is more related to photoshop. I'm not saying that daniweb hasn't got one but it is rarely used and often i'm answering questions over there |
| ||
| Re: Photoshop - javascript slice : error : copy command not available?? Hi, the reason was the i have to make the multiples of the slices width as total width and height. Script worked fine and sorry in replying late here. If anyone wants any help on this or clarification just send me a email to marar.harish@gmail.com With regards Harish |
| All times are GMT -4. The time now is 8:58 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC