This media is not supported in your browser
VIEW IN TELEGRAM
ααΆαααΆαααααααααΌααααα»αααΌαααααα#CorelDRAW
Sub UGACombine()
' Recorded 19-Aug-24
Dim OrigSelection As ShapeRange
Set OrigSelection = ActiveSelectionRange
OrigSelection.ConvertToCurves
Dim grp1 As ShapeRange
Set grp1 = OrigSelection.UngroupAllEx
Dim grp2 As ShapeRange
Set grp2 = grp1.UngroupAllEx
grp1.CreateSelection
Dim s1 As Shape
Set s1 = ActiveSelection.Combine
Dim grp3 As ShapeRange
Set grp3 = s1.UngroupAllEx
grp3.CreateSelection
Dim s2 As Shape
Set s2 = ActiveSelection.Combine
' Recording of this command is not supported: StyleModify
End Sub
This media is not supported in your browser
VIEW IN TELEGRAM
ααααααααΆα
αα’ααααααααα ααααα·αααααα»αααα’αααα
#target illustrator
function outlineDocText( ) {
if ( app.documents.length == 0 ) return;
var docRef = app.activeDocument;
recurseLayers( docRef.layers );
};
outlineDocText();
function recurseLayers( objArray ) {
for ( var i = 0; i < objArray.length; i++ ) {
// Record previous value with conditional change
var l = objArray[i].locked;
if ( l ) objArray[i].locked = false;
// Record previous value with conditional change
var v = objArray[i].visible;
if ( !v ) objArray[i].visible = true;
outlineText( objArray[i].textFrames );
// Recurse the contained layer collection
if ( objArray[i].layers.length > 0 ) {
recurseLayers( objArray[i].layers )
}
// Recurse the contained group collection
if ( objArray[i].groupItems.length > 0 ) {
recurseGroups( objArray[i].groupItems )
}
// Return to previous values
objArray[i].locked = l;
objArray[i].visible = v;
}
};
function recurseGroups( objArray ) {
for ( var i = 0; i < objArray.length; i++ ) {
// Record previous value with conditional change
var l = objArray[i].locked;
if ( l ) objArray[i].locked = false;
// Record previous value with conditional change
var h = objArray[i].hidden;
if ( h ) objArray[i].hidden = false;
outlineText( objArray[i].textFrames );
// Recurse the contained group collection
if ( objArray[i].groupItems.length > 0 ) {
recurseGroups( objArray[i].groupItems )
}
// Return to previous values
objArray[i].locked = l;
objArray[i].hidden = h;
}
};
function outlineText( objArray ) {
// Reverse this loop as it brakes the indexing
for ( var i = objArray.length-1; i >= 0; i-- ) {
// Record previous value with conditional change
var l = objArray[i].locked;
if ( l ) objArray[i].locked = false;
// Record previous value with conditional change
var h = objArray[i].hidden;
if ( h ) objArray[i].hidden = false;
var g = objArray[i].createOutline( );
// Return new group to previous Text Frame values
g.locked = l;
g.hidden = h;
}
};
β€1