Clipboard problem in string with "%" character

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
cadtec
Newbie
Posts: 1
Joined: Tue Aug 04, 2020 9:01 am
Location: Switzerland
Contact:

Clipboard problem in string with "%" character

Post by cadtec » Tue Aug 04, 2020 9:13 am

Hello

If the string "%s\n cannot be &edited." is read into a variable with GetClipBoard, the string "%s" is removed.

Can anyone confirm this and what is the solution?

Best regards,
André

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1415
Joined: Sun Nov 03, 2002 3:19 am

Re: Clipboard problem in string with "%" character

Post by Dorian (MJT support) » Tue Aug 04, 2020 10:14 am

I can't seem to replicate that, whether I use Macro Scheduler to place "%s\n cannot be &edited." onto the clipboard or whether I do it manually. The MessageModal always seems to be %s\n cannot be &edited.

Code: Select all

Putclipboard>%s\n cannot be &edited.
GetClipBoard>TheClip
messagemodal>%TheClip%

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts