topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 6:38 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Texts in Quick Paste menu is not escaped for &  (Read 4894 times)

Jesper Hertel

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 103
    • View Profile
    • Donate to Member
Texts in Quick Paste menu is not escaped for &
« on: October 25, 2008, 12:24 PM »
I just noticed that the texts in the Quick Paste menu is not escaped for the ampersand (&). The problem is that this affects the keyboard shortcuts.

See this:

Screenshot - 2008-10-25 , 19_08_24.png

Note that item B is not underscored but that the "s" in "undefinedsUrl" is underscored. Actually, it should be "undefined&s", but the "&s" is given unescaped to Windows, which then interprets it as a shortcut.

I noticed it because I often press Ctrl+½ (my shortcut to Quick Paste) and then S1 to paste my e-mail address, but this time it doesn't work, because the S matches the item B.

The solution is simple: Escape all "&" characters before passing any "unknown" texts on to the Windows interface.

Jesper

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Texts in Quick Paste menu is not escaped for &
« Reply #1 on: October 25, 2008, 09:04 PM »
Thank you, i will fix.  :up:
(there will be a new CHS release in next week or so)

Jesper Hertel

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 103
    • View Profile
    • Donate to Member
Re: Texts in Quick Paste menu is not escaped for &
« Reply #2 on: October 26, 2008, 02:00 PM »
Thanks, mouser! :)

I don't know how I could live without your programs before I discovered them - especially Find and Run Robot, Clipboard Help+Spell, and ScreenshotCaptor! :-*