Hi all,
I am trying to create a report that opens a DIALOG .
The DIALOG should contains a "push button" that when pressed will open an HTTP link in the default browser.
If anyone has an example or an idea how to achieve that it would be greatly appreciated.
Thank You
Adar
Hello.
There is a way to do it.
1. Script. You can use method Context.execute(String). It executes external command. But as results of my experiments it works on server side. Client does not see browser. On local server is OK.
2. Macro. You can use method Context.executeFile(String FileName). But as results of my experiments command
Context.executeFile("cmd /c start http:\\\\www.google.com");
does not work. From windows/run this command works fine.
3. Macro&file. The only successful way in my case is to call external bat file from macro. You can generate file for example "Link.bat" with next content:
start http:\\www.google.com
...and then call it from you macro like this:
Context.executeFile("C:\\Test\\Link.bat");
The problem of this way is that (as I know) script cannot start macro. So you have to create all GUI in macro and then call script.
Hope, this helps.
----
BR, Ilya