Sample Header Ad - 728x90

Open file in Sublime Text tab via AppleScript

2 votes
1 answer
1135 views
Using the following AppleScript code, I can open a .txt file in a new window of Sublime Text: tell application "Sublime Text" open "Users:me:Desktop:foo.txt" end tell Is there a way to open this file NOT as its own new window, but rather as a new tab of my existing window of Sublime Text?
Asked by puterguy01 (107 rep)
Jun 27, 2018, 10:12 PM
Last activity: Jun 27, 2018, 11:37 PM