Edit: Solved, I was just a bit blind (apart from the necessary tip by Nic that the url part should be encoded)

I want to call my .exe with two arguments:
01. The full path to an executable (a browser)
02. GPS coordinates like: 56°33'29,0N 38°8'49,3E
These coordinates depend on the used locale so the comma will be replaced with a dot (otherwise google won't find them on a map).
Code: Select all
Define.s arg1, arg2, url
arg1 = ProgramParameter(0)
arg2 = ReplaceString(ProgramParameter(1), ",", ".")
url = "https://www.google.com/maps/place/" + arg2
RunProgram(arg1, url, GetTemporaryDirectory())
Code: Select all
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" 56°33'29,0"N 38°8'49,3"E
Note: Yes, in general I find it strange that the coordinates are accepted as just a single argument as well

Obviously it doesn't like the mix of a space, single and double quotation marks?
So, how to accomplish it that RunProgram calls the browser with:
Code: Select all
https://www.google.com/maps/place/56°33'29.0"N 38°8'49.3"E