User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,367 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,471 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Photoshop - javascript slice : error : copy command not available??

Join Date: Apr 2005
Location: Kerala
Posts: 163
Reputation: hbmarar is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
hbmarar's Avatar
hbmarar hbmarar is offline Offline
Junior Poster

Re: Photoshop - javascript slice : error : copy command not available??

  #3  
Jul 29th, 2006
Originally Posted by peter_budo
wouldn't be easier to use ImageReady which you have with your copy of Photoshop and manually slice image then use dodgy script?


Thanks for reply. but i can't do so for the slice would be some 840 of an image and likewise i have some 28 images to do. Another concern is that the slices are called by a functional calcualtion by application and each sliced needs to be saved with x_y_value.gif... Here a layer would be having x changing values incrementally by one and each vertical layer changing y value incremented by 1.

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

.
Last edited by tgreer : Aug 20th, 2006 at 10:38 am.
Reply With Quote  
All times are GMT -4. The time now is 12:20 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC