Yes match anywhere is very nice.

It is very easy to modify and add to this script. Five minute effort, here is all

Code: Select all

```
p2=
(
Gdip_BitmapFromBRA;(ByRef BRAFromMemIn, File, Alternate=0)
Gdip_DrawRectangle;(pGraphics, pPen, x, y, w, h)
Gdip_DrawRoundedRectangle;(pGraphics, pPen, x, y, w, h, r)
Gdip_DrawEllipse;(pGraphics, pPen, x, y, w, h)
Gdip_DrawBezier;(pGraphics, pPen, x1, y1, x2, y2, x3, y3, x4, y4)
Gdip_DrawArc;(pGraphics, pPen, x, y, w, h, StartAngle, SweepAngle)
Gdip_DrawPie;(pGraphics, pPen, x, y, w, h, StartAngle, SweepAngle)
Gdip_DrawLine;(pGraphics, pPen, x1, y1, x2, y2)
Gdip_DrawLines;(pGraphics, pPen, Points)
Gdip_FillRectangle;(pGraphics, pBrush, x, y, w, h)
Gdip_FillRoundedRectangle;(pGraphics, pBrush, x, y, w, h, r)
Gdip_FillPolygon;(pGraphics, pBrush, Points, FillMode=0)
Gdip_FillPie;(pGraphics, pBrush, x, y, w, h, StartAngle, SweepAngle)
Gdip_FillEllipse;(pGraphics, pBrush, x, y, w, h)
Gdip_FillRegion;(pGraphics, pBrush, Region)
Gdip_FillPath;(pGraphics, pBrush, Path)
Gdip_DrawImagePointsRect;(pGraphics, pBitmap, Points, sx="", sy="", sw="", sh="", Matrix=1)
Gdip_DrawImage;(pGraphics, pBitmap, dx="", dy="", dw="", dh="", sx="", sy="", sw="", sh="", Matrix=1)
Gdip_SetImageAttributesColorMatrix;(Matrix)
Gdip_GraphicsFromImage;(pBitmap)
Gdip_GraphicsFromHDC;(hdc)
Gdip_GetDC;(pGraphics)
Gdip_ReleaseDC;(pGraphics, hdc)
Gdip_GraphicsClear;(pGraphics, ARGB=0x00ffffff)
Gdip_BlurBitmap;(pBitmap, Blur)
Gdip_SaveBitmapToFile;(pBitmap, sOutput, Quality=75)
Gdip_GetPixel;(pBitmap, x, y)
Gdip_SetPixel;(pBitmap, x, y, ARGB)
Gdip_GetImageWidth;(pBitmap)
Gdip_GetImageHeight;(pBitmap)
Gdip_GetImageDimensions;(pBitmap, ByRef Width, ByRef Height)
Gdip_GetDimensions;(pBitmap, ByRef Width, ByRef Height)
Gdip_GetImagePixelFormat;(pBitmap)
Gdip_GetDpiX;(pGraphics)
Gdip_GetDpiY;(pGraphics)
Gdip_GetImageHorizontalResolution;(pBitmap)
Gdip_GetImageVerticalResolution;(pBitmap)
Gdip_BitmapSetResolution;(pBitmap, dpix, dpiy)
Gdip_CreateBitmapFromFile;(sFile, IconNumber=1, IconSize="")
Gdip_CreateBitmapFromHBITMAP;(hBitmap, Palette=0)
Gdip_CreateHBITMAPFromBitmap;(pBitmap, Background=0xffffffff)
Gdip_CreateBitmapFromHICON;(hIcon)
Gdip_CreateHICONFromBitmap;(pBitmap)
Gdip_CreateBitmap;(Width, Height, Format=0x26200A)
Gdip_SetBitmapToClipboard;(pBitmap)
Gdip_CloneBitmapArea;(pBitmap, x, y, w, h, Format=0x26200A)
Gdip_CreatePen;(ARGB, w)
Gdip_CreatePenFromBrush;(pBrush, w)
Gdip_BrushCreateSolid;(ARGB=0xff000000)
Gdip_BrushCreateHatch;(ARGBfront, ARGBback, HatchStyle=0)
Gdip_CreateTextureBrush;(pBitmap, WrapMode=1, x=0, y=0, w="", h="")
Gdip_CreateLineBrush;(x1, y1, x2, y2, ARGB1, ARGB2, WrapMode=1)
Gdip_CreateLineBrushFromRect;(x, y, w, h, ARGB1, ARGB2, LinearGradientMode=1, WrapMode=1)
Gdip_CloneBrush;(pBrush)
Gdip_DeletePen;(pPen)
Gdip_DeleteBrush;(pBrush)
Gdip_DisposeImage;(pBitmap)
Gdip_DeleteGraphics;(pGraphics)
Gdip_DisposeImageAttributes;(ImageAttr)
Gdip_DeleteFont;(hFont)
Gdip_DeleteStringFormat;(hFormat)
Gdip_DeleteFontFamily;(hFamily)
Gdip_DeleteMatrix;(Matrix)
Gdip_TextToGraphics;(pGraphics, Text, Options, Font="Arial", Width="", Height="", Measure=0)
Gdip_DrawString;(pGraphics, sString, hFont, hFormat, pBrush, ByRef RectF)
Gdip_MeasureString;(pGraphics, sString, hFont, hFormat, ByRef RectF)
Gdip_SetStringFormatAlign;(hFormat, Align)
Gdip_StringFormatCreate;(Format=0, Lang=0)
Gdip_FontCreate;(hFamily, Size, Style=0)
Gdip_FontFamilyCreate;(Font)
Gdip_CreateAffineMatrix;(m11, m12, m21, m22, x, y)
Gdip_CreatePath;(BrushMode=0)
Gdip_AddPathEllipse;(Path, x, y, w, h)
Gdip_AddPathPolygon;(Path, Points)
Gdip_DeletePath;(Path)
Gdip_SetTextRenderingHint;(pGraphics, RenderingHint)
Gdip_SetInterpolationMode;(pGraphics, InterpolationMode)
Gdip_SetSmoothingMode;(pGraphics, SmoothingMode)
Gdip_SetCompositingMode;(pGraphics, CompositingMode=0)
Gdip_Shutdown;(pToken)
Gdip_RotateWorldTransform;(pGraphics, Angle, MatrixOrder=0)
Gdip_ScaleWorldTransform;(pGraphics, x, y, MatrixOrder=0)
Gdip_TranslateWorldTransform;(pGraphics, x, y, MatrixOrder=0)
Gdip_ResetWorldTransform;(pGraphics)
Gdip_GetRotatedTranslation;(Width, Height, Angle, ByRef xTranslation, ByRef yTranslation)
Gdip_GetRotatedDimensions;(Width, Height, Angle, ByRef RWidth, ByRef RHeight)
Gdip_ImageRotateFlip;(pBitmap, RotateFlipType=1)
Gdip_SetClipRect;(pGraphics, x, y, w, h, CombineMode=0)
Gdip_SetClipPath;(pGraphics, Path, CombineMode=0)
Gdip_ResetClip;(pGraphics)
Gdip_GetClipRegion;(pGraphics)
Gdip_SetClipRegion;(pGraphics, Region, CombineMode=0)
Gdip_DeleteRegion;(Region)
Gdip_LockBits;(pBitmap, x, y, w, h, ByRef Stride, ByRef Scan0, ByRef BitmapData, LockMode = 3, PixelFormat = 0x26200a)
Gdip_UnlockBits;(pBitmap, ByRef BitmapData)
Gdip_SetLockBitPixel;(ARGB, Scan0, x, y, Stride)
Gdip_GetLockBitPixel;(Scan0, x, y, Stride)
Gdip_PixelateBitmap;(pBitmap, ByRef pBitmapOut, BlockSize)
Gdip_ToARGB;(A, R, G, B)
Gdip_FromARGB;(ARGB, ByRef A, ByRef R, ByRef G, ByRef B)
Gdip_AFromARGB;(ARGB)
Gdip_RFromARGB;(ARGB)
Gdip_GFromARGB;(ARGB)
Gdip_BFromARGB;(ARGB)
)
CommandText.= "`n" p2
Sort,CommandText ; I don't know if this is needed, I just guessed.
```

Cheers.