Scripting the "Open File by Name" window

43 views
Skip to first unread message

Riccardo Perotti

unread,
Jul 27, 2024, 1:26:16 PM7/27/24
to BBEdit Talk
Greetings.

Eons ago I had an Applescript that opened the "Open File by Name" window and inserted a path (converted from a Perl module name). The script in question (which I've lost) stopped working at some point and when I wrote to BBedit support I was told that window was no longer scriptable due to some OS issue.

Has this issue been resolved? Is this window scriptable again?

If so, can somebody drop a little snippet of how the described action would be done? 


Thank you!!


Riccardo Perotti

unread,
Jul 27, 2024, 1:41:30 PM7/27/24
to BBEdit Talk
nvm, got it:

tell application "BBEdit"

open Open File by Name window

set the search string of the Open File by Name window to thePath

end tell


Reply all
Reply to author
Forward
0 new messages