Re: script changes
Re: script changes
- Subject: Re: script changes
- From: Paul Skinner <email@hidden>
- Date: Thu, 28 Aug 2003 20:15:42 -0400
It compiles as ...
tell application "Adobe Photoshop 7.0"
set imgMRef to duplicate imgRef
resize image imgMRef height HeightM width WidthM
filter every layer of imgMRef using unsharp mask with options
{amount:150, radius:0.5, threshold:0}
save imgMRef in file (folderPath & FileNameM) as PICT file with
options SaveOptions appending no extension without copying
close document FileNameM saving no
end tell
...here.
You've apparently lost the Photoshop 7.0 Scripting plug-in plugin.
<
http://www.adobe.com/support/downloads/detail.jsp?ftpID=1535>
That causes the script to compile with raw codes instead of their
english equivalents.
PS
On Thursday, August 28, 2003, at 06:52 PM, Landis wrote:
I haven't been following anything in the AS community for almost a
year now, so please forgive me if this has been answered before, > but...
I've got several scripts that I worked a long time on under OS 9 and
AS 1.6 (I think). Now I'm running OS X and AS 1.9.1 and am trying to
update and use these scripts again. But they seem to have changed
quite a bit when I open them in the OS X script editor and I can't
make heads or tails of it. Any suggestions?
Here's an example from the middle of a script that uses Photoshop 7
set imgMRef to duplicate imgRef
+event 8BIMRzIm; imgMRef given +class Hght;:HeightM, +class
Wdth;:WidthM
+event PFtsApft; every +class cLyr; of imgMRef given -->
+class Usng;:+class F025;, +class FmOp;:{+class Amnt;:150, -->
+class Radi;:0.5, +class Thld;:0}
save imgMRef in file (FolderPath & FileNameM) as +constant SvFme010;
-->
without +class SaCp; given +class FmOp;:SaveOptions, -->
+class DcXt;:+constant e300e303;
close document FileNameM saving +constant e400no ;
I've used the (-->) characters to show continuous lines.
I wrote this in "normal" AppleScript, what's up with this (the codes
between << and >>)? How do I get my old script back, and what's the
best way to make it work again?
Thanks,
Landis
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.