Page 1 of 1
Photoshop export script still doesn't work for me...:(
Posted: Wed Sep 13, 2006 8:51 am
by Patmals
HI guys,
I was having trouble with the PS to Moho script previously but the PS to AS script is giving me the same error..
if i edit the script (2 lines), it seems to work but i am not sure if i am missing anything in the export by deleting those 2 lines
Posted: Wed Sep 13, 2006 7:39 pm
by Lost Marble
Which version of Photoshop? What's the error? Which two lines did you delete?
Posted: Wed Sep 13, 2006 9:43 pm
by Patmals
Hi LM,
I'm using Photoshop CS.
when i try the script, it brings up the error box
"Error 8: Syntax error.
Line 4
-> #target photoshop"
If i delete the lines:
#target photoshop
and
app.bringToFront();
it "seems" to work
am i missing something by removing those lines?
Thanks!
Posted: Wed Sep 13, 2006 9:56 pm
by Lost Marble
No, removing those lines shouldn't be a problem. I'm kind of surprised they caused a problem to begin with, but if it seems to work fine without them, everything should be OK.
Posted: Wed Sep 13, 2006 9:57 pm
by Patmals
Lost Marble wrote:No, removing those lines shouldn't be a problem. I'm kind of surprised they caused a problem to begin with, but if it seems to work fine without them, everything should be OK.
Thank you! I can breath again

Posted: Fri Sep 15, 2006 11:09 am
by Patmals
Hi Mike (again)
Sorry but i tried it again and now i am getting this error message:
"
Could not open file.
Error details:
read error in line 6. In code c:\Documents and Settings\Mike Clifton\My Documents\Develop\lm_tree\lib_moho\mohodoc.cpp, line229.
"
I tried the older script for moho but still it would import files..
Another user reported this error in the report bugs forum.. he has the same version of photoshop so i pointed him to this thread.
Possible FIX
Posted: Tue Oct 17, 2006 10:11 pm
by relik
See here for details. Photoshop CS doesn't support the script commands to convert measurements to pixels. It appears to be a CS2 addition to the javascript.
http://www.lostmarble.com/forum/viewtop ... 9075#29075
Waiting on mod to tell me if I can upload the fixed code since it was shipped with the app.-R
Posted: Wed Oct 18, 2006 6:09 am
by Patmals
Thank you Relik!
I replied to your other similar reply in another post.
Posted: Wed May 16, 2007 7:01 pm
by Mikdog
where is this script?