hello,
I created a macro to append highlighted text (in any app) into a specific Scrivener file, and as a preliminary step, I must open that file in the background
I understand how to open an app in the background with apple script:
tell application “Scrivener” to run
which works fine.
How would I modify the script to open a specific Scrivener file in the background.****?
thanks very much for your time and help
set docAlias to alias ((path to documents folder as text) & "Scrivener Documents:Test Document ⇢ S3.scriv:")
tell application "Scrivener"
if not running then
run
delay 0.25
end if
open docAlias
end tell