You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
API functions should accessible in javascript through the "phpdesktop" object, e.g. phpdesktop.SetFullscreen(). Some functions have already been exposed, see the JavascriptApi wiki page.
LaunchProcess() [ShellExecute in Windows API] - equivalent of php system/exec functions. But this one would be exposed to javascript. Advantage of this is that it is parented to root phpdesktop-chrome.exe process, so its execution continues for app's lifetime. Issue #15 provides a link to a forum topic that describes a problem with running php job in background when page is refreshed. ShellExecute would resolve this problem. Issue #163 describes implementation of LaunchProcess/ShellExecute in more details.
SetFullscreen() - see Issue #38 "Javascript API to set fullscreen".
Exposing the windows API functions to PHP would be in a form of a PHP example,
that shows how to use the w32api experimental extension
(http://php.net/manual/en/book.w32api.php) or something similar.
Regarding functions to show a dialog to open/save a file, or browser for folder, see what options to these functions we could expose:
API functions should accessible in javascript through the "phpdesktop" object, e.g. phpdesktop.SetFullscreen(). Some functions have already been exposed, see the JavascriptApi wiki page.
LaunchProcess() [ShellExecute in Windows API] - equivalent of php system/exec functions. But this one would be exposed to javascript. Advantage of this is that it is parented to root phpdesktop-chrome.exe process, so its execution continues for app's lifetime. Issue #15 provides a link to a forum topic that describes a problem with running php job in background when page is refreshed. ShellExecute would resolve this problem. Issue #163 describes implementation of LaunchProcess/ShellExecute in more details.
Open/Save file dialogs:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms646960(v=vs.85).aspx
CloseWindow()
ExitApplication()
The window functions below will be required for custom window themes using HTML5 (Issue #26):
ShowWindow()
HideWindow()
MinimizeWindow()
MaximizeWindow()
RestoreWindow()
MoveWindow()
ResizeWindow()
SetFullscreen() - see Issue #38 "Javascript API to set fullscreen".
Exposing the windows API functions to PHP would be in a form of a PHP example,
that shows how to use the w32api experimental extension
(http://php.net/manual/en/book.w32api.php) or something similar.
Regarding functions to show a dialog to open/save a file, or browser for folder, see what options to these functions we could expose:
Original issue reported on code.google.com by
[email protected]
on 26 May 2013 at 7:34The text was updated successfully, but these errors were encountered: