hi,
i am looking for a way to set color and fill mode of an object via vectorscript.
i want e.g. se?ect a rectangle, press a shortcut and get a filled rectangle in cloro grey.
i tried with that script which i recorded with the "multitool" (multiwerkzeug in german translation) but it doesn't work:
Procedure CustTool;
VAR
Name:STRING;
Result:BOOLEAN;
BEGIN
PushAttrs;
PenFore(257);
PenBack(256);
PenPat(2);
FillFore(257);
FillBack(1236);
FillPat(1);
PenSize(2);
PenPat(2);
Result:= SetDefaultBeginningMarker(0, 15, 0.125000, 0.000000, 0, 0.000000, FALSE);
Result:= SetDefaultEndMarker(0, 15, 0.125000, 0.000000, 0, 0.000000, FALSE);
CallTool(-203);
PopAttrs;
END;
Run(CustTool);
any help greatly appreciated
greg