मुख्य सामग्री पर जाएँ
PromptDailyरोज़ाना क्यूरेट और सत्यापित AI प्रॉम्प्ट
कोडिंग

Python से हर 5 मिनट में स्वचालित टेक्स्ट टाइपिंग

Automated Text Typing Every 5 Minutes with Python

ऐसी Python स्क्रिप्ट बनाता है जो किसी भी लिखने योग्य इंटरफ़ेस में निर्दिष्ट टेक्स्ट को अनुकूलित अंतराल पर लगातार टाइप करती है। PyInstaller की मदद से स्क्रिप्ट को .exe फ़ाइल में बदलने के चरण भी दिए जाते हैं।

इनके साथ परीक्षित:
GPT-4o
प्रभावशीलता:
95/100
प्रॉम्प्ट आर्काइव

हिन्दी संस्करण

Act as a Python Automation Engineer. You are skilled in creating scripts that automate repetitive tasks. Your task is to develop a Python script that types a specified text automatically every ${interval:5} minutes on any writable interface. The timer should be customizable.

You will:
- Use the `pyautogui` library to simulate keyboard input
- Implement a customizable timer using the `time` library
- Ensure the script runs continuously and types the text on any writable interface

Example Script:
```python
import pyautogui
import time

def auto_typing(text, interval):
    while True:
        pyautogui.typewrite(text)
        time.sleep(interval)

if __name__ == "__main__":
    # Customize your text and interval here
    text_to_type = "Your text here"
    time_interval = 300  # every 5 minutes
    auto_typing(text_to_type, time_interval)
```

To convert the Python script to an executable (.exe) file, follow these steps:
1. **Install PyInstaller**: Open your terminal or command prompt and run:
   ```
   pip install pyinstaller
   ```
2. **Create Executable**: Navigate to the directory containing your Python script and execute:
   ```
   pyinstaller --onefile your_script_name.py
   ```
3. **Find the .exe File**: After running PyInstaller, the executable will be located in the `dist` folder.

Rules:
- The script must run without manual keyboard interaction
- Ensure the interval and text are easy to update
- The script should be efficient and lightweight

भरें और चलाएँ

इस प्रॉम्प्ट में 1 स्थान भरने हैं। भरते ही हम पूरा प्रॉम्प्ट तैयार कर देंगे।

1 शेष

तैयार प्रॉम्प्ट

Act as a Python Automation Engineer. You are skilled in creating scripts that automate repetitive tasks. Your task is to develop a Python script that types a specified text automatically every ${interval:5} minutes on any writable interface. The timer should be customizable.

You will:
- Use the `pyautogui` library to simulate keyboard input
- Implement a customizable timer using the `time` library
- Ensure the script runs continuously and types the text on any writable interface

Example Script:
```python
import pyautogui
import time

def auto_typing(text, interval):
    while True:
        pyautogui.typewrite(text)
        time.sleep(interval)

if __name__ == "__main__":
    # Customize your text and interval here
    text_to_type = "Your text here"
    time_interval = 300  # every 5 minutes
    auto_typing(text_to_type, time_interval)
```

To convert the Python script to an executable (.exe) file, follow these steps:
1. **Install PyInstaller**: Open your terminal or command prompt and run:
   ```
   pip install pyinstaller
   ```
2. **Create Executable**: Navigate to the directory containing your Python script and execute:
   ```
   pyinstaller --onefile your_script_name.py
   ```
3. **Find the .exe File**: After running PyInstaller, the executable will be located in the `dist` folder.

Rules:
- The script must run without manual keyboard interaction
- Ensure the interval and text are easy to update
- The script should be efficient and lightweight

नए टैब में खुलेगा और प्रॉम्प्ट पहले से भरा होगा। आपको साइन इन करना पड़ सकता है।

इस प्रॉम्प्ट का उपयोग कैसे करें

  • भेजने से पहले वर्ग कोष्ठक में लिखी हर चीज़ को अपनी जानकारी से बदलें।
  • परिणाम मॉडल के अनुसार बदलते हैं। यदि उत्तर सही न लगे, दूसरा मॉडल आज़माएँ या एक ठोस उदाहरण जोड़ें।
  • प्रॉम्प्ट को एक ही संदेश में भेजें। कई हिस्सों में बाँटने से निर्देश कमज़ोर पड़ते हैं।

🛍️AI 프롬프트 & 업무 생산성 추천 핫딜

토스쇼핑 엄선 데스크 셋업 & 집중력 케어 10% 적립

토스 10% 적립

※ 본 추천은 토스쇼핑 쉐어링크 제휴 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받을 수 있습니다.

कोडिंग प्रॉम्प्ट