Sublime Forum

Dev Build 3063

#21

Please…

For the next build, is there any possibility of having the new Windows subl.exe tool linked with Microsoft’s available wildcard/globbing libraries?

See: msdn.microsoft.com/en-us/library/8bch7bkk.aspx

Long ago I created a subl,bat batch file to handle wildcards as well as to simplify launching ST from a command prompt. Now that we have the new subl.exe tool for Windows builds, it would be really nice to be able to finally ditch my batch file!

Update:

Thanks jps!

0 Likes

#22

So… it’s not dead? :mrgreen:
Nice to know, thanks!

What are the major (intended) advantages of subl.exe?

0 Likes

#23

Noticed this since 3063 (OSX Mavericks, Build 3064):

“remember_open_files”: true

  1. Having some files open, CMD-q (within Sublime), Re-Open Sublime: Last opened files load correctly.
  2. Having some files open, CMD-tab (choose Sublime), CMD-q (Tab-switcher still open), Re-Open Sublime: Last opened files do NOT load.

Notice: Have set the new option “remember_full_screen”: true (thanx for that!).

Regards

0 Likes

#24

How to use subl.exe --command?
Example with open_file command:

This not works:
subprocess.Popen(‘subl.exe’, ‘–command’, ‘open_file’, {“file”: “Packages\User\Project\Autohotkey.sublime-project”}])

This opens Autohotkey.sublime-project in new window (while I expect it to open in edit mode):
subprocess.Popen(‘subl.exe’, ‘–command’, ‘open_file’, “Packages\User\Project\Autohotkey.sublime-project”])

While this .py file open Autohotkey.sublime-project in edit mode
sublime.active_window().open_file(‘Packages\User\Project\Autohotkey.sublime-project’)

0 Likes

#25

subl.exe --command only runs ApplicationCommands. open_file is a WindowCommand.

Also, to my knowledge, it doesn’t accept parameters.

0 Likes

#26

There’re very few Application Commands, thus subl.exe is pretty useless

0 Likes