Navigate to Object > Expand Appearance . Use the Direct Selection Tool (white arrow) to select only the top faces of the letters.
import subprocess subprocess.run(['rar', 'a', 'output.rar', 'input.txt']) Use code with caution. Copied to clipboard
Cut the faces ( Edit > Cut ) and paste them back in the same spot ( Edit > Paste in Place ). scripting.rar
Use the subprocess module to call the WinRAR executable directly:
Type your text and convert it to outlines ( Type > Create Outlines ). Use the Eyedropper tool to match the text color exactly to the background. Navigate to Object > Expand Appearance
You can create a batch file that uses the WinRAR command-line tool ( rar.exe ). Use the @ symbol to reference a list of files within a text file for compression: rar a archive_name.rar @list.txt .
This popular graphic effect creates the illusion of text being carved deep into a background. Copied to clipboard Cut the faces ( Edit
If you need to automate the creation of .rar files containing text data, you can use command-line scripts or programming libraries.