Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
multi triggers (window active AND keypress)
#3
That worked!!
Thanks!!

Final question

I am trying to make a 'search-replace-filter' that makes a string 'windows-folder-name-friendly'.
What I mean is, that the string can be used in a windows folder-name.
So I remove unwanted characters like " ^ " , " ' " , " ; " etc...
And only replace ":" with "-"

Is there a more effective way than I have shown beneath.

Macro Macro2
Code:
Copy      Help
str folder="test**:foldername"

folder.findreplace("*" "" 8)
folder.findreplace("^" "" 8)
folder.findreplace(":" "-" 8)
;etc...
out folder


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)