Adobe illustrator script (JavaScript)

Other Skripte Sonstiges

Spezifikation

Create an Adobe illustrator script (JavaScript) called AIconvertor.jsx

Problem: When text is copied from ChatGPT or You.com into Adobe illustrator the formatting is not maintained.

Workflow: In ChatGPT or You.com, once the answer is generated, I use the small copy icon to copy the answer.
In Adobe illustrator I use the text tool to create a text box and paste the copied text. This text appears in Markdown Format.

Please create a script:
1. I would like to select text (either the text box with the Adobe Illustrator select tool or the text tool that  selects a specific section of text - both these methods should work).
2. Apply the script and have the markdown text transform into text formatted as it appears in ChatGPT.

This means:

  • The default text is made ‘Myriad Pro’ 10pt
  • Text on a line following ‘####’ is made bold and 12pt
  • Text on a line not following ‘####’ but encompassed by’**’ is made bold (10pt)
  • Hyphen at the start of a line is converted into a bullet
  • Once changed '-' '**' and '####' are removed.
  • Within the text box all occurrences are formatted, not just the first one.



Do not bother with tabs.


Please test the script in Adobe Illustrator:
1. Copy this prompt into you.com: What do I need to consider when buying a digital electronic drum kit
2. Use ‘copy text’ icon to copy to clipboard
3. Open a new Adobe illustrator 2024 file.
4. Create a text box and paste.
5. File / Scripts / AIconvertor.jsx

6. The text should convert to the required formatting.


Here is a sample of the markdown format text that I would like to be formatted:

When considering the purchase of a digital electronic drum kit, there are several important factors to keep in mind to ensure you choose the right one for your needs. Here’s a breakdown of key considerations:


#### **1. Type of Pads**

- **Mesh Heads vs. Rubber Pads**: Mesh drum heads are generally preferred for their realistic feel and quieter operation compared to rubber pads. They provide a more authentic drumming experience and are often more responsive.


#### **2. Sound Module Features**

- **Sound Quality and Variety**: The sound module is crucial as it determines the quality and variety of sounds available. Look for kits with a wide range of drum sounds and customizable options. Some modules also offer built-in metronomes, recording capabilities, and practice features.

- **User Interface**: A user-friendly interface can make it easier to navigate through sounds and settings, which is especially important for beginners.


#### **3. Connectivity Options**

- **MIDI and Audio Outputs**: Ensure the kit has MIDI capabilities if you plan to connect it to a computer or other devices for recording or using software. Audio outputs are also important for connecting to amplifiers or PA systems.


#### **4. Size and Portability**

- **Space Considerations**: Consider the size of the kit and whether it fits your available space. Some kits are designed to be compact and portable, which is great for small rooms or for taking to gigs.


#### **5. Budget**

- **Price Range**: Electronic drum kits can vary significantly in price. Set a budget that reflects your needs and consider what features are most important to you. Higher-end models often come with better pads and sound modules.


#### **6. Brand Reputation**

- **Manufacturer Reliability**: Brands like Roland and Yamaha are well-known for their quality electronic drum kits. Researching brand reputation can help you make a more informed decision.


#### **7. Additional Features**

- **Practice Features**: Look for kits that include practice modes, built-in songs, or lesson features, which can be beneficial for beginners.

- **Expansion Options**: Some kits allow for future expansion with additional pads or accessories, which can be a great way to enhance your setup over time.


#### **8. Reviews and Recommendations**

- **User Feedback**: Reading reviews and seeking recommendations from other drummers can provide insights into the performance and reliability of specific models.


By considering these factors, you can make a more informed decision when purchasing a digital electronic drum kit that suits your playing style and needs. Happy drumming!


Bewerbungen

1
Entwickler 1
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(3)
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Beschäftigt
Ähnliche Aufträge
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have

Projektdetails

Budget
30+ USD
Ausführungsfristen
von 3 bis 12 Tag(e)

Kunde

(26)
Veröffentlichte Aufträge34
Anzahl der Schlichtungen0