Sublime Forum

Open a new instance of the app

#1

(This question is about ST on Windows.)

Is it possible to open a file in a new instance of Sublime Text using AutoHotkey? It is assumed that the first instance is already opened.

So that, when you open Task Manager, you should see:

sublime_text.exe
sublime_text.exe

I have tried to find the corresponding command line flag, something like -new-instance, but haven’t found. May be someone knows another approach?

-n which opens a new window doesn’t work for this case. Process IDs must be different.

0 Likes

#2

undocumented --multiinstance

0 Likes

#3

@jfcherng This is exactly what I looked for, thanks.

Another option I have discovered is to simply create a copy of sublime_text.exe. Found here: https://superuser.com/q/963183

0 Likes