Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro for clipboard number formatting
#2
Try this:
Macro Macro8
Code:
Copy      Help
out
str s
s.getclip
int i
str result
if (s[0]='0' || s[0]='1')
,for i 1 len(s)
,,_s.format("%c" s[i])
,,result += _s
else
,result = s
result.setclip
out "%s" result
Code:
Copy      Help
 


Messages In This Thread
RE: Macro for clipboard number formatting - by Start_Learning - 02-14-2022, 06:26 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)