Differences between Corel PHOTO-PAINT 7 and 8 script commands

Legend:

Parameter - Added parameter
Parameter - Removed parameter

Changed Commands:

  • Sub ImageRotate(Angle AS LongDouble, Clip AS Boolean, AntiAlias AS Boolean, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub MaskGrow(AntiAlias AS Boolean, MaskVisible AS Boolean, ToleranceMode AS Long, Normal AS Long, Hue AS Long, Saturation AS Long, Brightness AS Long)
  • Sub MaskSimilar(AntiAlias AS Boolean, MaskVisible AS Boolean, ToleranceMode AS Long, Normal AS Long, Hue AS Long, Saturation AS Long, Brightness AS Long)
  • Sub ObjectAlign(Horizontal AS Long, Vertical AS Long, Center AS Boolean, Grid AS Boolean, Active AS Boolean, Selected AS Boolean, DistributeBounds AS Boolean, HorizontalAlign AS Boolean, VerticalAlign AS Boolean)
  • Sub FileNew(Width AS Long, Height AS Long, Type AS Long, HRes AS Long, VRes AS Long, PartialFile AS Boolean, MovieFile AS Boolean, NumberFrames AS Long, Left AS Long, Top AS Long, Right AS Long, Bottom AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long, Background AS Boolean)
  • Sub StartDraw(ptX AS Long, ptY AS Long, Timer AS Long, Pressure AS Long, Tilt AS Long, Rotate AS Long)
  • Sub ContinueDraw(ptX AS Long, ptY AS Long, Timer AS Long, Pressure AS Long, Tilt AS Long, Rotate AS Long)
  • Sub MaskMagicWand(ptX AS Long, ptY AS Long, DrawMode AS Long, AntiAlias AS Boolean, MaskVisible AS Boolean, ToleranceMode AS Long, Normal AS Long, Hue AS Long, Saturation AS Long, Brightness AS Long)
  • Sub MaskRotate(XCenter AS Long, YCenter AS Long, Angle AS LongDouble, AntiAlias AS Boolean)
  • Sub MaskSkew(HorzAngle AS Long, VertAngle AS Long, HorizontalAngle AS Double, VerticalAngle AS Double, AntiAlias AS Boolean)
  • Sub ObjectRotate(XCenter AS Long, YCenter AS Long, Angle AS LongDouble, AntiAlias AS Boolean, Copy AS Boolean)
  • Sub ObjectSkew(HorzAngle AS Long, VertAngle AS Long, HorizontalAngle AS Double, VerticalAngle AS Double, AntiAlias AS Boolean, Copy AS Boolean)
  • Sub ObjectVisible(ObjectID AS Long, StartIndex AS Long, EndIndex AS Long, Visible AS Boolean)
  • Sub BrushTextureSettings(TextureFile AS String, BrushTexture AS Long, EdgeTexture AS Long, Bleed AS Long, SustainColor AS Long, Smoothing AS Long, AntiAlias AS Boolean, Cumulative AS Boolean, Range AS Long, MergedSource AS Boolean)
  • Sub ColorMaskCreateMask(DrawMode AS Long, MaskMode AS Long, Smoothing AS Long, ToleranceMode AS Long, Gamut AS Boolean, Threshold AS Long, BrightnessModel AS Long)
  • Sub FillBitmap(BitmapName AS String, Width AS Long, Height AS Long, Xoffset AS Long, Yoffset AS Long, TileColumn AS Boolean, TileOffset AS Long, MaintainAspect AS Boolean, Scale AS Boolean, OriginalSize AS Boolean, SkewAngle AS Long, RotateAngle AS Long)
  • Sub PressureSettings(Size AS Long, Transparency AS Long, Softness AS Long, Hue AS Long, Saturation AS Long, Brightness AS Long, Texture AS Long, Bleed AS Long, Resaturate AS Long, Mask AS Long, Elongation AS Long)
  • Sub MaskLasso(DrawMode AS Long, AntiAlias AS LongBoolean, MaskVisible AS Boolean)
  • Sub StartCloneDraw(SrcPtX AS Long, SrcPtY AS Long, DestPtX AS Long, DestPtY AS Long, Timer AS Long, Pressure AS Long, Tilt AS Long, Rotate AS Long)
  • Sub EffectEdgeDetect(Color AS Long, Sensitivity AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectOffset(Horizontal AS Long, Vertical AS Long, Shift AS Boolean, Edges AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectPuzzle(Width AS Long, Height AS Long, Offset AS Long, Fill AS Long, RandSeed AS Long, ColorModel AS Long, Color1 AS Long,
  • Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub ColorMaskCreateChannel(MaskMode AS Long, Smoothing AS Long, ToleranceMode AS Long, Gamut AS Boolean, Threshold AS Long, BrightnessModel AS Long, Name AS String)
  • Sub EffectEmboss(Depth AS Long, Level AS Long, Direction AS Long, Color AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectGaussianBlur(Radius AS LongDouble)
  • Sub EffectLensFlare(X AS LongDouble, Y AS LongDouble, Brightness AS Long, LensType AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectLightSource(Index AS Long, X AS Double, Y AS Double, Type AS Long, Height AS Long, Direction AS Long, Elevation AS Long, Intensity AS Long, Aperture AS Long, Focus AS Long, Whiteness AS Long, Exposure AS Long, Channel AS Long, Depth AS Long, Contrast AS Long, Red AS Long, Green AS Long, Blue AS Long, Switch AS Long)
  • Sub EffectMapToObject(Mode AS Long, Percentage AS Long, Quality AS Long)
  • Sub EffectPinchPunch(Level AS Long, CenterX AS Long, CenterY AS Long)
  • Sub EffectRipple(Period AS Long, Amplitude AS Long, Angle AS Long, Distort AS Boolean, Mode AS Long)
  • Sub EffectShear(Scale AS Long, Border AS Long, Orientation AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectSmokedGlass(Tint AS Long, Percent AS Long, PaintColor AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectSwirl(Angle AS Long, CenterX AS Long, CenterY AS Long)
  • Sub EffectUnsharpMask(Radius AS Long, Percentage AS Long, Threshold AS Long)
  • Sub EffectVignette(Color AS Long, Shape AS Long, Offset AS Long, Fade AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectZigZag(PeriodWaves AS Long, Strength AS Long, Damping AS Long, Type AS Long, CenterX AS Long, CenterY AS Long)
  • Sub FilterJPG(Quality AS Long, Progressive AS Long, Smoothing AS Long, SubFormat AS Long, Optimized AS Long)
  • Sub FilterWVL(Quality AS Long, Speed AS Long, Path AS Long, Contrast AS Long, Edge AS Long)
  • Sub Gradient(Type AS Long, Handles AS Long, X1 AS Long, Y1 AS Long, X2 AS Long, Y2 AS Long, X3 AS Long, Y3 AS Long, MarkerPos AS Long)
  • Sub GradientTool(Style AS Long, MergeMode AS Long, Transparency AS Long, Handles AS Long)
  • Sub ImageReplaceColors(OrgH AS Long, OrgS AS Long, OrgL AS Long, DestH AS Long, DestS AS Long, DestL AS Long, TypeIn AS Long, Comp1In AS Long, Comp2In AS Long, Comp3In AS Long, Comp4In AS Long, TypeOut AS Long, Comp1Out AS Long, Comp2Out AS Long, Comp3Out AS Long, Comp4Out AS Long, Range AS Long, IgnoreGrayscale AS Boolean, SingleColor AS Boolean)
  • Sub MaskScissors(DrawMode AS Long, Feather AS Long, AntiAlias AS LongBoolean, MaskVisible AS Boolean)
  • Sub ObjectDropShadow(Mode AS Boolean, Direction AS Long, Horizontal AS Long, Vertical AS Long, Distance AS Long, Feather AS Long, Type AS Long, Edges AS Long, Opacity AS Long, Relative AS Boolean, LightAngle AS Long, Fade AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub ObjectNew(Name AS String, Opacity AS Long, MergeMode AS Long)
  • Sub ObjectTransparencyTool(Start AS Long, End AS Long, UseOriginal AS Boolean, Handles AS Long, ApplyToClipMask AS Boolean)
  • Sub PathLoad(PathName AS String, ScaleX AS Double, ScaleY AS Double)
  • Sub RepeatSettings(Repeat AS Long, Rotate AS Long, RotateVar AS Long, ColorFromImage AS Long, Hue AS Long, Lightness AS Long, Saturation AS Long, AccummulateAngle AS Long, TangentToPath AS Long, Scale AS Long, ScaleVar AS Long, StrokePath AS Long, FromMask AS Boolean, Left AS Long, Top AS Long, Right AS Long, Bottom AS Long)
  • Sub TransparencyBrushTool(Width AS Long, Flatten AS Long, Rotate AS Long, NibShape AS Long, Transparency AS Long, SoftEdge AS Long, Opacity AS Long, UseOriginal AS Boolean, AntiAlias AS Boolean, ApplyToClipMask AS Boolean)

New Commands:

  • Sub AlphaOrder(CurrentIndex AS Long, NewIndex AS Long)
  • Sub ChannelNew(Name AS String, Opacity AS Long, Invert AS Long, FillWhite AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub ChannelProperties(ChannelID AS Long, Name AS String, Opacity AS Long, Invert AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub CreateBackground(ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EditCopyVisible()
  • Sub EffectGlass(Angle AS Long, BevelWidth AS Long, Brightness AS Long, Direction AS Long, Dropoff AS Long, Opacity AS Long, Refraction AS Long, Sharpness AS Long, Smooth AS Long, ColorModel AS Long, Color1 AS Long, Color2 AS Long, Color3 AS Long, Color4 AS Long)
  • Sub EffectRemoveMoire(Level AS Long, Mode AS Long, FinalRes AS Long, OrginalRes AS Long)
  • Sub EffectTheBoss(Angle AS Long, BevelWidth AS Long, BevelHeight AS Long, Brightness AS Long, Direction AS Long, Dropoff AS Long, Sharpness AS Long, Smooth AS Long)
  • Sub EndMovieFrameRate()
  • Sub EndObjectColorTransparencyTool()
  • Sub FadeLastCommand()
  • Sub FilterAVI(Handler AS Long, KeyFrame AS Long, Quality AS Long, BPS AS Long, Flags AS Long, Interleave AS Long)
  • Sub FilterFPX(Compression AS Long, Decimation AS Long, Quality AS Long)
  • Sub FilterICO(Transparent AS Long, Inverse AS Long)
  • Sub FilterMPG(Emphasis AS Long, Quality AS Long, Audio AS Boolean, Video AS Boolean, System AS Boolean)
  • Sub FilterPCD(Resolution AS Long, Color AS Long)
  • Sub FilterRAW(Format AS Long, Type AS Long, Width AS Long, Height AS Long, BitCount AS Long, Header AS Long, Mask AS Long, PaletteType AS Long, Location AS Long, Entries AS Long)
  • Sub GetObjectProperties(ObjectID AS Long, Name AS String, Opacity AS Long, MergeMode AS Long, Visible AS Boolean, Clipped AS Boolean, Enabled AS Boolean, Linked AS Boolean)
  • Sub ImageConvertVideoNTSC()
  • Sub ImageDeskewCrop(Angle AS Double, Width AS Long, Height AS Long, PointX AS Long, PointY AS Long)
  • Sub ImageHSLChannel(Channel AS Long, Hue AS Long, Saturation AS Long, Lightness AS Long)
  • Sub ImageSelectiveColor(Mode AS Long)
  • Sub ImageSelectiveColorChannel(Channel AS Long, Cyan AS Long, Magenta AS Long, Yellow AS Long, Black AS Long)
  • Sub MaskAlign(Horizontal AS Long, Vertical AS Long, Center AS Boolean, Grid AS Boolean, ActiveObject AS Boolean, SelectedObject AS Boolean, Background AS Boolean)
  • Sub MovieFrameDelay(StartFrame AS Long, EndFrame AS Long, Delay AS Long)
  • Sub MovieFrameRate(Frames AS Long)
  • Sub ObjectAddClipMask(Value AS Long)
  • Sub ObjectAddClipMaskFromMask(Inverted AS Boolean)
  • Sub ObjectAddClipMaskFromTransparency()
  • Sub ObjectClipToParent(ObjectID AS Long, Clip AS Boolean)
  • Sub ObjectColorTransparencyPoint(Index AS Long, ptX AS Long, ptY AS Long)
  • Sub ObjectColorTransparencyTool(ToleranceMode AS Long, ApplyToClipMask AS Boolean, Smoothing AS Long)
  • Sub ObjectCreateFromBackground()
  • Sub ObjectProperties(ObjectID AS Long, Name AS String, Opacity AS Long, MergeMode AS Long, Visible AS Boolean, Clip AS Boolean, Enable AS Boolean, Link AS Boolean)
  • Sub ObjectRemoveClipMask(Apply AS Boolean)
  • Sub ObjectToggleClipMask(Clip AS Boolean)
  • Sub ObjectToggleLinkClipMask(ObjectID AS Long, Link AS Boolean)
  • Sub PathImportVector(FileName AS String, ScaleX AS Double, ScaleY AS Double)
  • Sub SymmetrySettings(CenterX AS Long, CenterY AS Long, Mode AS Long, NumPoints AS Long)

Removed Commands:

  • Sub ColorMaskLoad(FileName AS String)
  • Sub ColorMaskRemove()
  • Sub ColorMaskSave(FileName AS String)
  • Sub EditLayerObject(Mode AS Long)

[ CorelSCRIPT commands | Learning CorelSCRIPT | DTP & Graphics | Oberon Home Page ]

Copyright 2000 by Alex Vakulenko. All rights reserved.
This page was last revised on 01/13/00.