Follow me on Khmer24, the best online shopping app in Cambodia! https://www.khmer24.com/post-adid-12122417
// Remove duplicate overlapping strokes between touching shapes
if (app.documents.length > 0) {
var doc = app.activeDocument;
if (doc.selection.length > 1) {
var sel = doc.selection;
// Create a group for the selected objects
var group = doc.groupItems.add();
for (var i = sel.length - 1; i >= 0; i--) {
sel[i].move(group, ElementPlacement.PLACEATBEGINNING);
}
// Duplicate group for outline operation
var dup = group.duplicate();
dup.selected = true;
// Apply Pathfinder Outline
app.executeMenuCommand('group');
app.executeMenuCommand('Live Pathfinder Outline');
app.executeMenuCommand('expandStyle');
app.executeMenuCommand('ungroup');
alert("Outline complete! Remove or hide the original objects if needed.");
} else {
alert("Please select at least two touching vector shapes.");
}
} else {
alert("No document open.");
}
β€2
This media is not supported in your browser
VIEW IN TELEGRAM
Error code ππ
αααααΆαααΆαααααΌαααα
αααΎαααΆααααααααααα»ααα αααα»ααααααααααααΎααΆαααααααα
α»αααααααα»ααα AKbalthom α‘αΎααα·α α
αα»ααα Samnang (α’ααααΆαααΆααααα α»αααααααα)
ααΆααΆααα»ααα Samnang
https://celestialsamnang.blogspot.com/p/samnang-fonts-list.html
αα»ααα AKbalthom ααααααα α»αααααα
αα·αα αΆααααΈ α‘αα»ααα ααα α’αα»ααα ααααα $5/αα»ααα
αα·αα αΆααααΈ α£αα»αααα‘αΎααα ααααα 2.5$/αα»ααα
αααααΆααααΆααα·αααΆαααα ααααααα $100
ααΆααΆααα»ααα AKbalthom
https://celestialsamnang.blogspot.com/p/akbalthom-fonts-list.html
ααααΆαααααααα·α
https://t.me/AKbalthom
αα»ααα Samnang (α’ααααΆαααΆααααα α»αααααααα)
ααΆααΆααα»ααα Samnang
https://celestialsamnang.blogspot.com/p/samnang-fonts-list.html
αα»ααα AKbalthom ααααααα α»αααααα
αα·αα αΆααααΈ α‘αα»ααα ααα α’αα»ααα ααααα $5/αα»ααα
αα·αα αΆααααΈ α£αα»αααα‘αΎααα ααααα 2.5$/αα»ααα
αααααΆααααΆααα·αααΆαααα ααααααα $100
ααΆααΆααα»ααα AKbalthom
https://celestialsamnang.blogspot.com/p/akbalthom-fonts-list.html
ααααΆαααααααα·α
https://t.me/AKbalthom
ααααααααααα»αααΆαααΌαα‘αααααΆααα
αααααααααΌαααααααααααΎααΎαααααα·ααΈAdobe illustrator ααΆααααααΆαααΆαααΆααααααααΆααααΆαα
αααΎααπ¨βπ»π¨βπ»
β€1
βοΈ ααααΌ Proster αα·ααΆαααΌααΆ - Visak Bochea
π± Telegram : 010 482 683 (https://t.me/MrrBunThym)
π± Telegram : 010 482 683 (https://t.me/MrrBunThym)
if (app.documents.length > 0) {
var doc = app.activeDocument;
// Save original settings
var originalUnits = app.preferences.getIntegerPreference("rulerType");
app.preferences.setIntegerPreference("rulerType", 1); // Set units to points
for (var i = 0; i < doc.artboards.length; i++) {
doc.artboards.setActiveArtboardIndex(i);
var abBounds = doc.artboards[i].artboardRect; // [left, top, right, bottom]
var left = abBounds[0];
var top = abBounds[1];
var right = abBounds[2];
var bottom = abBounds[3];
var width = right - left;
var height = top - bottom;
// Create a rectangle
var rect = doc.pathItems.rectangle(top, left, width, height);
rect.stroked = true;
rect.filled = false;
rect.strokeWidth = 1;
rect.strokeColor = makeBlack();
// Optional: send to back
rect.zOrder(ZOrderMethod.SENDTOBACK);
}
// Restore original settings
app.preferences.setIntegerPreference("rulerType", originalUnits);
alert("Rectangles created for all artboards.");
} else {
alert("Please open a document first.");
}
function makeBlack() {
var black = new RGBColor();
black.red = 0;
black.green = 0;
black.blue = 0;
return black;
}