Show URL of .url file in the status bar for easy copying

Features wanted...
Post Reply
xy123
Posts: 215
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

Show URL of .url file in the status bar for easy copying

Post by xy123 »

When I select an .url file in WE, WE shows exact URL in the status bar.

I would like the same in XY so I can quickly copy that URL with double-click and...

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

Re: Show URL of .url file in the status bar for easy copying

Post by highend »

There are so many ways to just copy an url from such a file, via custom event actions, catalog, button, keyboard shortcut, etc.

Write a script that reads the url and assign it to one of the above
One of my scripts helped you out? Please donate via Paypal

xy123
Posts: 215
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

Re: Show URL of .url file in the status bar for easy copying

Post by xy123 »

highend wrote: 08 Mar 2022 15:05 Write a script that reads the url and assign it to one of the above
Sounds easy when you know scripting, but most XY users don't know scripting, right.
Maybe most don't know that they can copy strings in the status bar with double-click.

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

Re: Show URL of .url file in the status bar for easy copying

Post by highend »

Two commands are required. getkey and copytext. Isn't that easy enough?
One of my scripts helped you out? Please donate via Paypal

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

Re: Show URL of .url file in the status bar for easy copying

Post by RalphM »

Another option is to switch on the info panel and select preview, which shows you the url.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

xy123
Posts: 215
Joined: 17 Sep 2017 11:46
Location: Win10 64-bit, @100%

Re: Show URL of .url file in the status bar for easy copying

Post by xy123 »

highend wrote: 08 Mar 2022 15:33 Two commands are required. getkey and copytext. Isn't that easy enough?
Thank you very much. Here is the code for anyone else interested:

Code: Select all

    $a = getkey("URL", "InternetShortcut", "<curitem>");
    copytext $a;
Just searched for "getkey" in the Help and it was pretty easy to figure out.

Horst
Posts: 1374
Joined: 24 Jan 2021 12:27
Location: Germany

Re: Show URL of .url file in the status bar for easy copying

Post by Horst »

Quick View also shows the URL and it can be simply copied from it.
Windows 11 Home, Version 25H2 (OS Build 26200.8457)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1412b (x64), Everything Toolbar 2.3.0, Listary Pro 6.3.6.99

Post Reply