KHTMFile πŸ’Ύ
1.27K subscribers
1.18K photos
341 videos
386 files
465 links
Subscribe PSD AI CDR
Download 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
***How to multiply cells in Excel***

To multiply two cells in Excel, use a multiplication formula like in the above example,
but supply cell references instead of numbers. For example,
to multiply the value in cell A2 by the value in B2, type this expression:

=A2*B2

To multiply multiple cells, include more cell references in the formula,
separated by the multiplication sign. For example:

=A2*B2*C2
Forwarded from KHTMFile πŸ’Ύ
This media is not supported in your browser
VIEW IN TELEGRAM
αžšαž”αŸ€αž”αž•αŸ’αžαžΆαž…αŸ‹αž’αž€αŸ’αžŸαžšαžαŸ’αž˜αŸ‚αžš αžŠαŸ„αž™αž˜αž·αž“αž›αŸ„αžαž–αž»αž˜αŸ’αž–αž’αž€αŸ’αžŸαžš
αžŸαŸ’αžœαŸ‚αž„αžšαž€αž˜αž»αžαž„αžΆαžšαž“αŸαŸ‡
This media is not supported in your browser
VIEW IN TELEGRAM
αžαžΌαžšαŸαž›αžŠαŸ’αžš #Coreldraw 2024 New VersionπŸ˜…πŸ‘πŸ˜… #BreakApart Ctrl + K #Combine Ctrl + L αžœαžΈαžŠαŸαžšαž’αžΌαž‘αžΈαž“αŸαŸ‡
-αžαžΆαžšαžΆαž„αž–αž»αž˜αŸ’αž–αž’αž€αŸ’αžŸαžšαžαŸ’αž˜αŸ‚αžš αžαŸ„αžαŸ’αž˜-Toathmor
-αž—αŸ’αž‡αžΆαž”αŸ‹αž‡αžΆαž˜αž½αž™αžαž˜αŸ’αž›αŸƒαž–αž·αžŸαŸαžŸ αž‘αŸ†αž“αžΆαž€αŸ‹αž‘αŸ†αž“αž„αž‘αžΈαž“αŸαŸ‡
❀1