I’m trying to start the app in a “hidden” state. I’m using this to run some code when the app is installed or uninstalled. In version 1.6, I would do this by calling from PHP:
and having a HEScript procedure that looks like this:
SetUIProp(“fview”, “Top”, “-1000” );
SetUIProp(“fview”, “Left”, “-1000” );
SetUIProp(“spTrayIcon1”, “IconVisible”, “False”);
In the 2020 version, this no longer works. The app starts and the window remains visible. Is there any way I can run the app in “client” mode – either move the window outside the visible area, or hide it, or not using a window at all? I would include a separate exe file for this, built as a “client application”, but the generated exe files are huge and I would not want to double the size of my installer.
Maybe you still have the following options in your old project?
Here are the settings from 1.6 vs 2020.
It seems that PHP code no longer has access to the app window via HEScript. For instance, in the old version (v1.6) I was able to call from PHP:
and have in MainScript:
Since “Always center the window” is ticked, it makes sense why your code to move the window to a hidden position does not work. Try to untick that option and tick “allow end users to resize the window”.