Thanks for improving photoshop-scripting-python.
- New sample scripts under
sample_scripts/windows/orsample_scripts/mac_scripting/ - Production recipes under
recipes/ - Toolkit features under
tools/photoshop_toolkit/ - Docs fixes and clearer onboarding
- Bug reports with Photoshop version + OS + backend (
comtypes/win32com/ appscript)
git clone https://github.com/lohriialo/photoshop-scripting-python.git
cd photoshop-scripting-python
pip install -e ".[dev]"
# platform extras as needed:
pip install -e ".[windows]" # or ".[macos]" / ".[gui]"- No machine-specific paths — use
photoshop_scripting.paths.sample_path/ensure_sampleorpathlibrelative to the file. - Prefer named constants from
photoshop_scripting.constantsover magic integers. - Use
get_app()instead of bareGetActiveObjectso failures are understandable. - Do not commit large binary assets unless a sample truly needs them; prefer documenting downloads.
- Keep samples focused and commented; recipes should expose
--helpviaargparse. - Project code is MIT; do not add Adobe-owned binaries you are not allowed to redistribute.
# my_sample.py
__author__ = "Your Name"
__version__ = "1.0"
"""
Short description.
Requirements: Photoshop running on Windows; pip install -e ".[windows]"
"""- Fork and create a branch.
- Make a focused change.
- Open a PR with: what, why, Photoshop version tested (if applicable).
- Ensure
python -m compileall photoshop_scripting tools recipessucceeds.
CI runs syntax checks and path lint (no C:\Git\... hardcodes). Full COM tests are optional and skip without Photoshop.
Be respectful. Assume good intent. No harassment or spam.