Skip to content

Instantly share code, notes, and snippets.

View creold's full-sized avatar
👷‍♂️

Sergey Osokin creold

👷‍♂️
View GitHub Profile
@creold
creold / ShowInkList.jsx
Last active July 9, 2024 13:50
Adds colored text labels for cyan, magenta, yellow and black inks, and any additional spot color. Adobe Illustrator script
/*
Adds colored text labels for cyan, magenta, yellow and black inks, and any additional spot color used in each artboard
Discussion: https://community.adobe.com/t5/illustrator-discussions/adding-color-names-instead-of-color-bars/td-p/14718668
Author: Sergey Osokin, email: hi@sergosokin.ru
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
@creold
creold / GroupArtboardContents.jsx
Created June 6, 2024 05:20
Group objects on document artboards. Adobe Illustrator script
/*
Group objects on document artboards. Skips locked or hidden objects
Author: Sergey Osokin, email: hi@sergosokin.ru
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
- via DonatePay https://new.donatepay.ru/en/@osokin
@creold
creold / createArtboardsFromTheSelection.jsx
Last active June 7, 2024 15:09
Added option to remove all previous artboards, support clipping groups size
/*
Author: Alexander Ladygin (i@ladygin.pro)
Program version: Adobe Illustrator CC+
Name: createArtboardsFromTheSelection.jsx;
Copyright (c) 2018
www.ladyginpro.ru
Modification by Sergey Osokin (https://github.com/creold)
Added option to remove all previous artboards
@creold
creold / AlignSelectionToArtboardContents.jsx
Created May 11, 2024 06:13
Aligns the selected objects to the objects on the artboards as key objects. Adobe Illustrator script
/*
Aligns the selected objects to the objects on the artboards as key objects
Author: Sergey Osokin, email: hi@sergosokin.ru
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
- via DonatePay https://new.donatepay.ru/en/@osokin
@creold
creold / AddRectangleAroundObject.jsx
Last active March 12, 2024 13:26
Creates rectangles with specified margins around each selected objects. Adobe Illustrator script
/*
Creates rectangles with specified margins around each selected objects
Version for create squares: https://gist.github.com/creold/b6f2dc2c61d0a497a9264ba114df055a
Author: Sergey Osokin, email: hi@sergosokin.ru
Based on code by Joshb Duncan @joshbduncan
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
@creold
creold / AddSquareAroundObject.jsx
Last active March 12, 2024 13:26
Creates squares with specified margins on the larger side of selected objects. Adobe Illustrator script
/*
Creates squares with specified margins on the larger side of selected objects
Discussion: https://community.adobe.com/t5/illustrator-discussions/is-there-any-way-to-add-absolute-square-with-entering-margin-value-around-selected-objects/td-p/14459111
Author: Sergey Osokin, email: hi@sergosokin.ru
Based on code by Joshb Duncan @joshbduncan
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
@creold
creold / GrayOpacityMaskFix.jsx
Last active June 15, 2024 03:45
Converts selected Grayscale opacity masks to RGB to correct sharp edges due to black depth. Adobe Illustrator script
/*
Converts selected Grayscale opacity masks to RGB to correct sharp edges due to black depth
Attention: Before running the script, manually select objects with opacity masks.
Use the free SelectMenu plugin by Rick Johnson to select masks https://rj-graffix.com/downloads/plugins/.
Select > Object > Special Art Types > Opacity Masks
*************************************************************************************************
* WARNING: Don't put this script in the action slot for a quick run. It will freeze Illustrator *
*************************************************************************************************
@creold
creold / InsertGroupNameAsText.jsx
Last active March 12, 2024 13:26
Replace top text frame contents within selected group with its name. Adobe Illustrator script
/*
Replaces top text frame contents within selected group with its name
Author: Sergey Osokin, email: hi@sergosokin.ru
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
- via DonatePay https://new.donatepay.ru/en/@osokin
@creold
creold / LanguageSwitcher.jsx
Last active March 12, 2024 13:26
Quick access palette for changing favorite languages. Adobe Illustrator script
/*
Quick access palette for changing favorite languages in the Character panel for selected text or selected text frames.
Language types:
ENGLISH, FINNISH, STANDARDFRENCH, CANADIANFRENCH, STANDARDGERMAN, OLDGERMAN,
SWISSGERMAN, ITALIAN, BOKMALNORWEGIAN, NYNORSKNORWEGIAN, STANDARDPORTUGUESE,
BRAZILLIANPORTUGUESE, SPANISH, SWEDISH, UKENGLISH, DUTCH, DANISH, CATALAN, RUSSIAN,
UKRANIAN, BULGARIAN, SERBIAN, CZECH, POLISH, RUMANIAN, GREEK, TURKISH, ICELANDIC,
HUNGARIAN, CHINESE, JAPANESE, ARABIC, FARSI, GERMAN2006REFORM, DUTCH2005REFORM, SWISSGERMAN2006REFORM,
HINDI, MARATHI, BENGALIINDIA, PUNJABI, GUJARATI, ORIYA, TAMIL, TELUGU, KANNADA, MALAYALAM
@creold
creold / RecolorTextLines.jsx
Last active March 12, 2024 13:26
Recolor text lines in specified HEX, RGB, or CMYK colors or in selected swatches. Adobe Illustrator script
/*
Recolor text lines in specified HEX, RGB, or CMYK colors or in selected swatches
Discussion: https://community.adobe.com/t5/illustrator-discussions/can-i-automatically-colorize-every-text-line-in-a-text-with-a-selected-color-swatch/m-p/14152682#M383649
Author: Sergey Osokin, email: hi@sergosokin.ru
Check my other scripts: https://github.com/creold
Donate (optional):
If you find this script helpful, you can buy me a coffee
- via Buymeacoffee: https://www.buymeacoffee.com/aiscripts
- via Donatty https://donatty.com/sergosokin
- via DonatePay https://new.donatepay.ru/en/@osokin