This script enhances Windows Spotlight functionality by adding a context menu to manage desktop wallpapers and related content. It was developed in response to Microsoft's changes to the Windows Spotlight context menu, where traditional options like "Switch to next picture," "I like this picture," and "Not a fan of this picture" were removed in favor of a modern menu interface.
This NS script generates commands based on the information provided by the modern context menu. Future updates from Microsoft to Windows Spotlight might affect the script's functionality. Users should be aware that changes in Windows Spotlight's core functionality could impact the script's performance.
- Context menu integration for Windows Spotlight
- Wallpaper management capabilities
- Related content display
- Developer tools and settings
- Current wallpaper information display with photographer credits
- Quick navigation through Spotlight wallpaper collection (4 images per session)
- Direct access to wallpaper information and related web content
- Wallpaper saving functionality
- Current wallpaper information with photographer credits (shown as tooltip)
- "Learn more" link to detailed web content about the image
- Next wallpaper option (cycles through four available images)
- Individual wallpaper submenus (one for each available image)
Each wallpaper has a dedicated submenu containing:
- Landscape information
- Copyright details (displayed as tooltip)
- Description (available offline, no internet connection required)
- View/Set wallpaper options
- Related links (if enabled by feature flags)
- Save wallpaper to custom location
- Change icon
- Can be set with "invisible" icon
- "Cancel" restores default icon
- Rename functionality
- Supports empty names
- "Cancel" restores default name
- Delete option
- Protected by Shift-key requirement
- Automatically creates .reg file for restoring the icon
- Settings management
- Related content toggles
- Default values can be configured in code
- Separate toggles for content and hotspots
- Quick access to Windows settings:
- Background customization
- Color schemes
- Lock screen options
- Image path information
- Current image folder access
- Registry information
- Additional resources
- Links to Windows Spotlight documentation
The script processes multiple data arrays from Windows Registry:
- Image paths and metadata
- Text content (titles, descriptions, copyright)
- Related URLs and links
- System identifiers
Primary registry key: HKCU\Software\Microsoft\Windows\CurrentVersion\DesktopSpotlight\Creatives
Data extracted includes:
- Asset paths (both full and cropped versions)
- Icon hover text
- Icon labels
- Titles
- Descriptions
- Copyright information
- CTA (Call-to-Action) text and URLs
- System IDs
use_relatedContent
: Toggle for related content displayuse_relatedHotspots
: Toggle for related hotspots- Validation checks for content availability
- Flags can be preset in code for default behavior
- Shift + Click: Opens cropped wallpaper version instead of full version
- Shift: Enables developer menu with additional options
- Shift: Required for delete operation (safety measure)
Content availability depends on:
- System language settings
- Feature flag configuration
- Content presence in registry
- Internet connectivity (for web links only)
- Top section: Current wallpaper name and photographer credits
- Navigation: Simple "Next" option for cycling through images
- Information: Detailed metadata for each wallpaper
- Quick actions: Save, view, and set wallpaper options
- Safety: Protected delete operation with recovery option
- Windows Registry access
- PowerShell execution capabilities
- Windows Spotlight service
- System icon resources
- Windows modern context menu system