# 🐸 Happy Frog - Full Capability Showcase
# This script demonstrates everything Happy Frog can do
# Educational Purpose: Learn advanced HID emulation techniques

# ========================================
# SECTION 1: BASIC COMMANDS (Ducky Script Compatible)
# ========================================

REM Basic text input and navigation
DELAY 2000
STRING Welcome to Happy Frog Showcase!
ENTER
DELAY 500

REM Demonstrate all basic input commands
STRING This demonstrates basic text input.
ENTER
DELAY 300
TAB
STRING Tab navigation works!
ENTER
DELAY 300
BACKSPACE
STRING Backspace functionality.
ENTER
DELAY 300

REM Arrow key navigation
UP
DOWN
LEFT
RIGHT
DELAY 200

REM Function keys
F1
F2
F3
DELAY 200

REM Navigation keys
HOME
END
PAGE_UP
PAGE_DOWN
INSERT
DELETE
DELAY 200

# ========================================
# SECTION 2: MODIFIER KEYS AND COMBOS
# ========================================

REM Single modifier keys
CTRL
SHIFT
ALT
MOD
DELAY 200

REM Modifier combinations
MOD r
DELAY 1000
STRING notepad
ENTER
DELAY 1000

REM Close notepad
MOD f4
DELAY 500

REM Another combo example
CTRL ALT DEL
DELAY 1000
ESCAPE

# ========================================
# SECTION 3: ADVANCED DUCKY SCRIPT FEATURES
# ========================================

REM Set default delay for all subsequent commands
DEFAULT_DELAY 300

REM Basic automation with default delay
STRING Using default delay for consistent timing.
ENTER
STRING This line will have the default delay.
ENTER
STRING And this one too!
ENTER

REM Override default delay for specific command
DELAY 1000
STRING This has a custom delay.
ENTER

REM Repeat the last command (ENTER) 3 times
REPEAT 3

REM Pause execution
PAUSE

# ========================================
# SECTION 4: HAPPY FROG EXCLUSIVE FEATURES
# ========================================

REM Enable safe mode for educational use
SAFE_MODE ON

REM Log our actions for debugging and education
LOG Starting Happy Frog exclusive features demonstration

REM Validate environment before proceeding
VALIDATE system_ready

REM Human-like random delays (more realistic than fixed delays)
RANDOM_DELAY 200 800
STRING Random delays make automation more human-like.
ENTER

RANDOM_DELAY 150 450
STRING This timing varies naturally.
ENTER

# ========================================
# SECTION 5: CONDITIONAL LOGIC
# ========================================

REM Conditional execution based on environment
IF system_windows
STRING Windows system detected - using Windows-specific commands
ENTER
MOD r
DELAY 500
STRING calc
ENTER
DELAY 1000
MOD f4
ELSE
STRING Non-Windows system detected - using alternative commands
ENTER
STRING Alternative system commands would go here
ENTER
ENDIF

# ========================================
# SECTION 6: LOOP EXECUTION
# ========================================

REM Loop execution with counter
WHILE counter < 3
STRING Loop iteration
ENTER
RANDOM_DELAY 100 300
ENDWHILE

# ========================================
# SECTION 7: ADVANCED AUTOMATION SCENARIO
# ========================================

REM Demonstrate a realistic automation scenario
LOG Starting advanced automation scenario

REM Open browser
MOD r
DELAY 500
STRING chrome
ENTER
DELAY 2000

REM Navigate to a website
STRING https://github.com/ZeroDumb/happy-frog
ENTER
DELAY 3000

REM Simulate some browsing
TAB
TAB
TAB
DELAY 500

REM Close browser
MOD f4
DELAY 500

# ========================================
# SECTION 8: EDUCATIONAL DEMONSTRATION
# ========================================

REM Show educational features
LOG Demonstrating educational features

REM Open text editor for note-taking
MOD r
DELAY 500
STRING notepad
ENTER
DELAY 1000

REM Type educational content
STRING Happy Frog Educational Notes:
ENTER
ENTER
STRING 1. This demonstrates HID emulation techniques
ENTER
STRING 2. Shows how automated input can be used for education
ENTER
STRING 3. Includes safety features and validation
ENTER
STRING 4. Provides human-like behavior with random delays
ENTER
STRING 5. Supports conditional logic and loops
ENTER
ENTER
STRING Remember: Use automation responsibly and ethically!
ENTER

REM Save the file (Ctrl+S)
CTRL s
DELAY 500
STRING happy_frog_notes.txt
ENTER
DELAY 500

REM Close notepad
MOD f4

# ========================================
# SECTION 9: SAFETY AND VALIDATION
# ========================================

REM Demonstrate safety features
LOG Testing safety and validation features

REM Validate that we're in a safe environment
VALIDATE test_environment

REM Check if safe mode is still enabled
SAFE_MODE ON

REM Log completion
LOG Happy Frog showcase completed successfully

# ========================================
# SECTION 10: CLEANUP AND FINAL MESSAGE
# ========================================

REM Final demonstration
DELAY 1000
STRING Happy Frog Showcase Complete!
ENTER
DELAY 500
ENTER
STRING Features demonstrated:
ENTER
STRING ✓ Basic input and navigation
ENTER
STRING ✓ Modifier keys and combinations
ENTER
STRING ✓ Advanced Ducky Script features (REPEAT, DEFAULT_DELAY)
ENTER
STRING ✓ Happy Frog exclusive features (IF/ELSE, WHILE, LOG)
ENTER
STRING ✓ Human-like behavior (RANDOM_DELAY)
ENTER
STRING ✓ Safety features (SAFE_MODE, VALIDATE)
ENTER
STRING ✓ Educational logging and documentation
ENTER
ENTER
STRING Thank you for exploring Happy Frog!
ENTER
STRING Remember: Knowledge is power, use it responsibly! 🐸
ENTER

REM Disable safe mode
SAFE_MODE OFF

# ========================================
# END OF SHOWCASE
# ========================================

REM This script demonstrates the full scope of Happy Frog capabilities
REM From basic Ducky Script compatibility to advanced exclusive features
REM Educational purpose: Learn HID emulation and automation techniques 