Skip to content
TheChatArchiveThe Chat Archive
gpt-4.1-mini-2025-04-14· OpenAIHugging Face LMArena Human Preference 140K

Rewrite the prompt for a AI with details and clear instraction Prompt: Write a script…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Claudeclaude-opus-4-20250514’s answer.
  1. User

    Rewrite the prompt for a AI with details and clear instraction

    Prompt: Write a script that can add a page number to a page with a footer design, and The Script should have a function to customize the page number font and color. The script also should have the Factionally where to start page number, and live change in font style and color.

  2. Assistant

    Certainly! Here's a detailed and clear version of your prompt for an AI, with explicit instructions and requirements:


    Prompt for AI:

    Write a script that adds page numbers to a document page which already contains a footer design. The script must meet the following requirements:

    1. Page Number Addition:

      • Add page numbers to the footer area without disrupting the existing footer design.
      • Position the page number appropriately within the footer.
    2. Customization Functionality:

      • Include a function that allows customization of the page number’s font family, font size, and font color.
      • The font style and color should be changeable dynamically (i.e., live update without restarting the script).
    3. Page Numbering Control:

      • Provide an option to specify the starting page number (e.g., start numbering from page 1, 5, or any other number).
      • Ensure the page numbers increment correctly from the specified start.
    4. Live Update Feature:

      • Implement functionality to update the font style and color of the page numbers on the fly, reflecting changes immediately.
    5. Code Quality:

      • Write clean, well-documented code.
      • Use clear function and variable names.
      • Include comments explaining key parts of the script.
    6. Environment:

      • Specify the programming language and environment (e.g., Python with reportlab, JavaScript for web PDF viewer, etc.).
      • If applicable, mention any libraries or dependencies required.

    If you want, I can also provide an example implementation in a specific language or environment. Just let me know!

  3. User

    Rewrite the prompt for a AI with details and clear instraction

    Prompt: Write a script for Adobe Illustrator that can add a page number to a page with a footer design. The script should have a function to customize the page number, font, and color. The script also should have the Factionally where to start page number, and live change in font style and color.

  4. Assistant

    Certainly! Here's a detailed and clear rewritten prompt tailored for an AI to create an Adobe Illustrator script with your specified features:


    Prompt for AI:

    Write a script for Adobe Illustrator that automates adding page numbers to artboards containing a footer design. The script must include the following features and functionality:

    1. Page Number Addition:

      • Automatically add page numbers to the footer area of each artboard.
      • Ensure the page number is positioned consistently within the footer without overlapping or disrupting existing footer elements.
    2. Customization Function:

      • Provide a function or interface to customize the page number’s:
        • Font family (e.g., Arial, Times New Roman, etc.)
        • Font size
        • Font color
      • Allow these font properties to be changed dynamically (live update) so that changes are immediately reflected on all page numbers.
    3. Starting Page Number:

      • Include an option to specify the starting page number (e.g., start numbering from 1, 5, or any other integer).
      • Page numbers should increment sequentially from the specified start number across all artboards.
    4. Live Update Capability:

      • Implement functionality to update the font style and color of all page numbers on the fly, without needing to rerun the entire script or manually reapply changes.
    5. Script Requirements:

      • Use Adobe Illustrator’s scripting environment (JavaScript / ExtendScript).
      • Write clean, modular, and well-commented code.
      • Use clear and descriptive function and variable names.
      • Handle edge cases, such as artboards without footers or empty documents gracefully.
    6. Additional Notes:

      • Assume the footer design is already present on each artboard.
      • The script should not remove or alter existing footer elements except to add the page number.
      • Provide instructions on how to run the script within Adobe Illustrator.

    If you want, I can also provide a sample script implementation or further guidance on how to integrate this into your Illustrator workflow. Just ask!

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.