I am hoping by (re)posting this here it might reach a broader pool of potential aid. Please excuse my simply posting a link rather than reposting the content...
http://www.autohotkey.com/board/topic/9 ... functions/
Some untraceable (math based?) issue with cipher functions
- dmg
- Posts: 287
- Joined: 02 Oct 2013, 01:43
- Location: "Twelve days north of Hopeless and a few degrees south of Freezing to Death"
- Contact:
Some untraceable (math based?) issue with cipher functions
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact
Re: Some untraceable (math based?) issue with cipher functio
Can you do a double pass and use a custom markup language or html tag ?
1 use your current function with a markup language "this is a test</p>with a new line"
2 add a transform step "this is a test`nwith a new line"
also for special char you can use http://www.w3schools.com/tags/ref_entities.asp or :just a thought...
1 use your current function with a markup language "this is a test</p>with a new line"
2 add a transform step "this is a test`nwith a new line"
also for special char you can use http://www.w3schools.com/tags/ref_entities.asp or :
Code: Select all
html =
(
'hello "test"' - >
-----> blablabla <-----
)
StringReplace, html, html, `n, </p>, All ;`
document := ComObjCreate("HTMLFile")
document.write(html)
MsgBox % document.body.outerText
- dmg
- Posts: 287
- Joined: 02 Oct 2013, 01:43
- Location: "Twelve days north of Hopeless and a few degrees south of Freezing to Death"
- Contact:
Re: Some untraceable (math based?) issue with cipher functio
Thanks for responding Zelio. I am afraid I don't quite understand your suggestion. Are you suggesting an entirely different method to modify characters, or something else... ?
"My dear Mr Gyrth, I am never more serious than when I am joking."
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact
~Albert Campion
------------------------------------------------------------------------
Website | Demo scripts | Blog | External contact
Re: Some untraceable (math based?) issue with cipher functio
I suggested to add a step to transform unprintable character to something readable like a tag. If you can't use `n or CRLF (0x0A 0x0D) then transform them to a </p>. it is like a double step or a preprocessing.
Or you rewrite all and you manage all your string as a binary value and you add value 13 and 10 to specific address new line bytes...
Or you rewrite all and you manage all your string as a binary value and you add value 13 and 10 to specific address new line bytes...