KHTMFile πŸ’Ύ
1.27K subscribers
1.18K photos
341 videos
386 files
465 links
Subscribe PSD AI CDR
Download Telegram
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
αž›αŸ’αž”αžΏαž“ αžαžΆαž„αž€αŸ’αžšαŸ…
❀1
  #target illustrator  


var offset;
var loop;
var newRGBColor = new RGBColor();

app.executeMenuCommand("group");

var win = new Window("dialog", "Enter Values");
var fieldsGroup = win.add("group");
fieldsGroup.orientation = "row";
fieldsGroup.alignChildren = ["left", "center"];

fieldsGroup.add("statictext", undefined, "Offset:");
var offsetField = fieldsGroup.add("edittext", undefined, "10");
offsetField.alignment = ["fill", "center"];
offsetField.size = [80, 30];

fieldsGroup.add("statictext", undefined, "Loop:");
var loopField = fieldsGroup.add("edittext", undefined, "1");
loopField.alignment = ["fill", "center"];
loopField.size = [80, 30];

var submitBtn = win.add("button", undefined, "Ok");
submitBtn.size = [200, 40];
submitBtn.alignment = ["center", "bottom"];
submitBtn.onClick = function() {
offset = offsetField.text;
loop = loopField.text;
win.close();
};

var cancelBtn = win.add("button", undefined, "Cancel");
cancelBtn.size = [200, 40];
cancelBtn.alignment = ["center", "bottom"];
cancelBtn.onClick = function() {
win.close();
};

win.show();
for(var i = 0; i < loop; i++)
{
if(i==0)
{
newRGBColor.red = 255; newRGBColor.green = 255; newRGBColor.blue = 255;
}
else
{
var randomNumber = Math.floor(Math.random() * 255);
newRGBColor.red = randomNumber; newRGBColor.green = randomNumber; newRGBColor.blue = randomNumber;
}
Outline();
}


function Outline()
{
var xmlstring = '<LiveEffect name="Adobe Offset Path"><Dict data="R mlim 4 R ofst ' + offset + ' I jntp 0 "/></LiveEffect>';
var sel = app.activeDocument.selection;
sel[0].duplicate();
sel[0].zOrder(ZOrderMethod.SENDTOBACK);
app.executeMenuCommand ('Live Outline Stroke');
app.activeDocument.selection = null;
app.activeDocument.selection = sel;
app.executeMenuCommand('Live Pathfinder Add');
app.selection[0].applyEffect(xmlstring);
app.executeMenuCommand ('Live Outline Stroke');
app.executeMenuCommand ('expandStyle');
app.executeMenuCommand('Live Pathfinder Add');
app.executeMenuCommand('noCompoundPath');
app.executeMenuCommand('expandStyle');
app.selection[0].opacity = 100;
app.activeDocument.defaultFillColor = newRGBColor;
}
❀1
This media is not supported in your browser
VIEW IN TELEGRAM
αž€αžΆαžαŸ‹αžαžΆαž˜αžšαžΆαž„ αž”αžΆαž“αž›αžΏαž“ αž‘αžΆαž‰αž™αž€αž“αžΌαžœαž‘αžΈαž“αŸαŸ‡
❀2
image_2024-08-20_07-18-40.png
3 KB
***How to multiply numbers in Excel***

To make the simplest multiplication formula in Excel,
type the equals sign (=) in a cell,
then type the first number you want to multiply,
followed by an asterisk, followed by the second number,
and hit the Enter key to calculate the formula.

For example, to multiply 2 by 5, you type this expression in a cell (with no spaces): =2*5