Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NotePad name count
#2
When you press Enter in notepad, takes number from above line, increments and adds in current line.
Macro
Trigger Y /NOTEPAD     Help - how to add the trigger to the macro
Code:
Copy      Help
spe 1
key UHSE
str s.getsel s2
int i
if(s.len and findrx(s "\d+$" 0 0 s2)>=0) i=val(s2)
s=i+1
key DE (s) Y


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)