Jump to content

Recommended Posts

Posted

 

Hi All

Find and replace URLs would be very very very useful!!!

Thanks for paying attention, have a nice day Folks!!!
Paolo

Posted

Regular expression "(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-&?=%.]+" works fine:
image.png.3506649d5a04a5a83f9ac3648132de19.png

It's a shame that you can't save search parameters to your own presets.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted


Dear Genius user Pšenda, Thank you very much for the Lightning fast response

Please consider that you are talking with a marvellous dumb one. Maybe I wasn't specific enough with my request.


I need to find and replace, for example, button assigned hypertext links urls like

"mailto:info@thisplace.org?body=Salve, desidero maggiori informazioni riguardo This place."
or
"https://wa.me/+39123456789?text=Salve, desidero maggiori informazioni riguardo This place."

This because I have to replace the Italian phrases with the English translation.

If you think your method applies to my case, please give me if you can more detailed instructions, thank you Sir!


Have a nice day Pšenda.
Best regards, Paolo

Posted
1 hour ago, vivala said:

This because I have to replace the Italian phrases with the English translation.

In this case, isn't it enough to search for the phrase "Salve, desidero maggiori informazioni riguardo This place." and replace it with the appropriate english text? Whether it's part of a button or a URL link is probably not crucial in this case.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

 

Thank you Sir for your kind interest

It seems to me that Affinity Publisher can't search at all between links and relative URL'S

Best regards!

Posted
11 hours ago, vivala said:

It seems to me that Affinity Publisher can't search at all between links and relative URL'S

Sorry, but I'm not sure what you mean by that. Can you provide a sample .afpub file where you're having a problem, so we can see it ourselves?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
21 hours ago, vivala said:

As requested, I’ve attached the .afpub file. I hope I’ve been clearer this time.

Thanks.

You're right that Find and Replace only works for Text objects (Frame Text or Artistic Text). To change non-text Hyperlinks today you need to use the Hyperlinks panel, and make the changes manually one-by-one. A more-automated way of handling that would be useful.

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
15 hours ago, walt.farrell said:

non-text Hyperlinks

We finally know what the request is about - thanks for the explanation 🙂

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted

Search and replace non-text hyperlinks – thank you, Sir Farrell!

In the case of large projects, manually changing hyperlinks can become a real problem. Should I report this request elsewhere to encourage Affinity to implement this feature in future releases?

One more consideration: unlike Publisher, InDesign doesn't handle non-text hyperlinks in the Data Merge task, except with a plugin that runs only on Mac. Adding more flexibility to Affinity Publisher in handling non-text hyperlinks could become a strong advantage for Publisher in digital content creation.

For those interested, it's possible to perform search and replace for non-text hyperlinks by working on the exported PDF using the AutoBookmark™ Plug-in for Adobe® Acrobat®:
https://evermap.com/Tutorial_ABM_SearchNReplaceLinkAction.asp
You can set up a plain text document and perform all search-and-replace operations in a single step.
Obviously, the drawback of using a plugin instead of doing the operation directly within Publisher is that you have to "go back" to the .afpub file and then use the plugin again


Thanks for paying attention, have a nice day, best regards
Paolo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.