Launch the default browser


#1

Is there a way to target the default browser on PC instead of a specific installed browser using PacDisplay’s Application launcher? I want to open up web pages with whatever the assigned default browser is instead of trying to target the exact working directory of an installed browser. This would help make my PacDisplay project more universal.

app_launch


#2

Is it possible for you to use the URL control in Pac Display instead of launching the ap?
It will let you put in the default page to use.


#3

You can also create a batch file (mybrowser.bat) to launch the default browser with a default page.
Here is what the contents of the file might look like:
start www.myurl.com

Then in pac display instead of using an exe file to launch the ap you can launch your mybrower.bat instead.


#4

url window doesn’t work. It shows up blank. The batch file might work. I’m just thinking there has to be some shortcut or target in Windows that opens the default browser. My search thus far has been fruitless.


#5

Put in the Command Line field:
cmd /c start https://google.com


#6

Am I missing something? That still looks for a program to start.

2018-06-21_1018


#7

Yeah, you’re missing a “d”


#8

Ha. Nice catch. Fingers are quicker than the keyboard…


#9

OK gurus. Is there something with the characters in this link that cause a fail?
http://192.168.5.81/cgi-bin/cgi?PreviousPage=session&Id=33&start1-N
this works; http://192.168.5.81, but requires a login every time.

If I put the former link directly into the browser it comes up with no problems. If use it in the PacDisplay the link gets truncated to http://192.168.5.81/cgi-bin/cgi?PreviousPage=session in the browser.

Edit: I figured out I need to add a “^” before the “&” symbol. So the link looks like:
http://192.168.5.81/cgi-bin/cgi?PreviousPage=session^&Id=33^&start1-N


Adding button to re-open current display project?