In a modal dialog I have a click-event which should call the browser:
(command-s "browser" "c:\\test\\myfile.html")
The code for itself does what it should, but invoked from the dialogue nothing happens: no error, no result, no message,..
What's wrong?
Thanks
Peter
Commands cannot run while a modal dialog is active. You would need to first close the dialog. Alternatively, find a way to open the browser directly without using a command.
Quote from: owenwengerd on July 17, 2018, 05:55:56 AM
Commands cannot run while a modal dialog is active. You would need to first close the dialog. ...
:-[ :-[ oops - used to many modeless dialogues in the last time. Thank you.
Hi, Peter, I prefer to use either wscript.shell or (startapp "C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe" "D:\\Projekte\\SBO\\Bereitschaft\\PDF\\index.html"). Fred
But for "startapp" I need a defined / known browser-path and name. That's a problem for common use.
Maybe this?:
https://www.theswamp.org/index.php?topic=44768.msg499952#msg499952
Thanks, roy_043