How marshyswamp/save-restore-photoshop-session works
Project Type: This is an Adobe Photoshop Extension/Script project consisting of two ExtendScript (.jsx) files that work together to provide session management functionality.
Main Components
a. User Interface Layer:
• Photoshop Application Interface
• Script Menu Integration Points
b. Script Components:
• Save Session Script Component
• Restore Session Script Component
• Session Log File Component
Flow and Relationships
Save Flow:
• User initiates "Save Session" script
• Script scans open documents
• Script creates log file with document paths
• Script closes documents
Restore Flow:
• User initiates "Restore Session" script
• Script reads log file
• Script reopens documents
• Script activates last active document
Use these visual elements:
Technical Details
• ExtendScript Runtime Environment
• File System Integration Points
• Document Management APIs
• Session State Management
[Photoshop Application]
• ↕
[Script Menu Interface]
• ↕
[Save Script] ←→ [Restore Script]
• ↕ ↕
• [Session Log File]
Key Considerations:
File system integration points
Additional Notes:
• Notes about the limitations (window sizes, pan, zoom not preserved)
• Sequential nature of the save/restore process