Curious if Fastkeys can do this...

Share your favorite FastKeys commands
User avatar
Marko
Posts: 1866
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Mar 8th, ’25, 11:22

"Tree" in the list resulted in endless loop. Try this:

Code: Select all

InputBox, Word,, Word,,, 130
InputBox, ListE,, Comma delimited list,,, 130

List:=[]
loop, parse, ListE, `,
	List[A_Index]:=A_LoopField
send, ^c
sleep 100
text:=clipboard
stringreplace, text, text, `r,, all
stringreplace, text, text, %word%, ♥, all
while InStr(text, "♥")
{
	Random, selected, 1, List.maxindex()
	stringreplace, text, text, ♥, % List[selected]
}
sendinput % text
return
User avatar
travibe
Posts: 18
Joined: Nov 2nd, ’20, 23:29

Post by travibe » Mar 8th, ’25, 12:20

is that heart symbol supposed to be in there or did some text get mutated?
User avatar
travibe
Posts: 18
Joined: Nov 2nd, ’20, 23:29

Post by travibe » Mar 8th, ’25, 23:38

Ok, i have the clipboard rewriting a bunch of text which is amazing progress from nothing happeneing before. Only issue i'm having is it gets aboout 2 paragraphs written then the text starts getting all jumbled up and my computer starts acting strange (I believe the clipbaord is typing too fast and the letters are then being turned into commnads outside of the text editor?) What values do you suggest for the clipboard settings in Fastkeys? I currently have it set at

Image
Post Reply