Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Key combination with Key(#X)?
#1
Is there a simple/easy way to do a key combination with the 'Key(#X) method?
Sometimes i need to use 'F2Y a few thousand times and waiting 10 times as long is a real drag.

When using this, I get about 10 reps per second
Code:
Copy      Help
rep(100) 'F2Y

but something like this gives 100+ reps per second.
Code:
Copy      Help
'Y(#100)

This will key F2 once, then key Y 100 times.
Code:
Copy      Help
'F2Y(#100)


I have tried a few other things with no real simple solution.
Creating a string, concatenating it with the number of reps, then executing, works but is less elegant than i would like.
Code:
Copy      Help
'YYYYYYYYYYYYYYYYY...


Thanks for the input.


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)