PS CS6 Scripted Pattern Fill Problem

Hi,
Has any one seen this before?
When i do a normal Fill with Pattern the pattern is the right colour, image (1)
But if i select Scripted Patterns Image (2) it always comes out with random colours.

There is also a scripted UI for these scripts http://uebelephoto.com/CS6_Fill.html
Scripted Fill UI v 1.2 for Photoshop CS6
This script creates a User Interface for changing the variables in Photoshop CS6's new scripted fills, so the average user does not have to edit Photoshop's fill scripts. There is a readme file included with the zip download that describes the script in more detail and how to use it. This script is free and can be modified for your own use, but it can not be modified for resale.
This script is a work in progress and there are some bugs with it, which I will attempt to fix as time permits.
Updated 5/1/2012
I do not use it nor do I understand its UI

Similar Messages

  • Wierd pixelated output from scripted pattern fill

    Hey guys,
    so I've got a problem with Photoshop CC 2014 on Mac OSX 10.9.4  - everytime I try to use the scripted pattern fill I get this really wierd pixelated output from it, rather than a pattern.  This happens whether I'm using the new tree generator, or just a regular scripted pattern - like the random fill.   I've included a screengrab here of what it looks like.  It doesn't matter what settings I use for the fill, but everytime I use it I get this.  It's really wierd, not to mention slowing me down on a couple of jobs I've got on too >_<
    Any ideas?  Has anyone come across anything like this before?
    Thanks in advance!

    I'm not seeing that on Windows

  • Scripted pattern fill broken in last 2014 update?

    Is there something wrong with my last october 2014 update? The scripted scripted pattern fill no longer works as it should...
    Win 7 64 Pro.

    1. It has less items than in earlier version eg no trees
    2. It fills the subject with the "standard" fills not the chosen scripted fill. For instance if I choose bricks I get the bubbles with more or less faint outlines of what could be vaguely recognised as bricks.   

  • The Scripted Pattern Fill for "Tree" is missing - the others are there.  What happened?  Please help.

    When I go to Edit > Fill and choose "Pattern".  I check the "Script: box and click the drop-down arrow.  The following display:  Brick Fill / Cross Weave / Place Along Path / Random Fill / Spiral /
    Symmetry Fill ------ but NOT Tree.
    What is wrong?  I've reset everything - still no Tree.
    Please help.
    Thank you

    Silkrooster - you did the job !   Thank you so very much.
    Of course, this brings me to another question if you don't mind answering.  Is there some place I can look when updates come up in Cloud for me to "update" that I can read about each change?  I see this sort of situation happens often for me and I would like to be able to try to find answers on my own instead of asking each time.  (This way, I'd help myself learn the program too.)  I know you have an online manual - but the content is not alphabetized which makes it very time-consuming to sift through. 
    I am seriously deficient in "tech" type stuff and a simple, alphabetized content somewhere would be so very much help.  Maybe you have it and I just don't know where to look.
    Thanks again for telling me about the Tree pattern being moved.  YEAH !!

  • Illustrator CS6 - colours in pattern fill print differently when expanded

    The colours of a pattern fill print very differently when it is expanded.
    All the colours in the pattern swatch are CMYK. They look identical on screen when the pattern fill is expanded.
    When printed, the mustard yellow, the appley-lime green, and the purpley-grey look completely different.
    I'm using CS6 Illustrator, FOGRA39. I'm wondering if this is a printer issue maybe?
    This is really frustrating and very worrying as I use pattern swatches a lot, and colours need to stay the same as they are approved.
    I've found this thread and another one from 2010 with what sounds like the same issue (Pattern Swatch Colours) but neither have been resolved.
    Please help if you have any ideas!

    Why do my pattern swatch colours print differently to rest of my artwork
    Yes it is a postscript printer. I'm sorry, I can't show images as the design is confidential - but if you click on the link above, this person has photos of the same problem.
    I could put together a generic pattern swatch in the same colour and take a photo of the print out, if that helps.

  • I am using Photoshop CC2014 15.00.  In the pop-up menu for the Fill command there is a place for Scripted patterns.  Within that part, the tree and the picture frame are grayed. Why?   I've seen demonstrations on how to use the feature but mine doesn't wo

    I am using Photoshop CC2014 15.00.  In the pop-up menu for the Fill command there is a place for Scripted patterns.  Within that part, the tree and the picture frame are grayed.
    Why?   I've seen demonstrations on how to use the feature but mine doesn't work.  I checked the updates and I have the current version.
    Thanks.      LM

    I am running CC 2014.2.1 and I've updated to Yosemite. Not seeing tree or frame as an option in the menu. Coworker still on Mavericks has it.

  • Why do I keep getting Error 519: Server interface error" - Server interface error "no component returned from creativewidget' Line: 479 - var test = parent.add('statictext', undefined, text)  when I try to use pattern fill/scripted patterns.  I have unin

    Why do I keep getting Error 519: Server interface error" - Server interface error "no component returned from creativewidget' Line: 479 -> var test = parent.add('statictext', undefined, text)  when I try to use pattern fill/scripted patterns.  I have uninstalled and re-installed PS CC.  I have opened holding down shift to disable third party plug-ins.  I have moved 3rd party plugins to a temp location outside of ps and it still doesn't help.  It worked once, and only once and now won't work at all.

    Unless your Photoshop question has to do with a download/install error, you should ask in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Unable to find scripted patterns in edit fill patterns (trees, e.g.)

    Unable to find scripted patterns in edit>fill>patterns (trees, e.g.) as demo'd in Adobe tutorial. Using PS CC 2014 (latest) and Yosemite. My dialog box doesn't match that shown. Any help? Thanks.

    You posted this in the Lightroom forum.  You're more likely to get help if you repost in the Photoshop forum.

  • Photoshop "Fill" Dialog Box is missing "Scripted Pattern" option..

    Photoshop "Fill" Dialog Box (using the most current Creative Cloud) is missing "Scripted Pattern" option which is supposed to be at the very bottom.  Instead, in the middle of the box I have the option to check the word "Script" which brings up only six fill patterns (such as Brick, Sprial, etc).  In the tutorials I see that by using Scripted Patterns (the tree option for one) brings up many, many choices.

    Big changes made in Fill between CC and CC 2014.  CC Fill dialog on top CC2014 Fill dialog bottom. Picture Frame and Tree moved from Fill to Render Filter and new Flame pattern added into render filter grouped with Picture Frame and Tree.

  • Script patterns and fills

    I need to crop images unto another background. Does photoshop elements 12 have the script patterns and fills.  If not, will I be able to use any other backgrounds from another application, i.e, powerpoint or web images?

    From the version number you gave, I'm guess you have Photoshop CC 2014. The full version is 2014.2.2
    The Scripted Patterns are under Filter menu > Render
    If you are still using Photoshop CC  (14.2.1) then here's where you would access the scripted patterns under Edit > Fill

  • Problem with pattern fills

    I have a black and white pattern fill (black dots on a white background). When I fill objects with it and put a sheet color behind them, sometimes the fill is translucent (meaning the color shows where the white is supposed to), but sometimes it is correctly opaque. I've tried filling the translucent objects with the opaque fills with no success. Any ideas??

    HOw do you generate the color behind the object?
    is it a rectangle filled with the color?
    if so, check if the pattern object is set to multiply , see transparency panel.

  • My scripted pattern don't show up in Edit fill

    I have photoshop CC and have seen the videos and can not access frames or trees... and they never show up in Pattern fills as the third option.

    Adobe Photoshop Version: 2014.2.2 20141204.r.310 2014/12/04:23:59:59 CL 994532  x64
    Operating System: Mac OS 10.10.2
    System architecture: Intel CPU Family:6, Model:23, Stepping:10 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1
    Physical processor count: 2
    Processor speed: 2400 MHz
    Built-in memory: 4096 MB
    Free memory: 1829 MB
    Memory available to Photoshop: 3550 MB
    Memory used by Photoshop: 70 %
    3D Multitone Printing: Disabled.
    Windows 2x UI: Disabled.
    Highbeam: Enabled.
    Image tile size: 128K
    Image cache levels: 4
    Font Preview: Medium
    TextComposer: Latin
    Display: 1
    Main Display
    Display Bounds: top=0, left=0, bottom=800, right=1280
    OpenGL Drawing: Enabled.
    OpenGL Allow Old GPUs: Not Detected.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    AIFCoreInitialized=1
    AIFOGLInitialized=1
    OGLContextCreated=1
    NumGLGPUs=1
    NumCLGPUs=1
    glgpu[0].GLVersion="2.1"
    glgpu[0].GLMemoryMB=256
    glgpu[0].GLName="NVIDIA GeForce 320M OpenGL Engine"
    glgpu[0].GLVendor="NVIDIA Corporation"
    glgpu[0].GLVendorID=4318
    glgpu[0].GLRectTextureSize=8192
    glgpu[0].GLRenderer="NVIDIA GeForce 320M OpenGL Engine"
    glgpu[0].GLRendererID=16918042
    glgpu[0].HasGLNPOTSupport=1
    glgpu[0].CanCompileProgramGLSL=1
    glgpu[0].GLFrameBufferOK=1
    glgpu[0].glGetString[GL_SHADING_LANGUAGE_VERSION]="1.20"
    glgpu[0].glGetProgramivARB[GL_FRAGMENT_PROGRAM_ARB][GL_MAX_PROGRAM_INSTRUCTIONS_ARB]=[1638 4]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_UNITS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_TEXTURE_IMAGE_UNITS]=[16]
    glgpu[0].glGetIntegerv[GL_MAX_DRAW_BUFFERS]=[8]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_UNIFORM_COMPONENTS]=[4096]
    glgpu[0].glGetIntegerv[GL_MAX_FRAGMENT_UNIFORM_COMPONENTS]=[2048]
    glgpu[0].glGetIntegerv[GL_MAX_VARYING_FLOATS]=[60]
    glgpu[0].glGetIntegerv[GL_MAX_VERTEX_ATTRIBS]=[16]
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_PROGRAM]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_FRAGMENT_SHADER]=1
    glgpu[0].extension[AIF::OGL::GL_EXT_FRAMEBUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_RECTANGLE]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_TEXTURE_FLOAT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_OCCLUSION_QUERY]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_VERTEX_BUFFER_OBJECT]=1
    glgpu[0].extension[AIF::OGL::GL_ARB_SHADER_TEXTURE_LOD]=1
    clgpu[0].CLPlatformVersion="1.2 (Dec 14 2014 22:29:47)"
    clgpu[0].CLDeviceVersion="1.0 "
    clgpu[0].CLMemoryMB=256
    clgpu[0].CLName="GeForce 320M"
    clgpu[0].CLVendor="NVIDIA"
    clgpu[0].CLVendorID=16918016
    clgpu[0].CLDriverVersion="10.0.19 310.90.10.05b12"
    clgpu[0].CUDASupported=0
    clgpu[0].CLBandwidth=4.81995e+09
    License Type: Subscription
    Serial number: 96040105896555987214
    Application folder: /Applications/Adobe Photoshop CC 2014/
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 232.1G, 47.5G free
    Required Plug-ins folder: /Applications/Adobe Photoshop CC 2014/Adobe Photoshop CC 2014.app/Contents/Required/Plug-Ins/
    Primary Plug-ins folder: /Applications/Adobe Photoshop CC 2014/Plug-Ins/
    Installed components:
       adbeape.framework   adbeape   3.4.0.29366   0.1160850
       AdbePM.framework   AdbePM   2.2.00.32695   79.558079
       AdbeScriptUIFlex.framework   AdbeScriptUIFlex   6.3.2.32394   79.550992
       adobe_caps.framework   adobe_caps   8.0.0.13   1.248010
       AdobeACE.framework   AdobeACE   2.20.02.33308   79.557478
       AdobeAGM.framework   AdobeAGM   4.30.41.33308   79.557478
       AdobeAXE8SharedExpat.framework   AdobeAXE8SharedExpat   3.8.0.32260   79.551013
       AdobeAXEDOMCore.framework   AdobeAXEDOMCore   3.8.0.32260   79.551013
       AdobeBIB.framework   AdobeBIB   1.2.03.33308   79.557478
       AdobeBIBUtils.framework   AdobeBIBUtils   1.1.01   79.557478
       AdobeCoolType.framework   AdobeCoolType   5.15.00.33308   79.557478
       AdobeCrashReporter.framework   AdobeCrashReporter   7.0.1  
       AdobeExtendScript.framework   AdobeExtendScript   4.5.5.32401   79.551519
       AdobeJP2K.framework   AdobeJP2K   1.2.2.33078   79.254012
       AdobeLinguistic.framework      20256  
       AdobeMPS.framework   AdobeMPS   5.8.1.33340   79.557676
       AdobeOwl.framework   AdobeOwl   5.2.4  
       AdobePDFL.framework   AdobePDFL   11.0.0.33336   79.512424
       AdobePDFSettings.framework   AdobePDFSettings   1.4  
       AdobePIP.framework   AdobePIP   7.2.1.3399  
       AdobeScCore.framework   AdobeScCore   4.5.5.32401   79.551519
       AdobeUpdater.framework   AdobeUpdater   6.0.0.1452   "52.338651"
       AdobeXMP.framework   AdobeXMPCore   79.156797   79.156797
       AdobeXMPFiles.framework   AdobeXMPFiles   79.156797   79.156797
       AdobeXMPScript.framework   AdobeXMPScript   79.156797   79.156797
       ahclient.framework   ahclient   1.8.0.31  
       aif_core.framework   AdobeAIF   2014.0.00   2014.0
       aif_ocl.framework   AdobeAIF   2014.0.00   2014.0
       aif_ogl.framework   AdobeAIF   2014.0.00   2014.0
       amtlib.framework   amtlib   8.0.0.122  
       boost_date_time.framework   boost_date_time   8.0.0.0  
       boost_signals.framework   boost_signals   8.0.0.0  
       boost_system.framework   boost_system   8.0.0.0  
       boost_threads.framework   boost_threads   8.0.0.0  
       Cg.framework   NVIDIA Cg     
       CIT.framework   CIT   2.2.6.32411   155804
       CITThreading.framework   CITThreading_boost   2.2.6.32411   155804
       dvaaudiodevice.framework   dvaaudiodevice   8.0.0.0  
       dvacore.framework   dvacore   8.0.0.0  
       dvamarshal.framework   dvamarshal   8.0.0.0  
       dvamediatypes.framework   dvamediatypes   8.0.0.0  
       dvametadata.framework   dvametadata   8.0.0.0  
       dvametadataapi.framework   dvametadataapi   8.0.0.0  
       dvametadataUI.framework   dvametadataUI   8.0.0.0  
       dvaplayer.framework   dvaplayer   8.0.0.0  
       dvatransport.framework   dvatransport   8.0.0.0  
       dvaui.framework   dvaui   8.0.0.0  
       dvaunittesting.framework   dvaunittesting   8.0.0.0  
       dynamiclink.framework   dynamiclink   8.0.0.0  
       ICUConverter.framework   ICUConverter   3.61   "gtlib_3.0" "." "16615"
       ICUData.framework   ICUData   3.61   "gtlib_3.0" "." "16615"
       LogSession.framework   LogSession   7.2.1.3399  
       mediacoreif.framework   mediacoreif   8.0.0.0  
       PlugPlugExternalObject.framework      5.0.0.62  
       PlugPlugOwl.framework   PlugPlugOwl   5.2.0.54  
       UpdaterNotifications.framework   UpdaterNotifications   8.0.0.14   "8.0.0.14"
       WRServices.framework        
    Required plug-ins:
       3D Studio 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Accented Edges 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Adaptive Wide Angle 15.2.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Adaptive Wide Angle.plugin”
       Angled Strokes 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Average 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “Average.plugin”
       Bas Relief 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       BMP 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Camera Raw 8.7.1 (311), Copyright © 2014 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Camera Raw Filter 8.7.1 (311), Copyright © 2014 Adobe Systems Incorporated - from the file “Camera Raw.plugin”
       Chalk & Charcoal 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Charcoal 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Chrome 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Cineon 2014.2.2 x001 x003  ©2002-2014 Adobe Systems Incorporated - from the file “Cineon.plugin”
       Clouds 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Collada DAE 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Color Halftone 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Colored Pencil 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       CompuServe GIF 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Conté Crayon 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Craquelure 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crop and Straighten Photos 2014.2.2 x001 x003  ©2003-2014 Adobe Systems Incorporated - from the file “CropPhotosAuto.plugin”
       Crop and Straighten Photos Filter 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Crosshatch 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Crystallize 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Cutout 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Dark Strokes 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       De-Interlace 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dicom 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “dicom.plugin”
       Difference Clouds 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “Clouds.plugin”
       Diffuse Glow 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Displace 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Dry Brush 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Eazel Acquire 2014.2.2 x001 x003  ©1997-2014 Adobe Systems Incorporated - from the file “EazelAcquire.plugin”
       Embed Watermark NO VERSION - from the file “DigiSign.plugin”
       Entropy 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Export Color Lookup Tables 2014.2.2 x001 x003  �2012-2014 Adobe Systems Incorporated - from the file “Export3DLUT.plugin”
       Extrude 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       FastCore Routines 2014.2.2 x001 x003  ©1990-2014 Adobe Systems Incorporated - from the file “FastCore.plugin”
       Fibers 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Film Grain 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Filter Gallery 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Flash 3D 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Fresco 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glass 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Glowing Edges 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Google Earth 4 KMZ 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Grain 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Graphic Pen 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Halftone Pattern 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       HDRMergeUI 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “HDRMergeUI.plugin”
       HSB/HSL 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       IFF Format 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       IGES 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Ink Outlines 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       JPEG 2000 2014.2.2 x001 x003  ©2001-2014 Adobe Systems Incorporated - from the file “JPEG2000.plugin”
       Kurtosis 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Lens Blur 15.2.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Blur.plugin”
       Lens Correction 15.2.2, Copyright © 2002-2014 Adobe Systems Incorporated - from the file “Lens Correct.plugin”
       Lens Flare 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Liquify 15.2.2, Copyright © 2001-2014 Adobe Systems Incorporated - from the file “Liquify.plugin”
       Matlab Operation 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Maximum 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mean 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Measurement Core 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “MeasurementCore.plugin”
       Median 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Mezzotint 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Minimum 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       MMXCore Routines 2014.2.2 x001 x003  ©1990-2014 Adobe Systems Incorporated - from the file “MMXCore.plugin”
       Mosaic Tiles 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Multiprocessor Support 2014.2.2 x001 x003  ©1990-2014 Adobe Systems Incorporated - from the file “MultiProcessor Support.plugin”
       Neon Glow 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Note Paper 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       NTSC Colors 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “NTSC Colors.plugin”
       Ocean Ripple 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       OpenEXR 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Paint Daubs 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Palette Knife 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Patchwork 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Paths to Illustrator 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       PCX 2014.2.2 x001 x003  ©1989-2014 Adobe Systems Incorporated - from the file “PCX.plugin”
       Photocopy 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Photoshop 3D Engine 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “Photoshop3DEngine.plugin”
       Photoshop Touch CC 2014 (15.2.2.0) ©1993-2014 Adobe Systems Incorporated - from the file “PSDX.plugin”
       Picture Package Filter 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “ChannelPort.plugin”
       Pinch 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pixar 2014.2.2 x001 x003  ©1989-2014 Adobe Systems Incorporated - from the file “Pixar.plugin”
       Plaster 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Plastic Wrap 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       PLY 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       PNG 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Pointillize 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Polar Coordinates 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Portable Bit Map 2014.2.2 x001 x003  ©1989-2014 Adobe Systems Incorporated - from the file “PBM.plugin”
       Poster Edges 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       PRC 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Radial Blur 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Radiance 2014.2.2 x001 x003  ©2003-2014 Adobe Systems Incorporated - from the file “Radiance.plugin”
       Range 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Read Watermark NO VERSION - from the file “DigiRead.plugin”
       Render Color Lookup Grid 2014.2.2 x001 x003  �2012-2014 Adobe Systems Incorporated - from the file “Export3DLUT.plugin”
       Reticulation 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Ripple 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Rough Pastels 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Save for Web 15.2.2, Copyright © 1999-2014 Adobe Systems Incorporated - from the file “Save for Web.plugin”
       ScriptingSupport 15.2.2, Copyright © 2014 Adobe Systems Incorporated - from the file “ScriptingSupport.plugin”
       Shake Reduction 15.2.2, Copyright © 2014 Adobe Systems Incorporated - from the file “Shake Reduction.plugin”
       Shear 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Skewness 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Smart Blur 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Smudge Stick 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Solarize 2014.2.2 x001 x003  ©1993-2014 Adobe Systems Incorporated - from the file “Solarize.plugin”
       Spatter 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Spherize 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Sponge 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Sprayed Strokes 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stained Glass 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Stamp 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Standard Deviation 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       STL 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Sumi-e 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Summation 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Targa 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Texturizer 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Tiles 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Torn Edges 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Twirl 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       U3D 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Underpainting 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Vanishing Point 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “VanishingPoint.plugin”
       Variance 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “statistics.plugin”
       Virtual Reality Modeling Language | VRML 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Water Paper 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Watercolor 15.2.2, Copyright © 1991-2014 Adobe Systems Incorporated - from the file “Filter Gallery.plugin”
       Wave 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wavefront|OBJ 2014.2.2 x001 x003  ©2006-2014 Adobe Systems Incorporated - from the file “U3D.plugin”
       Wind 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
       Wireless Bitmap 2014.2.2 x001 x003  ©1989-2014 Adobe Systems Incorporated - from the file “WBMP.plugin”
       ZigZag 15.2.2, Copyright © 2003-2014 Adobe Systems Incorporated - from the file “Standard Multiplugin.plugin”
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Libraries
       Adobe Color Themes
    Installed TWAIN devices: NONE

  • Scripting Problem with the Default SplitStory.vbs Schript. Windows Scripting Error No. 429, ActiveX-Component cannot create object: 'InDesign.Application", Engine: Default File: C:\Program Files (x86)\Adobe\Adobe InDesign CS6\Scripts\Scripts Panel\Samples

    On another PC it works. I can't find any difference in the script line 15. I could run the Script 1 time and the 2nd time it Show this error
    Set myInDesign = CreateObject("InDesign.Application")
    Rem Set the user interaction level to allow the display of dialog boxes and alerts.

    Hi
    delete the tbl file so it regenerates see Re: InDesign CS6 scripts don't work on CC anymore
    HTH
    Trevor

  • Issues with pattern fill in ps 6. Why is it making each tile a different color?

    HELP!!! I've used the Fill>Pattern to tile my seamless patterns tons of times and never had this issue. Suddenly , it started making each tile on the large canvas a different color when I apply Fill>Pattern. At first I thought it was a tip or guide to see the repeat edges , but it shows up in print preview too. What did I do and how do I correct it?

    Is this photoshop 6 or photoshop cs6?
    If it's cs6, check that you aren't using scripted patterns for the pattern fill.
    Also, check the blending mode and opacity in the fill dialog.

  • Additional scripted patterns

    Hi all,
    I am the developer of the Deco scripting engine that is used to create scripted patterns in Photoshop CS6. I would like to continue the interesting discussions and exchange of patterns and images that many of you started on the pre-release forum.
    If you go to the following page (link) you can get a brief overview of how to add new scripted patterns to Photoshop CS6.  Check out a few Deco scripts that create boundary patterns. The size of the boundary depends on the width
    of the input pattern – you want a wider boundary, create a wider pattern.
    Feel free to ask me any questions related to pattern scripting.
    Enjoy,
    Radomir

    Hi David, ok, running directly from the scripts this is the error I get;
    Error 2 : RenderAPI is undefined.
    Line 17
    ->var pattern = RenderAPI.getParameter(kps pattern);  //get pattern
    information.
    The other path script I have that works is ' specify varying sizes along path '... author unknown but Paul something rings a bell...here is that script;
    //Script Copyright 2012 by Richard Y. Kain. I am indebted to others who made predecessor
    //scripts that did not have varying copy sizes and varying copy spacing, which I added by
    //rewriting portions and resturcturing the information transferred among the two scripts.
    //This script for Photoshop CS6 displays the dialog window and eventually calls deco fill to
    //execute the script mentioned below.
    //The major feture is that the sizes of the pattern can vary progressively along the path, and
    //the spacing of the copies can be specified. This script invokes the script "Varying Path and Spacing"
    //that is called from the fill dialog to actually render the pattern copies.
    //The scripts should be located in the directory \presets\deco in the CS6 program files context.
    //This script should be invoked from Photoshop through the File>Scripts path
    #target photoshop
    app.bringToFront();
    main();
    function main(){
    var updated=false;
    if(!documents.length) return;
    //The following code (by someone else) constructs an alphabetic list of the patterns known to the fill dialog.
    var file = File(Folder.temp +"/deco.pat");
    if(file.exists) file.remove();
    savePatterns( file );
      file.open("r");
      file.encoding = 'BINARY';
      var str = file.read();
      file.close();
      var patterns=[];
      var rex = /(\x00\w|\x00\d)(\x00\-|\x00\w|\x00\s|\x00\d)\x00\x00\$[-a-z\d]/g;
      while ((result = rex.exec(str)) != null) {
       var sp = result[0].toString().replace(/\x00/g, '').split('$');
       var X = readInt16(str,(result.index(result[0].length)22));
       var Y = readInt16(str,(result.index(result[0].length)18));
        patterns.push([[sp[0]],[sp[1]],[X],[Y]]);     
    patterns=ReturnUniqueSortedList(patterns);
    file.remove();
    //The following code (by someone else, slightly modified by me) displays the dialog about the path fill
    var win = new Window( 'dialog', 'Path Fill' );
    g = win.graphics;
    var myBrush = g.newBrush(g.BrushType.SOLID_COLOR, );
    g.backgroundColor = myBrush;
    win.p1= win.add("panel", undefined, undefined, );
    win.g1 = win.p1.add('group');
    win.g1.orientation = "row";
    win.title = win.g1.add('statictext',undefined,'Path Fill');
    win.title.alignment="fill";
    var g = win.title.graphics;
    g.font = ScriptUI.newFont("Georgia","BOLDITALIC",22);
    win.g5 =win.p1.add('group');
    win.g5.orientation = "row";
    win.g5.alignment='fill';
    win.g5.spacing=10;
    win.g5.st1 = win.g5.add('statictext',undefined,'Spacing of pattern copies (as a percentage of its width): ');
    win.g5.st1.preferredSize=[340,20];
    win.g5.et1 = win.g5.add('edittext',undefined,'50');
    win.g5.et1.preferredSize=[50,20];
    win.g5.et1.onChanging = function() {
      if (this.text.match(/[^\-\.\d]/)) {
        this.text = this.text.replace(/[^\-\.\d]/g, '');
    win.g8 =win.p1.add('group');
    win.g8.orientation = "row";
    win.g8.alignment='fill';
    win.g8.spacing=10;
    win.g8.st1 = win.g8.add('statictext',undefined,'Final pattern size (as a percentage): ');
    win.g8.st1.preferredSize=[340,20];
    win.g8.et1 = win.g8.add('edittext',undefined,'10');
    win.g8.et1.preferredSize=[50,20];
    win.g8.et1.onChanging = function() {
      if (this.text.match(/[^\-\.\d]/)) {
        this.text = this.text.replace(/[^\-\.\d]/g, '');
    win.g10 =win.p1.add('group');
    win.g10.orientation = "row";
    win.g10.alignment='fill';
    win.g10.st1 = win.g10.add('statictext',undefined,'Please select Pattern:');
    win.g10.st1.preferredSize=[340,20];
    win.g10.dd1 = win.g10.add('dropdownlist');
    for(var p in patterns){win.g10.dd1.add('item',patterns[p][0]);}
    win.g10.dd1.selection=0;
    win.g10.dd1.onChange = function(){
    var str = patterns[win.g10.dd1.selection.index][0].toString() + " ( X = " ;
    str += Number(patterns[win.g10.dd1.selection.index][2]) + " Y = ";
    str += Number(patterns[win.g10.dd1.selection.index][3]) + ")";
    //win.g10.dd1.helpTip = str;
    win.g10.dd1.onChange();
    win.g15 =win.p1.add('group');
    win.g15.orientation = "row";
    win.g15.alignment='fill';
    var Blend = ['Normal','Dissolve','-','Darken','Multiply','Color Burn','Linear Burn','Darker Color','-','Lighten','Screen','Color Dodge',
        'Linear Dodge (Add)','Lighter Color','-','Overlay','Soft Light','Hard Light','Vivid Light','Linear Light', 'Pin Light','Hard Mix','-','Difference', 'Exclusion',
        'Subtract','Divide','-','Hue','Saturation','Color','Luminosity'];
    var bMode=['Nrml','Dslv','-','Drkn','Mltp','CBrn','linearBurn','darkerColor','-','Lghn', 'Scrn',
    'CDdg','linearDodge','lighterColor','-','Ovrl','SftL','HrdL','vividLight','linearLight','p inLight','hardMix','-',
    'Dfrn','Xclu','blendSubtraction','blendDivide','-','H   ','Strt','Clr ','Lmns'];
    win.g15.st1 = win.g15.add('statictext',undefined,'Blend Mode:');
    win.g15.st1.preferredSize=[340,20];
    win.g15.dd1 = win.g15.add('dropdownlist',undefined,Blend);
    win.g15.dd1.selection=0;
    win.g20 =win.p1.add('group');
    win.g20.orientation = "row";
    win.g20.alignment='fill';
    win.g20.st1 = win.g20.add('statictext',undefined,'Opacity:');
    win.g20.st1.preferredSize=[340,20];
    win.g20.et1 = win.g20.add('edittext',undefined,'100');
    win.g20.et1.preferredSize=[50,20];
    win.g20.et1.onChanging = function() {
      if (this.text.match(/[^\-\.\d]/)) {
        this.text = this.text.replace(/[^\-\.\d]/g, '');
    var pictureFlag = true          //flag about whether you choose to select patterns by name or by picture
    win.g100 =win.p1.add('group');
    win.g100.orientation = "row";
    win.g100.alignment='center';
    win.g100.bu1 = win.g100.add('button',undefined,'Paint pattern copies');
    win.g100.bu1.preferredSize=[150,30];
    win.g100.bu3 = win.g100.add('button',undefined,'See pattern pictures');
    win.g100.bu3.preferredSize=[150,30];
    win.g100.bu2 = win.g100.add('button',undefined,'Close');
    win.g100.bu2.onClick=function(){
        win.close(0);
    win.g100.bu2.preferredSize=[150,30];
    //Control goes here if the pattern was chosen by name and the button to do it was clicked
    win.g100.bu1.onClick=function(){
    if(win.g5.et1.text == ''){
        alert("Your spacing cannot be blank");
        return;
    if(isNaN(Number(win.g5.et1.text) )){
        alert("Your entry for the spacing is not a number");
        return;
    if (Number(win.g5.et1.text)<10){
        alert("Your spacing must be at least 10%");
        return;
    if(win.g8.et1.text == ''){
        alert("Your final size specification cannot be blank");
        return;
    if(isNaN(Number(win.g8.et1.text) )){
        alert("Your entry for the final size is not a number");
        return;
    win.close(0);
    pictureFlag = false;
    if (updated==true){
    var idslct = charIDToTypeID( "slct" );
        var desc4 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref4 = new ActionReference();
            var idHstS = charIDToTypeID( "HstS" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idPrvs = charIDToTypeID( "Prvs" );
            ref4.putEnumerated( idHstS, idOrdn, idPrvs );
        desc4.putReference( idnull, ref4 );
    executeAction( idslct, desc4, DialogModes.NO );
    updated=true;
    doit(pictureFlag);
    app.refresh()
    }       //end finction for using the patterns by name
    //The followong code is invokied if the user wishes to see the patterns in the fil dialog box before tracing the path
    win.g100.bu3.onClick=function(){
     if(win.g5.et1.text == ''){
        alert("Your spacing cannot be blank");
        return;
    if(isNaN(Number(win.g5.et1.text) )){
        alert("Your entry for the spacing is not a number");
        return;
    if(win.g8.et1.text == ''){
        alert("Your final size specification cannot be blank");
        return;
    if(isNaN(Number(win.g8.et1.text) )){
        alert("Your entry for the final size is not a number");
        return;
    pictureFlag = true;
    win.close(0);
    doit(pictureFlag);
    }       //end finction for using the patterns by pictures - through the fill dialog box
    //This function traces the path and creates a listing of points along the path
    function doit(useFillBoxFlag) {
    // Save the current preferences
    var startRulerUnits = app.preferences.rulerUnits;
    var startTypeUnits = app.preferences.typeUnits;
    var startDisplayDialogs = app.displayDialogs;
    // Set Adobe Photoshop CS6 to use pixels and display no dialogs
    app.preferences.rulerUnits = Units.PIXELS;
    app.preferences.typeUnits = TypeUnits.PIXELS;
    //app.displayDialogs = DialogModes.NO;
    var activePath=activePathIndex()
    if (activePath=-1)activePath=0;
    myPath=activeDocument.pathItems[activePathIndex()].subPathItems[0]; //I'm just calculating the first subpath of the active path
    var scriptEndSize = Number(win.g8.et1.text);   //FInal pattern size ad a percentage
    var spacing =Number(win.g5.et1.text)
    //*Number(patterns[win.g10.dd1.selection.index][2])/100;    // Initial Spacing of points in pixels
    spacedPoints= new Array;    //The position of each of the equally spaced points
    rotations = new Array;       //The rotation of each of the equally spaced points
    copysizes = new Array;      //The sizes of the copies to be places at the points along the path
    //accuracy of calculation... how many straight line segments each curved segment is split into.
    //Note that the granularity is set so that there are about 800 points along the total path, which
    //prevents the arrays that are put into the global environment from overflowing.
    var granularity = Math.floor(800/myPath.pathPoints.length);
    var results = new Array; //points of the straight line segment.... these aren't evenly spaced.
    var pointCount=myPath.pathPoints.length-1;
    //Approximate Path by dividing into straight line segments
    var d = myPath.pathPoints[0].anchor;
    for(var i = 0; i< pointCount; i++)
        var a = d
        var b = myPath.pathPoints[i].leftDirection;
        var c = myPath.pathPoints[i+1].rightDirection;
        var d = myPath.pathPoints[i+1].anchor;  
        for (var j =0; j < granularity; j++)
            var t = j/granularity;
            results[i*granularity + j] = bezier (a, b, c, d, t);
    // Calculate the last path segment if the path is closed.... same code as above
    if(myPath.closed==true){
        var a = myPath.pathPoints[pointCount].anchor
        var b = myPath.pathPoints[pointCount].leftDirection;
        var c = myPath.pathPoints[0].rightDirection;
        var d = myPath.pathPoints[0].anchor;  
        for (var j =0; j < granularity; j++)
            var t = j/granularity;
            results[pointCount*granularity + j] = bezier (a, b, c, d, t);
    //Calculate the length of the curve up to each point
    var segmentLength= new Array;
    segmentLength[0]=0;
    var totalLength=segmentLength[0];
    for(var i = 0; i < results.length-1; i++)
        segmentLength[i1]= segmentLength[i]Math.sqrt(Math.pow(results[i][0]-results[i+1][0],2) + Math.pow(results[i][1]-results[i+1][1],2));
    //set temp vars in memory
    $.setenv("DECOpoints","var points = ["results.toString()"];");
    $.setenv("DECOendsize","var endsize = "scriptEndSize";");
    $.setenv("DECOlengths","var lengths = ["segmentLength.toString()"];");
    $.setenv("DECOspacing","var spacing = "spacing";");
    $.setenv("DECOpathclosed","var pathclosed = "myPath.closed";");
    // Reset the application preferences
    app.preferences.rulerUnits = startRulerUnits;
    app.preferences.typeUnits = startTypeUnits;
    app.displayDialogs = startDisplayDialogs;
    //call fill menu
    var Name = patterns[win.g10.dd1.selection.index][0];
    var PatID = patterns[win.g10.dd1.selection.index][1];
    var BMODE = bMode[win.g15.dd1.selection.index];
    var Opacity = Number(win.g20.et1.text);
    if(Opacity > 100) Opacity = 100;
    if(Opacity < 0) Opacity = 0;
    try{
    decoFill(Name,PatID,BMODE,Opacity,useFillBoxFlag);
    }catch(e){}
    win.center();
    win.show();
    function bezier(a,b,c,d,t)
        var ab,bc,cd,abbc,bccd;
        ab = lerp(a,b,t);
        bc = lerp(b,c,t);
        cd = lerp(c,d,t);
        abbc = lerp(ab,bc,t);
        bccd = lerp(bc,cd,t);
        return lerp(abbc,bccd,t);
    function lerp(a,b,t)
        var x = a[0] + (b[0]-a[0])*t;
        var y = a[1] + (b[1]-a[1])*t;
        return ;   
    function readByte(str, ofs) {
        return str.charCodeAt(ofs);
    function readInt16(str, ofs) {
        return (readByte(str, ofs) << 8) + readByte(str, ofs+1);
    function activePathIndex(){// returns -1 if no path active/selective
       try{
          var ref = new ActionReference();
          ref.putEnumerated( charIDToTypeID("Dcmn"), charIDToTypeID("Ordn"), charIDToTypeID("Trgt") );
          var desc = executeActionGet( ref );
          return  desc.getInteger(charIDToTypeID("TrgP" ));
       }catch(e){}
     function decoFill(Name,PatID,BMODE,Opacity,useFillBoxFlag) {
             if(BMODE.length> 4) {
            var blendMode ="stringIDToTypeID(BMODE);";
            }else{
                var blendMode = "charIDToTypeID(BMODE);";
        var desc16 = new ActionDescriptor();
        desc16.putEnumerated( charIDToTypeID('Usng'), charIDToTypeID('FlCn'), charIDToTypeID('Ptrn') );
            var desc17 = new ActionDescriptor();
            desc17.putString( charIDToTypeID('Nm  '), Name.toString());
            desc17.putString( charIDToTypeID('Idnt'), PatID.toString());
        desc16.putObject( charIDToTypeID('Ptrn'), charIDToTypeID('Ptrn'), desc17 );
        desc16.putPath( stringIDToTypeID('decoScriptFile'), new File( app.path +"/Presets/Deco/Varying Path and Spacing.jsx" ) );
        desc16.putUnitDouble( charIDToTypeID('Opct'), charIDToTypeID('#Prc'), Number(Opacity) );
        desc16.putEnumerated( charIDToTypeID('Md  '), charIDToTypeID('BlnM'), eval(blendMode));
        try{
            if (useFillBoxFlag) {
        executeAction( charIDToTypeID('Fl  '), desc16, DialogModes.ALL )}   //Show the fill dialog box on the way to the path rendering
            else {
        executeAction( charIDToTypeID('Fl  '), desc16, DialogModes.NO )}    //Skip the fill box because the pattern was selected by name,
        }catch(e){return;}
    //The rest of this is fuc\nctions supporting listing pattern names
    function savePatterns( file ) {
        var desc = new ActionDescriptor();
        desc.putPath( charIDToTypeID( "null" ), new File(file) );
            var ref = new ActionReference();
            ref.putProperty( charIDToTypeID( "Prpr" ), charIDToTypeID( "Ptrn" ) );
            ref.putEnumerated( charIDToTypeID( "capp" ), charIDToTypeID( "Ordn" ), charIDToTypeID( "Trgt" ) );
        desc.putReference( charIDToTypeID( "T   " ), ref );
    executeAction( charIDToTypeID( "setd" ), desc, DialogModes.NO );
    //this was written by someone else - note that this method of finding duplicates eliminates long names that differ far to the right
    function ReturnUniqueSortedList(ArrayName){
    var unduped = new Object;
    for (var i = 0; i < ArrayName.length; i++) {  
    unduped[ArrayName[i]] = ArrayName[i];
    var uniques = new Array;for (var k in unduped) {
       uniques.push(unduped[k]);}
    return uniques.sort();
    Anyways, maybe the error message will tell you what I'm doing wrong.

Maybe you are looking for