Page 1 of 1

Gps column showing Gmaps

Posted: 15 Jun 2025 02:47
by Native2904
Hi,

i tried to open the GPS Coordinates from a (example) Picture via left-click on a defined column..
XYplorer_9VKjFUQM7L.png
XYplorer_9VKjFUQM7L.png (84.04 KiB) Viewed 3579 times
i followed the how-to from here
XYplorer_ibZfZn0Trl.png
XYplorer_ibZfZn0Trl.png (22.83 KiB) Viewed 3579 times
But it wouldn't open the Browser with Gmaps...
Meaning: If left-clicked, open the cell content with Google Maps, otherwise (usually when the list is loaded) fill the cell with GPS data extracted from the Exif data of each file.
Do i something wrong?

Thx in advance!

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 14:22
by Native2904
It seems to be a problem with open the Browser from XYplorer (portable), because I try this script and there too doesn't do anything..

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 15:34
by RalphM
Well, I use this one and it works with Firefox as default browser:

Code: Select all

|"Open Exif Location in Google Maps" jpg;tiff>  open "https://www.google.com/maps/place/" . get("exif", "gps");
and you probably need to make sure that the files you test this with actually have location info stored in their exif data.

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 17:48
by admin
Works fine here (with Edge).

Run this through the XY address bar:

Code: Select all

open "https://www.google.com/";
Again nothing?

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 19:35
by Native2904
2 admin

there do nothing :?

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 20:32
by admin
attach images here:

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 20:44
by highend
And something like this (directly executed) doesn't work as well?

Code: Select all

openwith "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", , "https://www.google.com/";
Can't see your screenshots, imgur doesn't like vpn connections so replace msedge with the full path to your used browser .exe...

Re: Gps column showing Gmaps

Posted: 15 Jun 2025 23:34
by Native2904
2 highend

Sorry, I didn't know it with Imgur!

With the direct path, it works :info:

Re: Gps column showing Gmaps

Posted: 16 Jun 2025 03:12
by highend
Is your browser registered as the default one and does it include the https protocol?

Btw, your coordinates probably wouldn't work anyway, at least here on a german locale with "," instead of "." in the coordinates, google wouldn't find them.
So the original script should at least require a change like this:

Code: Select all

$gps = replace(<cc_cell>, ",", "."); open "https://www.google.com/maps/place/$gps";

Re: Gps column showing Gmaps

Posted: 16 Jun 2025 11:48
by Native2904
2 highend | @ all
First, thank you for your effort.

Really I like XYplorer more & more; on the first time it was for me a little bit like I stand in the jungle (probably because I use TCMD since 11 years), but after reading all the XY-Release pages it is clearer for me.

I looked up for the Standard apps configuration on Windows, but it is all correctly.
ApplicationFrameHost_MfnSJPJybA.png
ApplicationFrameHost_MfnSJPJybA.png (11 KiB) Viewed 3541 times
I corrected the settings in the script string. However, it doesn't work -> maybe there is still more another hack to check?!
XYplorer_3qmWHedyC9.gif
XYplorer_3qmWHedyC9.gif (1.19 MiB) Viewed 3541 times

Re: Gps column showing Gmaps

Posted: 16 Jun 2025 13:43
by highend
I corrected the settings in the script string. However, it doesn't work
No, this was just a general comment, no solution to the actual problem that open doesn't work on your system like it should.

I've written a small wrapper that should solve it:
Open GPS coordinates.zip
(21.25 KiB) Downloaded 60 times
Download the attachment, extract it, copy the .exe somewhere and remember it's path.

Use this cc script instead:

Code: Select all

if (<cc_trigger>==1) {
  $wrapper = "D:\Tools\XYplorer\@Tools\Open GPS coordinates.exe";
  $browser = "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe";
  run lax("$wrapper" "$browser" <cc_cell>);
} else {
  return get("exif", "gps", <cc_item>);
}
Adapt the path for the $wrapper variable and the $browser variable to your vivaldi.exe (full path ofc!).

Works fine here...

Re: Gps column showing Gmaps

Posted: 16 Jun 2025 14:25
by Native2904
Hi again,

i have done what you say and edited the path to my Vivaldi.exe and Open GPS coordinates.exe.

Code: Select all

if (<cc_trigger>==1) {
  $wrapper = "C:\Xyplorer\Tools\Open GPS coordinates\Open GPS coordinates.exe";
  $browser = "C:\Users\Home\AppData\Local\Vivaldi\Application\vivaldi.exe";
  run lax("$wrapper" "$browser" <cc_cell>);
} else {
  return get("exif", "gps", <cc_item>);
}
But Vivaldi seems not would give anything of these instructions.

Because of that, I put the Path from Edge in there, so I have what I searched for, and it works perfect -> without Vivaldi!

Re: Gps column showing Gmaps

Posted: 16 Jun 2025 14:39
by highend
Your Vivaldi is borked and that's probably the same reason why open doesn't work with it anymore.

I can use mine (7.4.3684.50) with the cc script and it opens the url with the coordinates flawlessly^^

Re: Gps column showing Gmaps

Posted: 16 Jun 2025 15:26
by Native2904
Damn, you are right again!
Download and installing Vivaldi new and the cc script runs easy going.
I updated my Vivaldi inside since the first day of it…therefore I have learned a new property from it.
Sometimes can't see the forest for the trees.