Thanks mishem,
It worked on most cases.
Problem is launching Chrome. It does not returns an App ID.
Is this possible ?
if you want to test, try the following:
Create a new pub, put a button.
On the button Properties -> actions, put this code:
- Code: Select all
RegistryRead "HKEY_CLASSES_ROOT" "Applications\chrome.exe\shell\open\command\" "[Chrome]"
StrReplace "[Chrome]" "[#34]" "" "[Chrome]" ""
StrReplace "[Chrome]" "%1" "" "[Chrome]" ""
Run "[#34][Chrome][#34]" "[#34]http://www.neosoftware.com[#34]" "RunOnce+LoadComplete" "" "[Id]"
. zmFunctions Plugin
zmSetWindowPos "[Id.WinHandle]" "100" "100" "600" "400" "Normal" ""
Run the program, and watch the debugger.
You can see the only Id value is Id.ExitCode = 0
Is this normal ? why ?
Thanks in advance,
David de Argentina