Home Download Buy Blog Forum Support

Maximize/minimize window via api

Maximize/minimize window via api

Postby timotheecour on Fri Feb 28, 2014 1:19 am

Reposting from http://sublimetext.userecho.com/topic/412663-/

The api is missing an important feature: ability to maximize/minimize a window, as well as querying for the minimized/maximized state of a window.

Use case:
1) restore maximize/minimize state of each window upon restarting sublimetext (currently when sublimetext restarts, all windows are maximized regardless of their state when sublimetext was exited).
2) I have a tool that opens a file in sublimetext by first searching whether the file was in an existing tab in an existing window; if not it'll open a new tab in current window otherwise it'll make that tab in foreground. Turns out this doesn't work if the window that contains the file is minimized, and we don't even have a way to tell whether that window was minimized or not.
Posts: 3
Joined: Wed Jun 26, 2013 3:24 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 17 guests