app化してFinderツールバーに登録したり、Keyboard Maestroで実行するといい感じです。
Last active
December 5, 2025 14:11
-
-
Save Yamonov/eae49222b641d4aa64f76c5e888689ae to your computer and use it in GitHub Desktop.
Finderで選択しているものをBridgeで開くAppleScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try | |
| set myBridge to application id "com.adobe.bridge" | |
| set myBridgeName to name of myBridge | |
| on error | |
| display alert "Adobe Bridgeが見つかりません。" | |
| return | |
| end try | |
| tell application "Finder" | |
| set mySel to selection | |
| if mySel is {} then | |
| try | |
| set myTarget to insertion location as alias | |
| on error | |
| set myTarget to path to desktop | |
| end try | |
| else | |
| set myItem to item 1 of mySel as alias | |
| try | |
| set myItem to original item of myItem as alias | |
| end try | |
| set myTarget to myItem | |
| end if | |
| end tell | |
| set myPathString to POSIX path of myTarget | |
| tell application id "com.adobe.bridge" to activate | |
| do shell script "open -a " & quoted form of myBridgeName & " " & quoted form of myPathString |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment