Skip to content

Zujaj/Text-Extraction-From-Adobe-Illustrator---Photoshop-To-Notepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Extraction From Adobe Illustrator & Photoshop To Notepad

Depiction of Text Extraction From Adobe Illustrator & Photoshop into Notepad.

Code Scripts to export text from Adobe Illustrator & Photoshop into Notepad.

The Problem

As a graphic designer, during extensive typing work, there comes a time when you want to copy-paste a large pile of text from the layers or artboard. So you might wonder how would you:

⌨️ Keep yourself relaxed while typing?

📝 Extract out all the text within just a few clicks?

🗒️ Automatically save the extracted text in a notepad file?

To get into more details, read this medium article.

The Solution

Download this repository as a ZIP file and follow the below steps.

Download ZIP

Exporting Text in Adobe Illustrator

  1. Close Illustrator and extract the IllustratorTextExtractor.jsx file inside the Scripts folder.

    C:\Program Files\Adobe\Adobe Illustrator 2021\Presets\en_US\Scripts

  2. Open up the Test.ai file and navigate to File/Scripts to execute the script.

    Script Navigation in Adobe Illustrator

Exporting Text in Adobe Photoshop

  1. Close Photoshop and extract the PS_Bramus.TextExportWithUTF-1.3.jsx file inside the Scripts folder.

    C:\Program Files\Adobe\Adobe Photoshop 2021\Presets\Scripts

  2. Open up the Test.psd file and navigate to File/Scripts to execute the script.

    Script Navigation in Adobe Photoshop

Result

After a successful export, your text would pop up in Notepad. Change the text alignment from left to right to view the Urdu text correctly.

Changing Text Alignment in Notepad

Fun Facts

Below are some interesting facts that you can try out.

  1. To change the order of the text, switch the layer order.

    Layer Switching in Adobe Illustrator & Photoshop

  2. Open up multiple files & export them within a single click shown in the below image.

    Multiple File Export Support

  3. Run the scripts with other languages by changing the file encoding; refer to the below snippet.

fileOut.encoding = "UTF-16"; // Change it to UTF-8 or UTF-32

Acknowledgment

Thanks to Bramus for sharing the script code on GitHub.

About

Code Scripts to export text from Adobe Illustrator & Photoshop into Notepad.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published