I’m trying to open/close database selectively by scripting. My idea is close some not frequently used databases with one script and then be able to open them when needed.
The script to open the dabases is working as expected:
tell application id "DNtp" open database "~/Databases/blah1.dtBase2" open database "~/Databases/blah2.dtBase2" end tell
However the script to close them does nothing:
tell application id "DNtp" close "~/Databases/blah1.dtBase2" close "~/Databases/blah2.dtBase2" end tell
Doesn’t matter what I try to “close” (file name with path, without path, database name…), the script runs and DT3 does nothing. What I’m doing wrong? Thanks.