Gps column showing Gmaps

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Gps column showing Gmaps

Post 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 3583 times
i followed the how-to from here
XYplorer_ibZfZn0Trl.png
XYplorer_ibZfZn0Trl.png (22.83 KiB) Viewed 3583 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!
Last edited by Native2904 on 15 Jun 2025 23:27, edited 1 time in total.
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Gps column showing Gmaps

Post 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..
Attachments
vivaldi_gmprMDEnWc.png
vivaldi_gmprMDEnWc.png (35.49 KiB) Viewed 3584 times
Last edited by Native2904 on 15 Jun 2025 23:22, edited 1 time in total.
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

RalphM
Posts: 2042
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Gps column showing Gmaps

Post 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.
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Gps column showing Gmaps

Post by admin »

Works fine here (with Edge).

Run this through the XY address bar:

Code: Select all

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

Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Gps column showing Gmaps

Post by Native2904 »

2 admin

there do nothing :?
Attachments
XYplorer_ZoAvU62scM.gif
XYplorer_ZoAvU62scM.gif (126.61 KiB) Viewed 3585 times
Last edited by Native2904 on 15 Jun 2025 23:20, edited 1 time in total.
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

admin
Site Admin
Posts: 64916
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Gps column showing Gmaps

Post by admin »

attach images here:
Attachments
XYForumAttachImage3.png
XYForumAttachImage3.png (46.59 KiB) Viewed 3602 times

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Gps column showing Gmaps

Post 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...
One of my scripts helped you out? Please donate via Paypal

Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Gps column showing Gmaps

Post by Native2904 »

2 highend

Sorry, I didn't know it with Imgur!

With the direct path, it works :info:
Last edited by Native2904 on 16 Jun 2025 11:50, edited 2 times in total.
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Gps column showing Gmaps

Post 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";
One of my scripts helped you out? Please donate via Paypal

Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Gps column showing Gmaps

Post 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 3545 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 3545 times
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Gps column showing Gmaps

Post 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 61 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...
One of my scripts helped you out? Please donate via Paypal

Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Gps column showing Gmaps

Post 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!
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Gps column showing Gmaps

Post 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^^
One of my scripts helped you out? Please donate via Paypal

Native2904
Posts: 43
Joined: 23 Apr 2025 18:48
Location: Aachen

Re: Gps column showing Gmaps

Post 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.
Lts. XY-Port. ƒ Cascadia Code @ Windows 11 Pro 24H2 ▣ 1920x1080 ⇵ 115%
Glückauf

Post Reply