Raw Mode in StringReplace

Get help with using AutoHotkey and its commands and hotkeys
Guill
Posts: 73
Joined: 09 Jun 2016, 22:00

Raw Mode in StringReplace

20 Nov 2017, 22:07

Hello,
I need to use StringReplace in in Raw mode in the following script:

I have lots of sustitutions I want to replace, and for which I create a hotkey in this way:

F11::
Send,
(
StringReplace, clipboard, clipboard, %clipboard%, all
)
Return
____________

And I want to use it in this way:
I copy in the clipboard what I want to replace (A) with the new text (B) in this form:

A, B

But because it includes hotkey symbols, and accents (´), AHK omits some symbols.

I would like for example, that

^#ç::; DEFAULT (A)

Be replaced by this

^#'::; ON (B)

But when using it in this way,

Code: [Select all] [Download] GeSHi © Codebox Plus

StringReplace, clipboard, clipboard, ^:: ; DEFAULT, ^#':: ; ON



The result is this:





Any idea?

Return to “Ask For Help”

Who is online

Users browsing this forum: divanebaba, helensmith, Joefango, john_c and 37 guests