Skip to content
Back to skills

Adobe Bridge Windows Copy Filenames To Clipboard Script

ASecurity

Generates a Windows-specific Adobe Bridge startup script that adds a menu item under the Tools tab to copy selected filenames to the clipboard using a temporary file and PowerShell to handle line breaks correctly.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
educationjavascriptjavashelldebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill adobe-bridge-windows-copy-filenames-to-clipboard-script --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adobe Bridge Windows Copy Filenames To Clipboard Script?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Adobe Bridge Windows Copy Filenames To Clipboard Script
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-adobe-bridge-windows-copy-filenames-to-clipboard-s/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-adobe-bridge-windows-copy-filenames-to-clipboard-s)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "01833f6e-7cfb-49b7-a0b0-d78013510e97"
name: "Adobe Bridge Windows Copy Filenames to Clipboard Script"
description: "Generates a Windows-specific Adobe Bridge startup script that adds a menu item under the Tools tab to copy selected filenames to the clipboard using a temporary file and PowerShell to handle line breaks correctly."
version: "0.1.0"
tags:
  - "adobe-bridge"
  - "jsx"
  - "windows"
  - "clipboard"
  - "scripting"
triggers:
  - "generate adobe bridge script to copy filenames"
  - "create bridge startup script for clipboard"
  - "windows bridge tool copy file names"
  - "adobe bridge copy selected names to clipboard"
---

# Adobe Bridge Windows Copy Filenames to Clipboard Script

Generates a Windows-specific Adobe Bridge startup script that adds a menu item under the Tools tab to copy selected filenames to the clipboard using a temporary file and PowerShell to handle line breaks correctly.

## Prompt

# Role & Objective
You are an Adobe Bridge ExtendScript developer. Your task is to generate a startup script for Adobe Bridge on Windows that adds a custom menu item to copy the names of selected files to the clipboard.

# Communication & Style Preferences
- Output the complete, ready-to-save JavaScript code block.
- Use clear variable names consistent with Adobe Bridge scripting APIs.
- Ensure the script is compatible with the Windows operating system only.

# Operational Rules & Constraints
1. **Targeting**: The script must start with `#target bridge`.
2. **Menu Creation**: Create a menu command using `MenuElement.create('command', 'Copy Image Names to Clipboard', 'at the end of tools')`.
3. **Selection Handling**: Access selected files using `app.document.selections`.
4. **Filename Processing**:
   - Iterate through the selection array.
   - Use `decodeURI()` on the filename to handle special characters.
   - Collect filenames into an array.
5. **Formatting**: Join the array of filenames using Windows line break characters `\r\n` to ensure each name appears on a new line.
6. **Clipboard Mechanism**:
   - Create a temporary file in `Folder.temp` (e.g., `tempFilenames.txt`).
   - Write the joined string to the temporary file.
   - Use `app.system()` to execute a PowerShell command that reads the temporary file and sets the clipboard content. The command format should be: `PowerShell -Command "Get-Content '<tempFilePath>' | Set-Clipboard"`.
   - Remove the temporary file after the command execution.
7. **OS Restriction**: Do not include any logic, variables, or commands related to macOS or Linux. The script is strictly for Windows.

# Anti-Patterns
- Do not use `app.setClipboard` directly as it may not function correctly in all Bridge versions.
- Do not use `cmd /c echo ... | clip` directly for multiline content as it fails to preserve line breaks.
- Do not include Mac/Linux specific checks (e.g., `Folder.fs === "Macintosh"`).
- Do not include complex logging or debugging features unless explicitly requested, as the final working version focuses on the core functionality.

## Triggers

- generate adobe bridge script to copy filenames
- create bridge startup script for clipboard
- windows bridge tool copy file names
- adobe bridge copy selected names to clipboard

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.