I already posted what the script does under 10.13.6 (which is the late version of High Sierra)
Don't click upon [Open this Scriplet in your Editor:]
open "SSD 1000:Users:**********:Desktop:cats:" using application file id "com.macpaw.site.Gemini2"
The script issue this instruction which urge the Finder to ask Gemini2 to open the passed folder and the result is what you may see at https://app.box.com/s/6mkaian80z14aby0e7p0c7z8v1uemcii
Passing one or several files is not the problem.
It’s that under 10.13.6 and older systems, a file reference sent to the app is not treated by the app.
The fact that it is not AppleScript aware is not the real problem.
Libre Office doesn’t have AppleScript support but:
# select one or several doc files an try to run.
# Under 10.13.6 the passed documents are correctly open
tell application "Finder"
set sel to (get selection)
if sel is not {} then open sel using application file id "org.libreoffice.script"
end tell
Here is what History reported:
Don't click [Open this Scriplet in your Editor:]
tell application "Finder"
get selection
--> {document file " jury.doc" of folder "Desktop" of folder "**********" of folder "Users" of startup disk, document file " sélection.doc" of folder "Desktop" of folder "**********" of folder "Users" of startup disk}
open {document file " jury.doc" of folder "Desktop" of folder "**********" of folder "Users" of startup disk, document file " sélection.doc" of folder "Desktop" of folder "**********" of folder "Users" of startup disk} using application file id "org.libreoffice.script"
end tell
Gimp doesn’t have AppleScript support and:
# select one or several picture files an try to run.
# Under 10.13.6 Gimp is activated but the passed documents aren't open
tell application "Finder"
set sel to (get selection)
if sel is not {} then open sel using application file id "org.gimp.gimp-2.10:"
end tell
Here is what History reported:
Don't click [Open this Scriplet in your Editor:]
tell application "Finder"
get selection
--> {document file "Screen-Shot-2019-12-19-at-12-56-19.png" of folder "Desktop" of folder "**********" of folder "Users" of startup disk, document file "Screen-Shot-2019-12-17-at-07-35-40.png" of folder "Desktop" of folder "**********" of folder "Users" of startup disk}
open {document file "Screen-Shot-2019-12-19-at-12-56-19.png" of folder "Desktop" of folder "**********" of folder "Users" of startup disk, document file "Screen-Shot-2019-12-17-at-07-35-40.png" of folder "Desktop" of folder "**********" of folder "Users" of startup disk} using application file id "org.gimp.gimp-2.10:"
end tell
As you may see both did exactly the same job but one really treated the files, the other didn’t.
What you get under 10.14 tell us that something changed and it’s not in the applications themselves.
I tested with the very late Gemini2 loaded only for these tests (it will go to the trash when this exchange will be closed).
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) dimanche 22 décembre 2019 18:40:04