I'm using some Platypus apps to run HTML5 UI fragments on behalf of a background application.
When the UI code has done its job I'd like to be able to have it close the app, but this is akin to trying to close a browser from a web page and that doesn't work.
Although I can close the window showing the gui, the WebView app itself continues to run, leading to multiple orphaned apps doing nothing. At present I have to mandate manual closing of the WebView using the "Quit" button. This is a pain and somewhat absurd if I've just hit the GUI's "OK' or "Submit" or whatever is the last step in the UI.
I have no idea whether exposing such an interface is straightforward. One might provide the close ability together with other handy features (like setting the WebView's window position, or its size to match its content, hiding/showing the Quit button, &c &c).
Does this idea gain any traction?
and thanks for a very useful tool.
I'm using some Platypus apps to run HTML5 UI fragments on behalf of a background application.
When the UI code has done its job I'd like to be able to have it close the app, but this is akin to trying to close a browser from a web page and that doesn't work.
Although I can close the window showing the gui, the WebView app itself continues to run, leading to multiple orphaned apps doing nothing. At present I have to mandate manual closing of the WebView using the "Quit" button. This is a pain and somewhat absurd if I've just hit the GUI's "OK' or "Submit" or whatever is the last step in the UI.
I have no idea whether exposing such an interface is straightforward. One might provide the close ability together with other handy features (like setting the WebView's window position, or its size to match its content, hiding/showing the Quit button, &c &c).
Does this idea gain any traction?
and thanks for a very useful tool.