Title
Reveal clip in Finder script broken.
What do you expect to happen when you run the script/macro?
Reveal audio clip or video file in finder
Are you seeing an error?
<< Command: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]
02.04.2025 16:28:49.87 [Backend]: [KeyboardInterfaceController] #Key: command+shift+2 (19) -> Reveal Show Clip in Finder KASPAR PT [clv6yi2d10001iv10fibhoaha]
02.04.2025 16:28:49.87 [Backend]: >> Command: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]
02.04.2025 16:28:49.88 [Backend]: JavaScript error with InnerException: null
!! Command Error: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]:
TypeError: Cannot read property 'path' of undefined
(Reveal Show Clip in Finder KASPAR PT line 2)
02.04.2025 16:28:49.88 [Backend]: << Command: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]
02.04.2025 16:28:51.81 [EditorWindow:Renderer]: Active Focus Container: commandsPage/folders Line 33963 file:///Applications/SoundFlow.app/Contents/Helpers/SoundFlow.app/Contents/Resources/app.asar/dist/editor.js
What happens when you run this script?
error message
How were you running this script?
I used a keyboard shortcut within the target app
How important is this issue to you?
4
Details
{ "inputExpected": "Reveal audio clip or video file in finder", "inputIsError": true, "inputError": "<< Command: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]\n\n02.04.2025 16:28:49.87 [Backend]: [KeyboardInterfaceController] #Key: command+shift+2 (19) -> Reveal Show Clip in Finder KASPAR PT [clv6yi2d10001iv10fibhoaha]\n\n02.04.2025 16:28:49.87 [Backend]: >> Command: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]\n\n02.04.2025 16:28:49.88 [Backend]: JavaScript error with InnerException: null\n!! Command Error: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]:\nTypeError: Cannot read property 'path' of undefined\n(Reveal Show Clip in Finder KASPAR PT line 2) \n\n\n02.04.2025 16:28:49.88 [Backend]: << Command: Reveal Show Clip in Finder KASPAR PT [user:ckz70n60t00014j10r2sz2902:clv6yhwtq0000iv10szeb1unc]\n\n02.04.2025 16:28:51.81 [EditorWindow:Renderer]: Active Focus Container: commandsPage/folders Line 33963 file:///Applications/SoundFlow.app/Contents/Helpers/SoundFlow.app/Contents/Resources/app.asar/dist/editor.js\n", "inputWhatHappens": "error message", "inputHowRun": { "key": "-Mpfwh4RkPLb2LPwjePT", "title": "I used a keyboard shortcut within the target app" }, "inputImportance": 4, "inputTitle": "Reveal clip in Finder script broken." }
Source
var path = sf.app.proTools.getFileLocation({
fileFilters: ['SelectedClipsTimeline'],
}).fileLocations[0].path;
if (!sf.file.exists({ path: path, }).exists)
throw `Couldn't find file`;
sf.system.exec({
commandLine: `open -R "${path}"`,
});
Links
User UID: VsW63KQlOvQ4pS3VRklEUcKKQz42
Feedback Key: sffeedback:VsW63KQlOvQ4pS3VRklEUcKKQz42:-OMr6zI5qkS4a0f2zVkX
Feedback ZIP: 0zAogwD0j2yAvw4Fk118zrgyioY2ZeMS09nGbPSBGt5bF4ZgmwvKyQ2twIOHC1Per3Ut+1d20I9h8EDyu3OgaN4JUap/XsaeEofuvrD+m8Wph/Xmdi4LQnF75rwlAjE8717lY+P7QHNfUhQ6cvfwpS2cX4MPo4lXs9nQFidL4/FC69gWuvm5MEho0m82v3y7vTQeiVVw+aGg2GAeRbxrgfhbs3fKbmMr5QxJB4YnM27KIDZlxLE7O0MhiYGxxQb2r0joq7MpDtyd8Kz1eOZuL79WNmAw0stlEBr/gomAovHcvTGE45+SxG2Ry1avX8UR197NKY6XrgbC7mXMgl/Ra/0DVSt/TcEPZh9nZhIFoKE=
- Kitch Membery @Kitch2025-04-02 21:52:42.146Z
Hi @Kaspar,
Thanks for reporting this.
So I can work out if this is a regression or not... Was this script previously working? Or is this a new script you've created?
Thanks in advance. :-)
- KKaspar @Kaspar
Hi Kitch,
Was working before - and is working again now! Must have been an error on my system. Thanks very much
Kaspar